Theme¶
The various sphinx projects on docs.postmarketos.org use the pmos theme from: https://gitlab.postmarketos.org/postmarketOS/docs.postmarketos.org/-/tree/main/theme
Custom logo¶
To set a custom logo, place the logo file in a _static directory next to
conf.py and index.md:
.
├── _static
│ └── logo.svg
├── conf.py
└── index.md
Then adjust conf.py as follows:
html_theme_options = {
"source_edit_link": "https://gitlab.postmarketos.org/postmarketOS/…/{filename}",
+ "logo": "_static/logo.svg",
}
+html_static_path = ["_static"]