Skip to content

ammarhakim/gkyl-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Note that conda needs to be initialized before environments can be used. This is the last step of the conda installation, but the current default behavior is not to perform the initialization. It can be done afterwards using conda init [shell name], e.g., conda init fish with the fantastic fish shell.