mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
dbd3d02e63
`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>
18 lines
405 B
Makefile
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
|