pip install -U Sphinx
pip install sphinxcontrib-inlinesyntaxhighlight sphinx-sitemap
python3 -c "import site; print(site.getsitepackages()[0]+'/sphinxcontrib/inlinesyntaxhighlight.py')" | xargs sed -I '' -e 's/, BaseTranslator//g' -e "s/self.highlightlang/'python'/g"
On root directory, use:
make htmlonly
to build the html websitemake html
to build the html website and the lunr index (search engine). Nodejs is requiredmake latex
to build the latex
In order to build the html website with the lunr index, you need the Node.js framework and npm
.
-
Node installation on Linux
sudo apt install nodejs sudo apt install npm
-
Node installation on MacOS
brew install node