Docs: Change docs README for new way of building docs #448
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#448
Loading…
Reference in a new issue
No description provided.
Delete branch "ilja/akkoma:improve_readme_from_docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As the title says.
Docs used to be a separate repo who cloned pleroma and pelroma-fe.
Now the docs are just the BE docs and completely part of the Akkoma repo.
I moved back to using venv because that's what I used and cleaner imo since it keeps everything nice in the repo.
(Iirc virtualenv stored things in the Home folder or smthng)
It's also much shorter now :)
Change docs README for new way of building docsto Docs: Change docs README for new way of building docsbe383c1ba5
to2044994de1
2044994de1
toe74e1efe1c
seems ok, might be worth noting that there is a makefile, so
make
will also "just work" once the deps are installed@ -30,2 +26,2 @@
```shell
[pipenv run] mkdocs serve
# To get out of the virtual environment, you do
deacivate
typo,
deactivate
Checking the Makefile brings up three questions for me;
I see the Makefile uses pipenv, so it won't work with the way I did it (as it won't find pipenv). Do you prefer I change the README back to using pipenv? Or is it enough to just point out the Makefile is there and people can figure it out themself by reading the file?
I see
make serve
uses python's http.server. I'm not sure when exactly you use this, but if it's just for when you're working on the docs,mkdocs serve
is probably better because it also rebuilds when you change things. I can change it too if you want? Ofc, maybe automatic rebuilding isn't something you always want, so idk.I also notice now that there's a Makefile in the root of the project referring to mkdocs. Is that something that's also used? https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/Makefile
ah yeah the one in the root isn't supposed to be there
in that case this should be fine
just the typo to fix then i guess
Ayt, typo is fixed and I also removed the Makefile from the root
ok im back doing stuff this is gud thank