-
Notifications
You must be signed in to change notification settings - Fork 4
/
custom_conf.py
76 lines (70 loc) · 2.32 KB
/
custom_conf.py
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
71
72
73
74
75
76
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
"""Custom Sphinx configuration for Charmed HPC documentation site."""
import datetime
project = "Charmed HPC"
author = "Charmed HPC Authors"
html_title = project + " documentation"
copyright = "%s CC-BY-SA, %s" % (datetime.date.today().year, author)
ogp_site_url = "https://canonical-starter-pack.readthedocs-hosted.com/"
ogp_site_name = project
ogp_image = "https://assets.ubuntu.com/v1/253da317-image-document-ubuntudocs.svg"
html_favicon = ".sphinx/_static/favicon.png"
html_context = {
# Product information
"product_page": "ubuntu.com/hpc",
"product_tag": "_static/tag.png",
# Chat and updates
"matrix": "https://matrix.to/#/#hpc:ubuntu.com",
# GitHub
"github_url": "https://github.com/charmed-hpc",
"github_repository": "docs",
"github_version": "main",
"github_folder": "/",
"github_issues": "enabled",
"github_discussions": "https://github.com/orgs/charmed-hpc/discussions",
"github_qa": "https://github.com/orgs/charmed-hpc/discussions/new?category=q-a",
# Footer configuration
"sequential_nav": "both",
"display_contributors": True,
"display_contributors_since": "",
}
slug = ""
redirects = {}
linkcheck_ignore = [
"http://127.0.0.1:8000",
"https://matrix.to/#/#hpc:ubuntu.com",
"https://charmhub.io/topics/canonical-observability-stack/tutorials/install-microk8s#heading--deploy-the-cos-lite-bundle-with-overlays",
]
custom_linkcheck_anchors_ignore_for_url = []
custom_myst_extensions = []
custom_extensions = [
"sphinx_remove_toctrees",
"sphinx_tabs.tabs",
"sphinx.ext.intersphinx",
"canonical.youtube-links",
"canonical.related-links",
"canonical.config-options",
"canonical.custom-rst-roles",
"canonical.terminal-output",
"canonical.filtered-toc",
"notfound.extension",
]
custom_required_modules = [
"sphinx-remove-toctrees",
]
custom_excludes = [
"CONTRIBUTING.md",
"README.md",
]
custom_html_css_files = []
custom_html_js_files = []
custom_tags = []
# custom_rst_epilog = ''
disable_feedback_button = False
# manpages_url = "https://manpages.ubuntu.com/manpages/noble/en/man{section}/{page}.{section}.html"
# Define a :center: role that can be used to center the content of table cells.
rst_prolog = """
.. role:: center
:class: align-center
"""