1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = "CP2K"
copyright = "2000-2025, CP2K Developers"
author = "CP2K Developers"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
"myst_parser",
"sphinx_rtd_theme",
"sphinx_reredirects",
"sphinx.ext.mathjax",
"sphinx.ext.intersphinx",
"sphinxcontrib.mermaid",
]
myst_enable_extensions = [
"attrs_inline",
"dollarmath",
"smartquotes",
"strikethrough",
]
myst_fence_as_directive = ["mermaid"]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "README.md"]
suppress_warnings = ["ref"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
html_favicon = "_static/favicon.png"
html_copy_source = False
add_module_names = False
# https://myst-parser.readthedocs.io/en/v0.16.1/syntax/optional.html#syntax-header-anchors
html_context = {
"display_github": True,
"github_user": "cp2k",
"github_repo": "cp2k",
"github_version": "master",
"conf_py_path": "/docs/",
}
# https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html
html_theme_options = {
"collapse_navigation": False,
}
redirects = {
"getting-started/CMake": "build-from-source.html",
"getting-started/spack": "build-with-spack.html",
}
# EOF
|