mr-theme 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. mr_theme-0.1.1/.gitignore +13 -0
  2. mr_theme-0.1.1/.vscode/settings.json +62 -0
  3. mr_theme-0.1.1/CHANGELOG.rst +41 -0
  4. mr_theme-0.1.1/LICENSE +21 -0
  5. mr_theme-0.1.1/PKG-INFO +86 -0
  6. mr_theme-0.1.1/README.rst +6 -0
  7. mr_theme-0.1.1/cspell.json +218 -0
  8. mr_theme-0.1.1/docs/Makefile +26 -0
  9. mr_theme-0.1.1/docs/make.bat +35 -0
  10. mr_theme-0.1.1/docs/source/abbreviations.rst +33 -0
  11. mr_theme-0.1.1/docs/source/change_log.rst +3 -0
  12. mr_theme-0.1.1/docs/source/conf.py +141 -0
  13. mr_theme-0.1.1/docs/source/developer_guide/index.rst +10 -0
  14. mr_theme-0.1.1/docs/source/developer_guide/new_release.rst +133 -0
  15. mr_theme-0.1.1/docs/source/examples/in-page-toc.rst +49 -0
  16. mr_theme-0.1.1/docs/source/examples/index.rst +33 -0
  17. mr_theme-0.1.1/docs/source/examples/kitchen-sink/admonitions.rst +165 -0
  18. mr_theme-0.1.1/docs/source/examples/kitchen-sink/api.rst +24 -0
  19. mr_theme-0.1.1/docs/source/examples/kitchen-sink/blocks.rst +266 -0
  20. mr_theme-0.1.1/docs/source/examples/kitchen-sink/generic.rst +271 -0
  21. mr_theme-0.1.1/docs/source/examples/kitchen-sink/images.rst +89 -0
  22. mr_theme-0.1.1/docs/source/examples/kitchen-sink/index.rst +30 -0
  23. mr_theme-0.1.1/docs/source/examples/kitchen-sink/lists.rst +268 -0
  24. mr_theme-0.1.1/docs/source/examples/kitchen-sink/really-long.rst +256 -0
  25. mr_theme-0.1.1/docs/source/examples/kitchen-sink/structure.rst +103 -0
  26. mr_theme-0.1.1/docs/source/examples/kitchen-sink/tables.rst +147 -0
  27. mr_theme-0.1.1/docs/source/examples/kitchen-sink/typography.rst +66 -0
  28. mr_theme-0.1.1/docs/source/examples/mermaid.rst +48 -0
  29. mr_theme-0.1.1/docs/source/examples/mult_headers.rst +62 -0
  30. mr_theme-0.1.1/docs/source/examples/regressions.rst +20 -0
  31. mr_theme-0.1.1/docs/source/examples/subpages/index.rst +11 -0
  32. mr_theme-0.1.1/docs/source/examples/subpages/subpage1.rst +9 -0
  33. mr_theme-0.1.1/docs/source/examples/subpages/subpage2.rst +9 -0
  34. mr_theme-0.1.1/docs/source/examples/subpages/subsubpages/index.rst +11 -0
  35. mr_theme-0.1.1/docs/source/examples/subpages/subsubpages/subsubpage1.rst +13 -0
  36. mr_theme-0.1.1/docs/source/examples/subpages/subsubpages/subsubpage2.rst +9 -0
  37. mr_theme-0.1.1/docs/source/examples/subpages/subsubpages/subsubpage3.rst +9 -0
  38. mr_theme-0.1.1/docs/source/examples/subpages/subsubpages/subsubsubpages/subsubsubpage1.rst +4 -0
  39. mr_theme-0.1.1/docs/source/glossary.rst +32 -0
  40. mr_theme-0.1.1/docs/source/index.rst +80 -0
  41. mr_theme-0.1.1/docs/source/installation.rst +16 -0
  42. mr_theme-0.1.1/docs/source/package_doc/mr_theme.basic_theme.rst +8 -0
  43. mr_theme-0.1.1/docs/source/package_doc/mr_theme.mpl_style.rst +8 -0
  44. mr_theme-0.1.1/docs/source/package_doc/mr_theme.rst +17 -0
  45. mr_theme-0.1.1/docs/source/read_me.rst +3 -0
  46. mr_theme-0.1.1/docs/source/references.rst +9 -0
  47. mr_theme-0.1.1/docs/source/user_guide.rst +13 -0
  48. mr_theme-0.1.1/docs/source/user_guide_text.rst +40 -0
  49. mr_theme-0.1.1/pyproject.toml +233 -0
  50. mr_theme-0.1.1/scripts/general_style.py +56 -0
  51. mr_theme-0.1.1/scripts/minimal_readme.py +25 -0
  52. mr_theme-0.1.1/setup.cfg +4 -0
  53. mr_theme-0.1.1/src/mr_theme/__init__.py +9 -0
  54. mr_theme-0.1.1/src/mr_theme/basic_theme/__init__.py +39 -0
  55. mr_theme-0.1.1/src/mr_theme/basic_theme/copyright_mr_theme.html +27 -0
  56. mr_theme-0.1.1/src/mr_theme/basic_theme/py.typed +0 -0
  57. mr_theme-0.1.1/src/mr_theme/basic_theme/theme-version-mr-theme.html +6 -0
  58. mr_theme-0.1.1/src/mr_theme/basic_theme/theme.toml +13 -0
  59. mr_theme-0.1.1/src/mr_theme/basic_theme/version.html +4 -0
  60. mr_theme-0.1.1/src/mr_theme/mpl_style/__init__.py +390 -0
  61. mr_theme-0.1.1/src/mr_theme/mpl_style/mr_general.mplstyle +799 -0
  62. mr_theme-0.1.1/src/mr_theme/py.typed +0 -0
  63. mr_theme-0.1.1/src/mr_theme.egg-info/PKG-INFO +86 -0
  64. mr_theme-0.1.1/src/mr_theme.egg-info/SOURCES.txt +69 -0
  65. mr_theme-0.1.1/src/mr_theme.egg-info/dependency_links.txt +1 -0
  66. mr_theme-0.1.1/src/mr_theme.egg-info/entry_points.txt +2 -0
  67. mr_theme-0.1.1/src/mr_theme.egg-info/requires.txt +17 -0
  68. mr_theme-0.1.1/src/mr_theme.egg-info/scm_file_list.json +64 -0
  69. mr_theme-0.1.1/src/mr_theme.egg-info/scm_version.json +8 -0
  70. mr_theme-0.1.1/src/mr_theme.egg-info/top_level.txt +1 -0
