cp2k/docs
2024-01-01 21:47:48 +01:00
..
_static Docs: Remove XSLT-based manual 2023-08-02 17:18:01 +02:00
getting-started precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
methods Manual: Touch up page names and titles 2023-12-28 14:29:43 +01:00
conf.py update to 2024 2024-01-01 21:47:48 +01:00
fix_github_links.py Docs: Add Github links 2023-09-11 14:11:03 +02:00
generate_input_reference.py Manual: Add keyword mentions 2023-12-01 16:27:12 +01:00
index.md Manual: Add sub-directories to methods section 2023-12-10 17:01:50 +01:00
Makefile Docs: Add Github links 2023-09-11 14:11:03 +02:00
README.md precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
units.md precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
versions.md precommit: Add mdformat-myst and upgrade package 2023-11-14 12:47:36 +01:00

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:

  1. Install the required Python packaged:

    pip3 install sphinx myst-parser sphinx_rtd_theme lxml

  2. Build a CP2K binary and use it to generate the cp2k_input.xml and references.html files:

    ../exe/local/cp2k.psmp --xml

  3. Generate Markdown pages from the aforementioned files:

    ./generate_input_reference.py ./cp2k_input.xml ./references.html

  4. Run Sphinx:

    make html

  5. Browse the HTML output in the _build/html directory.