This is the documentation and tutorials for the gkyl project
In order to build the docs locally, one needs sphinx and the immaterial theme.
We recommend creating a virtual environment1 and installing the dependencies through conda:
conda env create -f environment.yml
The environment is then activated with
conda activate gkyl-doc
However, one can also attempt to install the dependencies directly to current
conda
environment using:
conda install --file source/requirements.txt
With the dependencies installed, the documentation is simply built with make html
from the gkyl-doc
directory. The desired HTML file is than in the
build
directory.
Footnotes
-
Note that
conda
needs to be initialized before environments can be used. This is the last step of theconda
installation, but the current default behavior is not to perform the initialization. It can be done afterwards usingconda init [shell name]
, e.g.,conda init fish
with the fantastic fish shell. ↩