|
5 | 5 | # -- Path setup -------------------------------------------------------------- |
6 | 6 |
|
7 | 7 | from datetime import datetime |
8 | | - |
9 | 8 | from packaging.version import Version |
10 | 9 | from plone_sphinx_theme import __version__ |
11 | 10 |
|
| 11 | + |
12 | 12 | # If extensions (or modules to document with autodoc) are in another directory, |
13 | 13 | # add these directories to sys.path here. If the directory is relative to the |
14 | 14 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
24 | 24 | trademark_name = "codesyntax" |
25 | 25 | now = datetime.now() |
26 | 26 | year = str(now.year) |
27 | | -copyright = year |
| 27 | +copyright = year # noqa: A001 |
28 | 28 |
|
29 | 29 |
|
30 | 30 | # The version info for the project you're documenting, acts as replacement for |
|
69 | 69 | "sphinx_copybutton", |
70 | 70 | "sphinx_design", |
71 | 71 | "sphinx_examples", |
| 72 | + "sphinx_llms_txt", |
72 | 73 | "sphinx_reredirects", |
73 | 74 | "sphinx_sitemap", |
74 | 75 | "sphinx_tippy", |
|
100 | 101 | r"https://github.com/.*#.*", |
101 | 102 | # Ignore other specific anchors |
102 | 103 | ] |
103 | | -linkcheck_allowed_redirects = { # TODO: Confirm usage of linkcheck_allowed_redirects |
104 | | - # All HTTP redirections from the source URI to the canonical URI will be treated as "working". |
| 104 | +linkcheck_allowed_redirects = { |
| 105 | + # All HTTP redirections from the source URI to the canonical URI will be treated as "working". # noqa: E501 |
105 | 106 | } |
106 | 107 | linkcheck_anchors = True |
107 | 108 | linkcheck_timeout = 5 |
|
131 | 132 | html_theme = "plone_sphinx_theme" # This can be configured |
132 | 133 | html_logo = "_static/logo.svg" |
133 | 134 | html_favicon = "_static/favicon.svg" |
134 | | -# The default value includes icon-links, so override it with that one omitted, and add it to html_theme_options[footer_content_items]. |
| 135 | +# The default value includes icon-links, so override it with that one omitted, and add it to html_theme_options[footer_content_items]. # noqa: E501 |
135 | 136 | html_sidebars = { |
136 | 137 | "**": [ |
137 | 138 | "navbar-logo", |
|
141 | 142 | } |
142 | 143 | html_theme_options = { |
143 | 144 | "article_header_start": ["toggle-primary-sidebar"], |
144 | | - # "extra_footer": """<p>Example `extra_footer` content. License info. Trademark info and usage.</p> |
145 | | - # <p>Pull request previews by <a href="https://readthedocs.org/">Read the Docs</a>.</p>""", |
| 145 | + # "extra_footer": """<p>Example `extra_footer` content. License info. Trademark info and usage.</p> # noqa: E501 |
| 146 | + # <p>Pull request previews by <a href="https://readthedocs.org/">Read the Docs</a>.</p>""", # noqa: E501 |
146 | 147 | "footer_content_items": [ |
147 | 148 | "author", |
148 | 149 | "copyright", |
|
247 | 248 | myst_enable_extensions = [ |
248 | 249 | "attrs_block", # Support parsing of block attributes. |
249 | 250 | "attrs_inline", # Support parsing of inline attributes. |
250 | | - "colon_fence", # You can also use ::: delimiters to denote code fences, instead of ```. |
251 | | - "deflist", # Support definition lists. https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#definition-lists |
252 | | - "html_image", # For inline images. See https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#html-images |
| 251 | + "colon_fence", # You can also use ::: delimiters to denote code fences, instead of ```. # noqa: E501 |
| 252 | + "deflist", # Support definition lists. https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#definition-lists # noqa: E501 |
| 253 | + "html_image", # For inline images. See https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#html-images # noqa: E501 |
253 | 254 | "linkify", # Identify "bare" web URLs and add hyperlinks. |
254 | | - "strikethrough", # See https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#syntax-strikethrough |
255 | | - "substitution", # Use Jinja2 for substitutions. https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2 |
| 255 | + "strikethrough", # See https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#syntax-strikethrough # noqa: E501 |
| 256 | + "substitution", # Use Jinja2 for substitutions. https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2 # noqa: E501 |
256 | 257 | ] |
257 | 258 |
|
258 | 259 | myst_substitutions = {} |
|
0 commit comments