These are the source of the CP2K manual. They are published daily by this script.
To build a local version of the manual perform the following steps:
-
Install the required Python packaged:
pip3 install sphinx myst-parser sphinx_rtd_theme lxml
-
Build a CP2K binary and use it to generate the
cp2k_input.xml
andreferences.html
files:../exe/local/cp2k.psmp --xml
-
Generate Markdown pages from the aforementioned files:
./generate_input_reference.py ./cp2k_input.xml ./references.html
-
Run Sphinx:
make html
-
Browse the HTML output in the
_build/html
directory.