mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 05:35:28 -04:00
| .. | ||
| _static | ||
| getting-started | ||
| methods | ||
| conf.py | ||
| fix_github_links.py | ||
| generate_input_reference.py | ||
| index.md | ||
| Makefile | ||
| README.md | ||
| units.md | ||
| versions.md | ||
CP2K Documentation
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.xmlandreferences.htmlfiles:../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/htmldirectory.