nimbus-eth2/docs/Makefile
Jacek Sieka dbd3d02e63
Migrate docs to mkdocs (#3900)
`mkdocs` works with markdown similar to `mdbook` but is generally more
pleasing to the eye and has several nice UX features.

This PR does the bulk of the transition - likely, a followup would be
needed to fully make use of the extra features and navigation.

Book pages have been kept url-compatible, meaning that for the most
part, old links should continue to work!

Co-authored-by: Etan Kissling <etan@status.im>
2022-07-22 21:47:24 +02:00

18 lines
405 B
Makefile

mkdocs: mkdocs/bin/mkdocs
mkdocs/bin/mkdocs:
test -d mkdocs || python -m venv mkdocs
. mkdocs/bin/activate; pip install -r requirements.txt
compile:
. mkdocs/bin/activate; pip-compile requirements.in
sync:
. mkdocs/bin/activate; pip-sync requirements.txt
serve: mkdocs
. mkdocs/bin/activate; cd the_nimbus_book; mkdocs serve
book: mkdocs
. mkdocs/bin/activate; cd the_nimbus_book; mkdocs build