Moving from sphinx to mkdocs

Cleaning up docs
Lighter side bar
Landing page refresh
Add JSON-LD and semantic tags
This commit is contained in:
Manuel Ebert 2019-07-07 19:21:59 -07:00
parent 3a72313d06
commit b7e077be68
52 changed files with 1579 additions and 5621 deletions

View file

@ -11,28 +11,11 @@ clean:
rm -f *.html
html:
curl https://raw.githubusercontent.com/mateuszkocz/3l/master/3L/3L.less > docs/_themes/jrnl/static/less/3L.less ;\
lessc --clean-css docs/_themes/jrnl/static/less/jrnl.less docs/_themes/jrnl/static/css/jrnl.css ;\
cd docs ;\
make html ;\
cd .. ;\
open docs/_build/html/index.html ;\
mkdocs serve
# Build GitHub Page from docs
docs:
git checkout gh-pages ; \
git checkout master docs ; \
git checkout master jrnl ; \
curl https://raw.githubusercontent.com/mateuszkocz/3l/master/3L/3L.less > docs/_themes/jrnl/static/less/3L.less ;\
lessc --clean-css docs/_themes/jrnl/static/less/jrnl.less docs/_themes/jrnl/static/css/jrnl.css ; \
cd docs ; \
make html ; \
cd .. ; \
cp -r docs/_build/html/* . ; \
git add -A ; \
git commit -m "Updated docs from master" ; \
git push -u origin gh-pages ; \
git checkout master
mkdocs gh-deploy
# Upload to pipy
dist: