|
11 | 11 | # All configuration values have a default; values that are commented out |
12 | 12 | # serve to show the default. |
13 | 13 |
|
14 | | -# pylint: disable=C0103,W0622 |
| 14 | +# pylint: disable=C0103 |
15 | 15 |
|
16 | 16 | import sys |
17 | 17 | import os |
18 | 18 | import importlib |
| 19 | +from datetime import datetime |
19 | 20 |
|
20 | 21 | # If extensions (or modules to document with autodoc) are in another directory, |
21 | 22 | # add these directories to sys.path here. If the directory is relative to the |
|
54 | 55 |
|
55 | 56 | # The encoding of source files. |
56 | 57 | #source_encoding = 'utf-8-sig' |
57 | | -copyright = '© Copyright 1995-2024' |
58 | 58 | author = 'Texas Instruments Incorporated' |
| 59 | +project_copyright = f"1995-{datetime.now().year} {author}, CC-BY-SA-4.0" |
59 | 60 |
|
60 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation |
61 | 62 | # for a list of supported languages. |
62 | 63 | # |
63 | 64 | # This is also used if you do content translation via gettext catalogs. |
64 | 65 | # Usually you set "language" from the command line for these cases. |
65 | | -language = None |
| 66 | +language = 'en' |
66 | 67 |
|
67 | 68 | # There are two options for replacing |today|: either, you set today to some |
68 | 69 | # non-false value, then it is used: |
|
192 | 193 | # implements a search results scorer. If empty, the default will be used. |
193 | 194 | html_search_scorer = '' |
194 | 195 |
|
| 196 | +# Read the Docs specific parameters for the "Edit on GitHub" button |
| 197 | +html_context = { |
| 198 | + "display_github": True, |
| 199 | + "github_user": "texasinstruments", |
| 200 | + "github_repo": "processor-sdk-doc", |
| 201 | + "github_version": "master", |
| 202 | + "conf_py_path": "/source/", |
| 203 | +} |
| 204 | + |
195 | 205 | # -- Options for LaTeX output --------------------------------------------- |
196 | 206 |
|
197 | 207 | latex_elements = { |
|
0 commit comments