mkdocs-techdocs-core 1.6.1__tar.gz → 1.7.0__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.
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/PKG-INFO +12 -9
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/README.md +3 -2
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/PKG-INFO +12 -9
- mkdocs_techdocs_core-1.7.0/mkdocs_techdocs_core.egg-info/requires.txt +12 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/pyproject.toml +2 -2
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/requirements.txt +8 -5
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/techdocs_core/core.py +4 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/techdocs_core/test_core.py +12 -0
- mkdocs_techdocs_core-1.6.1/mkdocs_techdocs_core.egg-info/requires.txt +0 -10
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/LICENSE +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/SOURCES.txt +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/dependency_links.txt +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/entry_points.txt +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/top_level.txt +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/setup.cfg +0 -0
- {mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/techdocs_core/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-techdocs-core
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
|
|
5
5
|
Author-email: TechDocs Core <protean@spotify.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -10,24 +10,26 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Intended Audience :: Information Technology
|
|
11
11
|
Classifier: Programming Language :: Python
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Requires-Python: >=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: mkdocs>=1.6
|
|
22
22
|
Requires-Dist: Markdown<3.11,>=3.2
|
|
23
|
-
Requires-Dist: mkdocs-material==9.7.
|
|
23
|
+
Requires-Dist: mkdocs-material==9.7.6
|
|
24
24
|
Requires-Dist: markdown-graphviz-inline==1.1.3
|
|
25
|
+
Requires-Dist: mkdocs-github-admonitions-plugin==0.1.1
|
|
25
26
|
Requires-Dist: mkdocs-monorepo-plugin==1.1.2
|
|
26
|
-
Requires-Dist: plantuml-markdown==3.11.
|
|
27
|
+
Requires-Dist: plantuml-markdown==3.11.2
|
|
27
28
|
Requires-Dist: mdx_truly_sane_lists==1.3
|
|
28
|
-
Requires-Dist: pymdown-extensions==10.
|
|
29
|
-
Requires-Dist: pygments==2.
|
|
30
|
-
Requires-Dist: mkdocs-redirects==1.2.
|
|
29
|
+
Requires-Dist: pymdown-extensions==10.21.3
|
|
30
|
+
Requires-Dist: pygments==2.20.0
|
|
31
|
+
Requires-Dist: mkdocs-redirects==1.2.3
|
|
32
|
+
Requires-Dist: click<=8.4.1
|
|
31
33
|
Dynamic: license-file
|
|
32
34
|
|
|
33
35
|
# mkdocs-techdocs-core
|
|
@@ -143,6 +145,7 @@ TechDocs Core plugin:
|
|
|
143
145
|
|
|
144
146
|
- [search](https://www.mkdocs.org/user-guide/configuration/#search): A search plugin is provided by default with MkDocs which uses [lunr.js](https://lunrjs.com/) as a search engine.
|
|
145
147
|
- [mkdocs-monorepo-plugin](https://github.com/backstage/mkdocs-monorepo-plugin): This plugin enables you to build multiple sets of documentation in a single MkDocs project. It is designed to address writing documentation in Spotify's largest and most business-critical codebases (typically monoliths or monorepos).
|
|
148
|
+
- [gh-admonitions](https://github.com/PGijsbers/admonitions): This plugin converts GitHub alert syntax, such as `> [!NOTE]`, `> [!TIP]`, `> [!IMPORTANT]`, `> [!WARNING]`, and `> [!CAUTION]`, to MkDocs Material admonitions.
|
|
146
149
|
|
|
147
150
|
**Extensions**:
|
|
148
151
|
|
|
@@ -165,8 +168,8 @@ TechDocs Core plugin:
|
|
|
165
168
|
- tabbed: Tabbed allows for tabbed Markdown content.
|
|
166
169
|
- tasklist: Tasklist allows inserting lists with check boxes.
|
|
167
170
|
- tilde: Tilde is syntactically built around the ~ character. It adds support for inserting subscripts and adds an easy way to place text in a <_del_> tag.
|
|
168
|
-
- [markdown_inline_graphviz](https://pypi.org/project/markdown-inline
|
|
169
|
-
Activate the
|
|
171
|
+
- [markdown_inline_graphviz](https://pypi.org/project/markdown-graphviz-inline/): A Python Markdown extension replaces inline Graphviz definitions with inline SVGs or PNGs.
|
|
172
|
+
Activate the markdown_inline_graphviz extension using the [usage instructions](https://github.com/backstage/markdown-inline-graphviz#usage).
|
|
170
173
|
|
|
171
174
|
- [plantuml_markdown](https://pypi.org/project/plantuml-markdown/): This plugin implements a block extension which can be used to specify a PlantUML diagram which will be converted into an image and inserted in the document.
|
|
172
175
|
|
|
@@ -111,6 +111,7 @@ TechDocs Core plugin:
|
|
|
111
111
|
|
|
112
112
|
- [search](https://www.mkdocs.org/user-guide/configuration/#search): A search plugin is provided by default with MkDocs which uses [lunr.js](https://lunrjs.com/) as a search engine.
|
|
113
113
|
- [mkdocs-monorepo-plugin](https://github.com/backstage/mkdocs-monorepo-plugin): This plugin enables you to build multiple sets of documentation in a single MkDocs project. It is designed to address writing documentation in Spotify's largest and most business-critical codebases (typically monoliths or monorepos).
|
|
114
|
+
- [gh-admonitions](https://github.com/PGijsbers/admonitions): This plugin converts GitHub alert syntax, such as `> [!NOTE]`, `> [!TIP]`, `> [!IMPORTANT]`, `> [!WARNING]`, and `> [!CAUTION]`, to MkDocs Material admonitions.
|
|
114
115
|
|
|
115
116
|
**Extensions**:
|
|
116
117
|
|
|
@@ -133,8 +134,8 @@ TechDocs Core plugin:
|
|
|
133
134
|
- tabbed: Tabbed allows for tabbed Markdown content.
|
|
134
135
|
- tasklist: Tasklist allows inserting lists with check boxes.
|
|
135
136
|
- tilde: Tilde is syntactically built around the ~ character. It adds support for inserting subscripts and adds an easy way to place text in a <_del_> tag.
|
|
136
|
-
- [markdown_inline_graphviz](https://pypi.org/project/markdown-inline
|
|
137
|
-
Activate the
|
|
137
|
+
- [markdown_inline_graphviz](https://pypi.org/project/markdown-graphviz-inline/): A Python Markdown extension replaces inline Graphviz definitions with inline SVGs or PNGs.
|
|
138
|
+
Activate the markdown_inline_graphviz extension using the [usage instructions](https://github.com/backstage/markdown-inline-graphviz#usage).
|
|
138
139
|
|
|
139
140
|
- [plantuml_markdown](https://pypi.org/project/plantuml-markdown/): This plugin implements a block extension which can be used to specify a PlantUML diagram which will be converted into an image and inserted in the document.
|
|
140
141
|
|
{mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-techdocs-core
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
|
|
5
5
|
Author-email: TechDocs Core <protean@spotify.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -10,24 +10,26 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Intended Audience :: Information Technology
|
|
11
11
|
Classifier: Programming Language :: Python
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Requires-Python: >=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: mkdocs>=1.6
|
|
22
22
|
Requires-Dist: Markdown<3.11,>=3.2
|
|
23
|
-
Requires-Dist: mkdocs-material==9.7.
|
|
23
|
+
Requires-Dist: mkdocs-material==9.7.6
|
|
24
24
|
Requires-Dist: markdown-graphviz-inline==1.1.3
|
|
25
|
+
Requires-Dist: mkdocs-github-admonitions-plugin==0.1.1
|
|
25
26
|
Requires-Dist: mkdocs-monorepo-plugin==1.1.2
|
|
26
|
-
Requires-Dist: plantuml-markdown==3.11.
|
|
27
|
+
Requires-Dist: plantuml-markdown==3.11.2
|
|
27
28
|
Requires-Dist: mdx_truly_sane_lists==1.3
|
|
28
|
-
Requires-Dist: pymdown-extensions==10.
|
|
29
|
-
Requires-Dist: pygments==2.
|
|
30
|
-
Requires-Dist: mkdocs-redirects==1.2.
|
|
29
|
+
Requires-Dist: pymdown-extensions==10.21.3
|
|
30
|
+
Requires-Dist: pygments==2.20.0
|
|
31
|
+
Requires-Dist: mkdocs-redirects==1.2.3
|
|
32
|
+
Requires-Dist: click<=8.4.1
|
|
31
33
|
Dynamic: license-file
|
|
32
34
|
|
|
33
35
|
# mkdocs-techdocs-core
|
|
@@ -143,6 +145,7 @@ TechDocs Core plugin:
|
|
|
143
145
|
|
|
144
146
|
- [search](https://www.mkdocs.org/user-guide/configuration/#search): A search plugin is provided by default with MkDocs which uses [lunr.js](https://lunrjs.com/) as a search engine.
|
|
145
147
|
- [mkdocs-monorepo-plugin](https://github.com/backstage/mkdocs-monorepo-plugin): This plugin enables you to build multiple sets of documentation in a single MkDocs project. It is designed to address writing documentation in Spotify's largest and most business-critical codebases (typically monoliths or monorepos).
|
|
148
|
+
- [gh-admonitions](https://github.com/PGijsbers/admonitions): This plugin converts GitHub alert syntax, such as `> [!NOTE]`, `> [!TIP]`, `> [!IMPORTANT]`, `> [!WARNING]`, and `> [!CAUTION]`, to MkDocs Material admonitions.
|
|
146
149
|
|
|
147
150
|
**Extensions**:
|
|
148
151
|
|
|
@@ -165,8 +168,8 @@ TechDocs Core plugin:
|
|
|
165
168
|
- tabbed: Tabbed allows for tabbed Markdown content.
|
|
166
169
|
- tasklist: Tasklist allows inserting lists with check boxes.
|
|
167
170
|
- tilde: Tilde is syntactically built around the ~ character. It adds support for inserting subscripts and adds an easy way to place text in a <_del_> tag.
|
|
168
|
-
- [markdown_inline_graphviz](https://pypi.org/project/markdown-inline
|
|
169
|
-
Activate the
|
|
171
|
+
- [markdown_inline_graphviz](https://pypi.org/project/markdown-graphviz-inline/): A Python Markdown extension replaces inline Graphviz definitions with inline SVGs or PNGs.
|
|
172
|
+
Activate the markdown_inline_graphviz extension using the [usage instructions](https://github.com/backstage/markdown-inline-graphviz#usage).
|
|
170
173
|
|
|
171
174
|
- [plantuml_markdown](https://pypi.org/project/plantuml-markdown/): This plugin implements a block extension which can be used to specify a PlantUML diagram which will be converted into an image and inserted in the document.
|
|
172
175
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
mkdocs>=1.6
|
|
2
|
+
Markdown<3.11,>=3.2
|
|
3
|
+
mkdocs-material==9.7.6
|
|
4
|
+
markdown-graphviz-inline==1.1.3
|
|
5
|
+
mkdocs-github-admonitions-plugin==0.1.1
|
|
6
|
+
mkdocs-monorepo-plugin==1.1.2
|
|
7
|
+
plantuml-markdown==3.11.2
|
|
8
|
+
mdx_truly_sane_lists==1.3
|
|
9
|
+
pymdown-extensions==10.21.3
|
|
10
|
+
pygments==2.20.0
|
|
11
|
+
mkdocs-redirects==1.2.3
|
|
12
|
+
click<=8.4.1
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
|
|
7
7
|
name = "mkdocs-techdocs-core"
|
|
8
|
-
version = "1.
|
|
8
|
+
version = "1.7.0"
|
|
9
9
|
description = """The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions"""
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.9"
|
|
@@ -20,11 +20,11 @@ classifiers = [
|
|
|
20
20
|
"Intended Audience :: Information Technology",
|
|
21
21
|
"Programming Language :: Python",
|
|
22
22
|
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
23
|
"Programming Language :: Python :: 3.10",
|
|
25
24
|
"Programming Language :: Python :: 3.11",
|
|
26
25
|
"Programming Language :: Python :: 3.12",
|
|
27
26
|
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Programming Language :: Python :: 3.14",
|
|
28
28
|
]
|
|
29
29
|
dynamic = ["dependencies"]
|
|
30
30
|
|
|
@@ -9,16 +9,19 @@ Markdown>=3.2,<3.11
|
|
|
9
9
|
# pinned to an exact version. Bumps should be accompanied by release notes
|
|
10
10
|
# explaining what was added or fixed (or at least pointing to the underlying
|
|
11
11
|
# release notes of the bumped package).
|
|
12
|
-
mkdocs-material==9.7.
|
|
12
|
+
mkdocs-material==9.7.6
|
|
13
13
|
markdown-graphviz-inline==1.1.3
|
|
14
|
+
mkdocs-github-admonitions-plugin==0.1.1
|
|
14
15
|
mkdocs-monorepo-plugin==1.1.2
|
|
15
|
-
plantuml-markdown==3.11.
|
|
16
|
+
plantuml-markdown==3.11.2
|
|
16
17
|
mdx_truly_sane_lists==1.3
|
|
17
|
-
pymdown-extensions==10.
|
|
18
|
-
pygments==2.
|
|
19
|
-
mkdocs-redirects==1.2.
|
|
18
|
+
pymdown-extensions==10.21.3
|
|
19
|
+
pygments==2.20.0
|
|
20
|
+
mkdocs-redirects==1.2.3
|
|
20
21
|
|
|
21
22
|
# The following are temporary dependencies that are only necessary to work
|
|
22
23
|
# around incompatible/conflicting underlying dependencies. Each dependency
|
|
23
24
|
# should include a comment explaining why it is needed, and under what
|
|
24
25
|
# circumstances it can be removed in the future.
|
|
26
|
+
# Pinned click to avoid issues with autoreload https://github.com/squidfunk/mkdocs-material/issues/8478
|
|
27
|
+
click<=8.4.1
|
|
@@ -22,6 +22,7 @@ from mkdocs.config import Config, config_options
|
|
|
22
22
|
from mkdocs.plugins import BasePlugin
|
|
23
23
|
from mkdocs.theme import Theme
|
|
24
24
|
from mkdocs.contrib.search import SearchPlugin
|
|
25
|
+
from admonitions.admonition import AdmonitionConverter
|
|
25
26
|
from material.plugins.search.plugin import SearchPlugin as MaterialSearchPlugin
|
|
26
27
|
from mkdocs_monorepo_plugin.plugin import MonorepoPlugin
|
|
27
28
|
from pymdownx.emoji import to_svg
|
|
@@ -95,8 +96,11 @@ class TechDocsCore(BasePlugin[TechDocsCoreConfig]):
|
|
|
95
96
|
|
|
96
97
|
monorepo_plugin = MonorepoPlugin()
|
|
97
98
|
monorepo_plugin.load_config({})
|
|
99
|
+
gh_admonitions_plugin = AdmonitionConverter()
|
|
100
|
+
gh_admonitions_plugin.load_config({})
|
|
98
101
|
config["plugins"]["search"] = search_plugin
|
|
99
102
|
config["plugins"]["monorepo"] = monorepo_plugin
|
|
103
|
+
config["plugins"]["gh-admonitions"] = gh_admonitions_plugin
|
|
100
104
|
|
|
101
105
|
# Markdown Extensions
|
|
102
106
|
if "markdown_extensions" not in config:
|
|
@@ -129,6 +129,18 @@ class TestTechDocsCore(unittest.TestCase):
|
|
|
129
129
|
final_config["plugins"]["search"].__module__, "mkdocs.contrib.search"
|
|
130
130
|
)
|
|
131
131
|
|
|
132
|
+
def test_gh_admonitions(self):
|
|
133
|
+
final_config = self.techdocscore.on_config(self.techdocscore.config)
|
|
134
|
+
|
|
135
|
+
self.assertEqual(
|
|
136
|
+
final_config["plugins"]["gh-admonitions"].__module__,
|
|
137
|
+
"admonitions.admonition",
|
|
138
|
+
)
|
|
139
|
+
self.assertEqual(
|
|
140
|
+
final_config["plugins"]["gh-admonitions"].__class__.__name__,
|
|
141
|
+
"AdmonitionConverter",
|
|
142
|
+
)
|
|
143
|
+
|
|
132
144
|
def test_pymdownx_blocks(self):
|
|
133
145
|
self.techdocscore.config["use_pymdownx_blocks"] = True
|
|
134
146
|
final_config = self.techdocscore.on_config(self.techdocscore.config)
|
|
File without changes
|
{mkdocs_techdocs_core-1.6.1 → mkdocs_techdocs_core-1.7.0}/mkdocs_techdocs_core.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|