mkdocs-techdocs-core 1.4.2__py3-none-any.whl → 1.5.2__py3-none-any.whl
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.4.2.dist-info → mkdocs_techdocs_core-1.5.2.dist-info}/METADATA +83 -42
- mkdocs_techdocs_core-1.5.2.dist-info/RECORD +9 -0
- {mkdocs_techdocs_core-1.4.2.dist-info → mkdocs_techdocs_core-1.5.2.dist-info}/WHEEL +1 -1
- mkdocs_techdocs_core-1.5.2.dist-info/entry_points.txt +2 -0
- mkdocs_techdocs_core-1.5.2.dist-info/top_level.txt +1 -0
- {src → techdocs_core}/test_core.py +4 -2
- mkdocs_techdocs_core-1.4.2.dist-info/RECORD +0 -9
- mkdocs_techdocs_core-1.4.2.dist-info/entry_points.txt +0 -3
- mkdocs_techdocs_core-1.4.2.dist-info/top_level.txt +0 -1
- {mkdocs_techdocs_core-1.4.2.dist-info → mkdocs_techdocs_core-1.5.2.dist-info}/LICENSE +0 -0
- {src → techdocs_core}/__init__.py +0 -0
- {src → techdocs_core}/core.py +0 -0
|
@@ -1,32 +1,47 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: mkdocs-techdocs-core
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.2
|
|
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
|
Home-page: https://github.com/backstage/mkdocs-techdocs-core
|
|
6
6
|
Author: TechDocs Core
|
|
7
7
|
Author-email: protean@spotify.com
|
|
8
8
|
License: Apache-2.0
|
|
9
9
|
Keywords: mkdocs
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Classifier: Development Status :: 3 - Alpha
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: Intended Audience :: Information Technology
|
|
14
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
14
|
Classifier: Programming Language :: Python
|
|
16
15
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.
|
|
18
|
-
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Requires-Python: >=3.9
|
|
19
22
|
Description-Content-Type: text/markdown
|
|
20
|
-
|
|
21
|
-
Requires-Dist:
|
|
22
|
-
Requires-Dist:
|
|
23
|
-
Requires-Dist:
|
|
24
|
-
Requires-Dist:
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist:
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist:
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: mkdocs>=1.6
|
|
25
|
+
Requires-Dist: Markdown<3.8,>=3.2
|
|
26
|
+
Requires-Dist: mkdocs-material==9.5.49
|
|
27
|
+
Requires-Dist: markdown-graphviz-inline==1.1.3
|
|
28
|
+
Requires-Dist: mkdocs-monorepo-plugin==1.1.0
|
|
29
|
+
Requires-Dist: plantuml-markdown==3.10.4
|
|
30
|
+
Requires-Dist: mdx_truly_sane_lists==1.3
|
|
31
|
+
Requires-Dist: pymdown-extensions==10.13
|
|
32
|
+
Requires-Dist: pygments==2.19.1
|
|
33
|
+
Requires-Dist: mkdocs-redirects==1.2.2
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: requires-dist
|
|
43
|
+
Dynamic: requires-python
|
|
44
|
+
Dynamic: summary
|
|
30
45
|
|
|
31
46
|
# mkdocs-techdocs-core
|
|
32
47
|
|
|
@@ -179,57 +194,85 @@ We only use `material-mkdocs` as base styles because Backstage also uses the `Ma
|
|
|
179
194
|
|
|
180
195
|
## Changelog
|
|
181
196
|
|
|
197
|
+
### 1.5.2
|
|
198
|
+
|
|
199
|
+
- Update `markdown_inline_graphviz_extension` to use forked `markdown-graphviz-inline` instead due to abandonment of original dependency.
|
|
200
|
+
|
|
201
|
+
### 1.5.1
|
|
202
|
+
|
|
203
|
+
- Minimum supported Python version is now 3.9
|
|
204
|
+
- Update dependency `mkdocs-material` to v9.5.46
|
|
205
|
+
- Update dependency `mkdocs-redirects` to v1.2.2
|
|
206
|
+
|
|
207
|
+
### 1.5.0
|
|
208
|
+
|
|
209
|
+
- Renamed package namespace from `src` to `techdocs_core`
|
|
210
|
+
- Fix small deprecation in tests (`assertEquals` -> `assertEqual`) as it was deprecated since Python 3.2 and removed in 3.12
|
|
211
|
+
|
|
182
212
|
### 1.4.2
|
|
183
|
-
|
|
213
|
+
|
|
214
|
+
- Fixes an issue where individual extension configurations were being ignored if the extension was included within `pymdownx.extra`. See [#147](https://github.com/backstage/mkdocs-techdocs-core/issues/147)
|
|
184
215
|
|
|
185
216
|
### 1.4.1
|
|
186
|
-
|
|
217
|
+
|
|
218
|
+
- Introduced mkdocs-redirects plugin (v`1.2.1`).
|
|
187
219
|
|
|
188
220
|
### 1.4.0
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
221
|
+
|
|
222
|
+
- Updated minimum mkdocs dependency from `1.5` to `1.6`
|
|
223
|
+
- Fixes issue [#187](https://github.com/backstage/mkdocs-techdocs-core/issues/187)
|
|
224
|
+
- mkdocs-material bumped to `9.5.27`
|
|
192
225
|
|
|
193
226
|
### 1.3.6
|
|
194
|
-
|
|
227
|
+
|
|
228
|
+
- Bumped `mkdocs-material` to `9.5.26`.
|
|
195
229
|
|
|
196
230
|
### 1.3.5
|
|
197
|
-
|
|
231
|
+
|
|
232
|
+
- Bumped `mkdocs-material` to `9.5.13` which adds support for card grids and grid layouts
|
|
198
233
|
|
|
199
234
|
### 1.3.3
|
|
200
|
-
|
|
201
|
-
|
|
235
|
+
|
|
236
|
+
- Bumped `mkdocs-material` to `9.4.14` which add support for: Mermaid.js version 10.6.1, emoji extension and updated MkDocs to 1.5.3
|
|
237
|
+
- Added tests for `Python` version `3.11`
|
|
202
238
|
|
|
203
239
|
### 1.3.2
|
|
204
|
-
|
|
205
|
-
|
|
240
|
+
|
|
241
|
+
- Bumped `pymdown-extensions` to `10.3.1` which add material.extensions support
|
|
242
|
+
- Removed support for `Python` version `3.7`
|
|
206
243
|
|
|
207
244
|
### 1.3.1
|
|
208
|
-
|
|
245
|
+
|
|
246
|
+
- Bumped `pygments` to `2.17.2` which includes JSX support.
|
|
209
247
|
|
|
210
248
|
### 1.3
|
|
211
|
-
|
|
249
|
+
|
|
250
|
+
- Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
|
|
212
251
|
- MkDocs dependency is now `1.5`
|
|
213
|
-
|
|
252
|
+
- `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
|
|
214
253
|
|
|
215
254
|
### 1.2.3
|
|
216
|
-
|
|
217
|
-
|
|
255
|
+
|
|
256
|
+
- Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p).
|
|
257
|
+
- Update dependency `plantuml-markdown` to `3.9.2`.
|
|
218
258
|
|
|
219
259
|
### 1.2.2
|
|
220
|
-
|
|
260
|
+
|
|
261
|
+
- Added config override of `pymdownx.snippets` for [security](https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-jh85-wwv9-24hv). `restrict_base_path` will always be `true`. If you currently use snippets with files outside of the directory, those files will no longer be included.
|
|
221
262
|
|
|
222
263
|
### 1.2.1
|
|
223
|
-
|
|
264
|
+
|
|
265
|
+
- Use latest version of `pymdown-extensions` which contains [security fixes](https://github.com/backstage/mkdocs-techdocs-core/pull/123).
|
|
224
266
|
|
|
225
267
|
### 1.2.0
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
268
|
+
|
|
269
|
+
- Updated `mkdocs-material` (and its dependencies) from `8.1.11` to `9.1.3` causing a few changes:
|
|
270
|
+
- Some `mkdocs-material` features were made opt-in v9. In order to preserve compatibility, they are now hardcoded as enabled by `mkdocs-techdocs-core`. The features are
|
|
271
|
+
- `navigation.footer`
|
|
272
|
+
- `content.action.edit`
|
|
273
|
+
- `theme.palette` is now hardcoded to `""` to preserve previous behavior. Without hardcoding the palette, it gets the value `default`, causing unwanted visual changes.
|
|
274
|
+
- Some components e.g. admonitions have a slightly different look.
|
|
275
|
+
- Minor color changes that can be avoided by also updating to the latest version of `@backstage/plugin-techdocs` which compensates these changes.
|
|
233
276
|
|
|
234
277
|
### 1.1.7
|
|
235
278
|
|
|
@@ -411,5 +454,3 @@ The pymdownx extension will be bumped too 8.0.0 in the near future.
|
|
|
411
454
|
Copyright 2020-2023 © The Backstage Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage
|
|
412
455
|
|
|
413
456
|
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
|
414
|
-
|
|
415
|
-
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
techdocs_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
techdocs_core/core.py,sha256=2UvM9tIDeF0ysG5KsN_p19hq87nPUqx7DIMOqu9PwjQ,6460
|
|
3
|
+
techdocs_core/test_core.py,sha256=8G-yT-VT1gNPhafRlUcQR3utY6-az_AysiH7NF5Q94c,6022
|
|
4
|
+
mkdocs_techdocs_core-1.5.2.dist-info/LICENSE,sha256=eQI8sD8vCx0f8ZQg0xdn3DfPxUcbJowsI_uJQk8B4WI,11354
|
|
5
|
+
mkdocs_techdocs_core-1.5.2.dist-info/METADATA,sha256=eJMFokVJiFdJZ12XmXfi1-_q9SpEWSDRxxcAtbxgXBE,18960
|
|
6
|
+
mkdocs_techdocs_core-1.5.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
+
mkdocs_techdocs_core-1.5.2.dist-info/entry_points.txt,sha256=2-T09npmHz_WxTsRiNKlADNRaYOtml4cdsQ922TmbSk,65
|
|
8
|
+
mkdocs_techdocs_core-1.5.2.dist-info/top_level.txt,sha256=09Kyu6HmUCmtHLEmEYmc3Pjr7q-g4TAvrou9eqseDC4,14
|
|
9
|
+
mkdocs_techdocs_core-1.5.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
techdocs_core
|
|
@@ -88,7 +88,9 @@ class TestTechDocsCoreConfig(unittest.TestCase):
|
|
|
88
88
|
def test_template_renders__multiline_value_as_valid_json(self):
|
|
89
89
|
self.techdocscore.on_config(self.mkdocs_yaml_config)
|
|
90
90
|
env = Environment(
|
|
91
|
-
loader=PackageLoader(
|
|
91
|
+
loader=PackageLoader(
|
|
92
|
+
"techdocs_core", self.techdocscore.tmp_dir_techdocs_theme.name
|
|
93
|
+
),
|
|
92
94
|
autoescape=select_autoescape(),
|
|
93
95
|
)
|
|
94
96
|
template = env.get_template("techdocs_metadata.json")
|
|
@@ -98,7 +100,7 @@ class TestTechDocsCoreConfig(unittest.TestCase):
|
|
|
98
100
|
}
|
|
99
101
|
rendered = template.render(config=config)
|
|
100
102
|
as_json = json.loads(rendered)
|
|
101
|
-
self.
|
|
103
|
+
self.assertEqual(config, as_json)
|
|
102
104
|
|
|
103
105
|
def test_restrict_snippet_base_path(self):
|
|
104
106
|
self.mkdocs_yaml_config["mdx_configs"] = {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
src/core.py,sha256=2UvM9tIDeF0ysG5KsN_p19hq87nPUqx7DIMOqu9PwjQ,6460
|
|
3
|
-
src/test_core.py,sha256=8bt7-qKuDycZrrNYS12p-s9wkaxuxu3LHDNR0Q6C8zM,5984
|
|
4
|
-
mkdocs_techdocs_core-1.4.2.dist-info/LICENSE,sha256=eQI8sD8vCx0f8ZQg0xdn3DfPxUcbJowsI_uJQk8B4WI,11354
|
|
5
|
-
mkdocs_techdocs_core-1.4.2.dist-info/METADATA,sha256=rzCzpH450nqsQzlYoCqM-_onKiiQYFW-_6g1JQOM13Y,18063
|
|
6
|
-
mkdocs_techdocs_core-1.4.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
mkdocs_techdocs_core-1.4.2.dist-info/entry_points.txt,sha256=9757aJlPhODN46FiNvcJyTcFo1TbPJ2E6QLTvBOz-6M,56
|
|
8
|
-
mkdocs_techdocs_core-1.4.2.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
|
|
9
|
-
mkdocs_techdocs_core-1.4.2.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
src
|
|
File without changes
|
|
File without changes
|
{src → techdocs_core}/core.py
RENAMED
|
File without changes
|