@@ -0,0 +1,13 @@
1
+ *~
2
+
3
+ __pycache__
4
+ *.egg-info
5
+ _build
6
+ dist
7
+
8
+ .mypy_cache
9
+ .ruff_cache
10
+
11
+ .venv
12
+
13
+ docs/build
@@ -0,0 +1,62 @@
1
+ {
2
+ "[python]": {
3
+ "editor.codeActionsOnSave": {
4
+ "source.organizeImports": "explicit"
5
+ },
6
+ "editor.quickSuggestions": {
7
+ "comments": true,
8
+ "other": true,
9
+ "strings": true
10
+ }
11
+ },
12
+ "autoDocstring.docstringFormat": "numpy-notypes",
13
+ "autoDocstring.generateDocstringOnEnter": true,
14
+ "autoDocstring.quoteStyle": "'''",
15
+ "autoDocstring.startOnNewLine": false,
16
+ "editor.bracketPairColorization.independentColorPoolPerBracketType": true,
17
+ "editor.formatOnSave": true,
18
+ "editor.rulers": [
19
+ 80,
20
+ 111
21
+ ],
22
+ "evenBetterToml.formatter.allowedBlankLines": 2,
23
+ "files.associations": {
24
+ "*.html": "jinja-html"
25
+ },
26
+ "files.eol": "\n",
27
+ "files.insertFinalNewline": true,
28
+ "files.trimFinalNewlines": true,
29
+ "files.trimTrailingWhitespace": true,
30
+ "html.format.enable": false,
31
+ "iis.configDir": "",
32
+ "python.analysis.autoImportCompletions": true,
33
+ "python.analysis.completeFunctionParens": false,
34
+ "python.analysis.diagnosticMode": "workspace",
35
+ "python.analysis.enableParallelIndexing": false,
36
+ "python.analysis.enableTroubleshootMissingImports": true,
37
+ "python.analysis.extraPaths": [
38
+ "${workspace}/mindb"
39
+ ],
40
+ "python.analysis.importFormat": "relative",
41
+ // "python.analysis.includeAliasesFromUserFiles": true,
42
+ "python.analysis.includeExtraPathSymbolsInSymbolSearch": true,
43
+ // "python.analysis.inlayHints.callArgumentNames": "off",
44
+ "python.analysis.languageServerMode": "full",
45
+ "python.analysis.packageIndexDepths": [
46
+ {
47
+ "depth": 50,
48
+ "includeAllSymbols": true,
49
+ "name": "mindb"
50
+ }
51
+ ],
52
+ "python.analysis.supportDocstringTemplate": false,
53
+ "python.analysis.supportRestructuredText": true,
54
+ "python.analysis.typeCheckingMode": "off",
55
+ "python.analysis.userFileIndexingLimit": -1,
56
+ "python.terminal.activateEnvInCurrentTerminal": true,
57
+ "python.terminal.executeInFileDir": true,
58
+ "python.testing.pytestArgs": [],
59
+ "python.testing.pytestEnabled": true,
60
+ "python.testing.unittestEnabled": false,
61
+ "terminal.integrated.scrollback": 2000
62
+ }
@@ -0,0 +1,41 @@
1
+ =========
2
+ Changelog
3
+ =========
4
+
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`__,
8
+ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`__.
9
+
10
+
11
+ [Unreleased]
12
+ ============
13
+
14
+ Security
15
+ --------
16
+
17
+ Added
18
+ -----
19
+
20
+ Changed
21
+ -------
22
+
23
+ Fixed
24
+ -----
25
+
26
+ Deprecated
27
+ ----------
28
+
29
+ Removed
30
+ -------
31
+
32
+ Know Issue
33
+ ----------
34
+
35
+
36
+ [0.1.1] 2026-09-21
37
+ ==================
38
+
39
+ Added
40
+ -----
41
+ First working implementation.
mr_theme-0.1.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Michael Rippstein
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,86 @@
1
+ Metadata-Version: 2.4
2
+ Name: mr-theme
3
+ Version: 0.1.1
4
+ Summary: mr-theme: Sphinx HTML theme and matplotlib style sheets
5
+ Author-email: Michael Rippstein <info@anatas.ch>
6
+ Maintainer-email: Michael Rippstein <info@anatas.ch>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://gitlab.com/anatas_ch/pyl_mrtheme2
9
+ Project-URL: Bug Tracker, https://gitlab.com/anatas_ch/pyl_mrtheme2/-/issues
10
+ Project-URL: Wiki, https://gitlab.com/anatas_ch/pyl_mrtheme2/-/wikis/home
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: End Users/Desktop
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Framework :: Sphinx :: Theme
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Framework :: Matplotlib
18
+ Requires-Python: >=3.14
19
+ Description-Content-Type: text/x-rst
20
+ License-File: LICENSE
21
+ Requires-Dist: sphinx<10.0,>=8.2.3
22
+ Requires-Dist: sphinx-copybutton<1.0,>=0.5.2
23
+ Requires-Dist: sphinx_design<1.0,>=0.6.1
24
+ Requires-Dist: pydata-sphinx-theme<1.0,>=0.21.0
25
+ Requires-Dist: sphinxcontrib-mermaid<3.0,>=2.1.1
26
+ Provides-Extra: dev
27
+ Requires-Dist: matplotlib<4.0,>=3.11.1; extra == "dev"
28
+ Requires-Dist: ruff==0.16.6; extra == "dev"
29
+ Requires-Dist: mypy>=1.19.0; extra == "dev"
30
+ Requires-Dist: types-docutils<1,>=0.22.3; extra == "dev"
31
+ Requires-Dist: pytest>=8.4.2; extra == "dev"
32
+ Requires-Dist: pytest-cov>=7.0.0; extra == "dev"
33
+ Requires-Dist: build>=1.4.0; extra == "dev"
34
+ Requires-Dist: twine>=6.2.0; extra == "dev"
35
+ Requires-Dist: wheel>=0.45.1; extra == "dev"
36
+ Requires-Dist: esbonio>=1.0.0; extra == "dev"
37
+ Dynamic: license-file
38
+
39
+ ===========================
40
+ The Python Package MR-Theme
41
+ ===========================
42
+
43
+ The package ``mr-theme`` provide a html-theme for sphinx-documentations
44
+ and matplotlib style sheets.
45
+
46
+ =========
47
+ Changelog
48
+ =========
49
+
50
+ All notable changes to this project will be documented in this file.
51
+
52
+ The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`__,
53
+ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`__.
54
+
55
+
56
+ [Unreleased]
57
+ ============
58
+
59
+ Security
60
+ --------
61
+
62
+ Added
63
+ -----
64
+
65
+ Changed
66
+ -------
67
+
68
+ Fixed
69
+ -----
70
+
71
+ Deprecated
72
+ ----------
73
+
74
+ Removed
75
+ -------
76
+
77
+ Know Issue
78
+ ----------
79
+
80
+
81
+ [0.1.1] 2026-09-21
82
+ ==================
83
+
84
+ Added
85
+ -----
86
+ First working implementation.
@@ -0,0 +1,6 @@
1
+ ===========================
2
+ The Python Package MR-Theme
3
+ ===========================
4
+
5
+ The package ``mr-theme`` provide a html-theme for sphinx-documentations
6
+ and matplotlib style sheets.
@@ -0,0 +1,218 @@
1
+ // cSpell Settings
2
+ {
3
+ "version": "0.2",
4
+ "language": "en-GB",
5
+ "ignorePaths": [
6
+ "stubs"
7
+ ],
8
+ "words": [
9
+ "arcball",
10
+ "autodoc",
11
+ "autohint",
12
+ "autolayout",
13
+ "automargin",
14
+ "automodule",
15
+ "axisbelow",
16
+ "azel",
17
+ "bbox",
18
+ "bfit",
19
+ "bgdark",
20
+ "bglight",
21
+ "borderaxespad",
22
+ "borderpad",
23
+ "boxprops",
24
+ "capprops",
25
+ "capstyle",
26
+ "centered",
27
+ "chunksize",
28
+ "cmap",
29
+ "codeauthor",
30
+ "colormap",
31
+ "colormaps",
32
+ "colors",
33
+ "columnspacing",
34
+ "copybutton",
35
+ "corefonts",
36
+ "darkgray",
37
+ "darkslategray",
38
+ "dashdot",
39
+ "datetimez",
40
+ "dejavusans",
41
+ "dejavuserif",
42
+ "dialog",
43
+ "dirhtml",
44
+ "docstrings",
45
+ "Doctest",
46
+ "doctree",
47
+ "documentclass",
48
+ "edgecolor",
49
+ "edgecolors",
50
+ "eqref",
51
+ "errmsg",
52
+ "ERRORBAR",
53
+ "esbonio",
54
+ "facecolor",
55
+ "fancybox",
56
+ "figsize",
57
+ "fillstyle",
58
+ "flierprops",
59
+ "flynt",
60
+ "fontconfig",
61
+ "fontset",
62
+ "fontsize",
63
+ "fonttype",
64
+ "fontweight",
65
+ "framealpha",
66
+ "frameon",
67
+ "fulkerson",
68
+ "garde",
69
+ "Gedam",
70
+ "gridlines",
71
+ "guilabel",
72
+ "handleheight",
73
+ "handlelength",
74
+ "handletextpad",
75
+ "hashsalt",
76
+ "horizontalalignment",
77
+ "hspace",
78
+ "imshow",
79
+ "inheritcolor",
80
+ "inout",
81
+ "inputenc",
82
+ "intersphinx",
83
+ "ipynb",
84
+ "isort",
85
+ "joinstyle",
86
+ "jshtml",
87
+ "keymap",
88
+ "KEYMAPS",
89
+ "kwargs",
90
+ "labelbottom",
91
+ "labelcolor",
92
+ "labelleft",
93
+ "labellocation",
94
+ "labelpad",
95
+ "labelright",
96
+ "labelsize",
97
+ "labelspacing",
98
+ "labeltop",
99
+ "labelweight",
100
+ "lightgray",
101
+ "linenos",
102
+ "linestyle",
103
+ "literalinclude",
104
+ "markeredgecolor",
105
+ "markeredgewidth",
106
+ "markerfacecolor",
107
+ "markerscale",
108
+ "markersize",
109
+ "math",
110
+ "mathtext",
111
+ "matplotlib",
112
+ "MATPLOTLIBRC",
113
+ "mccabe",
114
+ "meanline",
115
+ "meanprops",
116
+ "medianprops",
117
+ "menuselection",
118
+ "minorticks",
119
+ "miter",
120
+ "modindex",
121
+ "moduleauthor",
122
+ "mouserotationstyle",
123
+ "mypy",
124
+ "nabla",
125
+ "ndivs",
126
+ "Neue",
127
+ "numfig",
128
+ "numpoints",
129
+ "numpy",
130
+ "numref",
131
+ "palatino",
132
+ "panecolor",
133
+ "papersize",
134
+ "patchartist",
135
+ "pathlib",
136
+ "pcolor",
137
+ "pcolormesh",
138
+ "perflint",
139
+ "polaraxes",
140
+ "Popen",
141
+ "Pradyun",
142
+ "productionlist",
143
+ "PSNFSS",
144
+ "pycache",
145
+ "pycodestyle",
146
+ "pydata",
147
+ "pydoclint",
148
+ "pydocstyle",
149
+ "pyflakes",
150
+ "pygrep",
151
+ "pylint",
152
+ "pyplot",
153
+ "pyproject",
154
+ "pytest",
155
+ "PYTHONPATH",
156
+ "pytz",
157
+ "pyupgrade",
158
+ "rcfonts",
159
+ "Rippstein",
160
+ "savefig",
161
+ "scatterpoints",
162
+ "sectionauthor",
163
+ "seealso",
164
+ "set_xlim",
165
+ "set_ylim",
166
+ "setuptools",
167
+ "showbox",
168
+ "showcaps",
169
+ "showfliers",
170
+ "showmeans",
171
+ "sphinxcontrib",
172
+ "staticmethod",
173
+ "stixsans",
174
+ "Subpackages",
175
+ "suptitle",
176
+ "templatename",
177
+ "texsystem",
178
+ "ticklabels",
179
+ "timezone",
180
+ "titlecolor",
181
+ "titlelocation",
182
+ "titlepad",
183
+ "titlesize",
184
+ "titlesonly",
185
+ "titleweight",
186
+ "toctree",
187
+ "toolmanager",
188
+ "trackballborder",
189
+ "trackballsize",
190
+ "tryceratops",
191
+ "typehints",
192
+ "useafm",
193
+ "usedistiller",
194
+ "useoffset",
195
+ "usetex",
196
+ "venv",
197
+ "verticalalignment",
198
+ "viewcode",
199
+ "webagg",
200
+ "whiskerprops",
201
+ "wspace",
202
+ "xaxis",
203
+ "xelatex",
204
+ "xmargin",
205
+ "xpdf",
206
+ "xscale",
207
+ "xtick",
208
+ "xticks",
209
+ "yaxis",
210
+ "ymargin",
211
+ "yscale",
212
+ "ytick",
213
+ "yticks",
214
+ "Zapf",
215
+ "zaxis",
216
+ "zmargin"
217
+ ]
218
+ }
@@ -0,0 +1,26 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21
+
22
+ api:
23
+ @sphinx-apidoc.exe --no-toc --force --remove-old --private --separate --module-first -d 2 -o "$(SOURCEDIR)/package_doc" "../src/mr_theme"
24
+
25
+ labels:
26
+ @python -m sphinx.ext.intersphinx "$(BUILDDIR)/html/objects.inv" > ce_mobile.txt
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,33 @@
1
+ =============
2
+ Abbreviations
3
+ =============
4
+
5
+ .. glossary::
6
+
7
+ .. 3
8
+ .. A
9
+ .. B
10
+ .. C
11
+ .. D
12
+ .. E
13
+ .. F
14
+ .. G
15
+ .. H
16
+ .. I
17
+ .. J
18
+ .. K
19
+ .. L
20
+ .. M
21
+ .. N
22
+ .. O
23
+ .. P
24
+ .. Q
25
+ .. R
26
+ .. S
27
+ .. T
28
+ .. U
29
+ .. V
30
+ .. W
31
+ .. X
32
+ .. Y
33
+ .. Z
@@ -0,0 +1,3 @@
1
+ :orphan:
2
+
3
+ .. include:: ../../CHANGELOG.rst
@@ -0,0 +1,141 @@
1
+ """Configuration file for the Sphinx documentation builder.
2
+
3
+ For the full list of built-in configuration values, see the documentation:
4
+ https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ .. moduleauthor:: Michael Rippstein <info@anatas.ch>
7
+
8
+ :copyright: Copyright 2026 by Michael Rippstein.
9
+ :license: MIT, see LICENSE for details.
10
+ """
11
+
12
+ from __future__ import annotations
13
+
14
+ from importlib.metadata import version as lib_version
15
+
16
+ # -- Project information -----------------------------------------------------
17
+ # region
18
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
19
+
20
+ project = 'MR-Theme Package'
21
+ project_copyright = [
22
+ '2026-, Michael Rippstein',
23
+ 'xxxx',
24
+ ]
25
+ author = 'Michael Rippstein'
26
+
27
+ release = lib_version('mr_theme')
28
+ version = '.'.join(release.split('.')[:2])
29
+
30
+ # endregion
31
+ # -- General configuration ---------------------------------------------------
32
+ # region
33
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
34
+
35
+ extensions = [
36
+ 'sphinx_copybutton',
37
+ 'sphinx_design',
38
+ 'sphinx.ext.autodoc',
39
+ # 'sphinx.ext.coverage',
40
+ # 'sphinx.ext.inheritance_diagram',
41
+ 'sphinx.ext.intersphinx',
42
+ 'sphinx.ext.napoleon',
43
+ 'sphinx.ext.todo',
44
+ 'sphinx.ext.viewcode',
45
+ 'sphinxcontrib.mermaid',
46
+ 'matplotlib.sphinxext.plot_directive',
47
+ ]
48
+
49
+ templates_path = ['_templates']
50
+
51
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
52
+
53
+ show_authors = True
54
+
55
+ numfig = True
56
+ numfig_format = {
57
+ 'figure': 'Figure %s',
58
+ 'table': 'Table %s',
59
+ 'code-block': 'Listing %s',
60
+ 'section': 'Section %s',
61
+ }
62
+ math_number_all = True
63
+ math_eqref_format = '({number})'
64
+
65
+ modindex_common_prefix = ['mr_theme.']
66
+
67
+ add_module_names = False
68
+
69
+ toc_object_entries_show_parents = 'hide'
70
+
71
+ # endregion
72
+ # -- Options for HTML output -------------------------------------------------
73
+ # region
74
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
75
+
76
+ html_theme = 'mr_theme'
77
+ html_static_path = ['_static']
78
+
79
+ html_short_title = f'mr-theme {release}'
80
+
81
+ html_theme_options = {
82
+ 'gitlab_url': 'https://gitlab.com/anatas_ch/pyl_mrtheme2',
83
+ }
84
+
85
+ html_static_path = ['_static']
86
+
87
+ # html_logo = '_static/logo_mr_theme.svg'
88
+
89
+ # endregion
90
+ # -- Options for intersphinx extension ---------------------------------------
91
+ # region
92
+ intersphinx_mapping = {
93
+ 'python': ('https://docs.python.org/3', None),
94
+ }
95
+
96
+ # endregion
97
+ # -- Options for Napoleon extension ------------------------------------------
98
+ # region
99
+ napoleon_google_docstring = False
100
+ napoleon_numpy_docstring = True
101
+ napoleon_include_init_with_doc = False
102
+ napoleon_include_private_with_doc = True
103
+ napoleon_include_special_with_doc = True
104
+ napoleon_use_admonition_for_examples = False
105
+ napoleon_use_admonition_for_notes = True
106
+ napoleon_use_admonition_for_references = False
107
+ napoleon_use_ivar = False
108
+ napoleon_use_param = True
109
+ napoleon_use_keyword = True
110
+ napoleon_use_rtype = True
111
+ napoleon_preprocess_types = False
112
+ napoleon_type_aliases = None
113
+ napoleon_attr_annotations = True
114
+
115
+ # endregion
116
+ # -- Options for autodoc extension -------------------------------------------
117
+ # region
118
+ autodoc_default_options = {
119
+ 'member-order': 'groupwise',
120
+ 'exclude-members': '__weakref__, __module__, __doc__, __dict__',
121
+ 'special-members': False,
122
+ 'show-inheritance': True,
123
+ }
124
+
125
+ autodoc_member_order = 'bysource'
126
+ autodoc_typehints = 'description'
127
+ autodoc_typehints_format = 'short'
128
+
129
+ # endregion
130
+ # -- Options for todo extension -----------------------------------------------
131
+ # region
132
+ todo_include_todos = True
133
+
134
+ # endregion
135
+ # -- Options for mermaid extension --------------------------------------------
136
+ # region
137
+
138
+ # Enables zooming in all the generated Mermaid diagrams.
139
+ mermaid_d3_zoom = True
140
+
141
+ # endregion