mkdocs-techdocs-core 1.2.3__py3-none-any.whl → 1.3.1__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.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/METADATA +32 -27
- mkdocs_techdocs_core-1.3.1.dist-info/RECORD +9 -0
- {mkdocs_techdocs_core-1.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/WHEEL +1 -1
- src/core.py +1 -1
- mkdocs_techdocs_core-1.2.3.dist-info/RECORD +0 -9
- {mkdocs_techdocs_core-1.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/LICENSE +0 -0
- {mkdocs_techdocs_core-1.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/entry_points.txt +0 -0
- {mkdocs_techdocs_core-1.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mkdocs-techdocs-core
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.1
|
|
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
|
|
@@ -17,15 +17,15 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
18
|
Requires-Python: >=3.7
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
|
-
Requires-Dist: mkdocs >=1.
|
|
20
|
+
Requires-Dist: mkdocs >=1.5
|
|
21
21
|
Requires-Dist: Markdown <3.4,>=3.2
|
|
22
|
-
Requires-Dist: mkdocs-material ==9.
|
|
22
|
+
Requires-Dist: mkdocs-material ==9.2.7
|
|
23
|
+
Requires-Dist: markdown-inline-graphviz-extension ==1.1.2
|
|
23
24
|
Requires-Dist: mkdocs-monorepo-plugin ==1.0.5
|
|
24
25
|
Requires-Dist: plantuml-markdown ==3.9.2
|
|
25
|
-
Requires-Dist: markdown-inline-graphviz-extension ==1.1.1
|
|
26
26
|
Requires-Dist: mdx-truly-sane-lists ==1.3
|
|
27
|
-
Requires-Dist: pygments ==2.
|
|
28
|
-
Requires-Dist: pymdown-extensions ==10.
|
|
27
|
+
Requires-Dist: pygments ==2.17.2
|
|
28
|
+
Requires-Dist: pymdown-extensions ==10.2
|
|
29
29
|
|
|
30
30
|
# mkdocs-techdocs-core
|
|
31
31
|
|
|
@@ -79,33 +79,30 @@ black .
|
|
|
79
79
|
|
|
80
80
|
### Testing Dependencies End-to-End
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
5. Build the modified image: `docker build -t mkdocs:local-dev .`
|
|
100
|
-
6. Modify your local Backstage instance to use your locally built
|
|
101
|
-
`techdocs-container` instead of using the published image by setting the
|
|
102
|
-
following configuration:
|
|
82
|
+
If you have made changes to the plugin itself, or updated a dependency it's
|
|
83
|
+
strongly recommended to test the plugin.
|
|
84
|
+
|
|
85
|
+
To build a version of the `spotify/techdocs` docker image with your changes,
|
|
86
|
+
run the below script in this repository:
|
|
87
|
+
```bash
|
|
88
|
+
./build-e2e-image.sh
|
|
89
|
+
```
|
|
90
|
+
_The script is only tested on OSX_
|
|
91
|
+
|
|
92
|
+
The script assumes that you have the
|
|
93
|
+
[image repository](https://github.com/backstage/techdocs-container) cloned in a
|
|
94
|
+
sibling directory to this repository (or you can specify its location).
|
|
95
|
+
|
|
96
|
+
It will build an image called `mkdocs:local-dev` including the changes you
|
|
97
|
+
have made locally. To test the image in backstage, edit the config (e.g.
|
|
98
|
+
`app-config.yaml`) with the following:
|
|
103
99
|
|
|
104
100
|
```yaml
|
|
105
101
|
techdocs:
|
|
106
102
|
generator:
|
|
107
103
|
runIn: "docker"
|
|
108
104
|
dockerImage: "mkdocs:local-dev"
|
|
105
|
+
pullImage: false
|
|
109
106
|
```
|
|
110
107
|
|
|
111
108
|
### Release
|
|
@@ -175,6 +172,14 @@ We only use `material-mkdocs` as base styles because Backstage also uses the `Ma
|
|
|
175
172
|
|
|
176
173
|
### Unreleased
|
|
177
174
|
|
|
175
|
+
### 1.3.1
|
|
176
|
+
- Bumped `pygments` to `2.17.2` which includes JSX support.
|
|
177
|
+
|
|
178
|
+
### 1.3
|
|
179
|
+
- Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
|
|
180
|
+
- MkDocs dependency is now `1.5`
|
|
181
|
+
- `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
|
|
182
|
+
|
|
178
183
|
### 1.2.3
|
|
179
184
|
- Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p).
|
|
180
185
|
- Update dependency `plantuml-markdown` to `3.9.2`.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
src/core.py,sha256=-s1muw-AJB6jCtl6ukf5H8tXaGLJ2OTN2ErfyVxBEvo,5621
|
|
3
|
+
src/test_core.py,sha256=UN8dKD3vEaZp7YB6JE-13QDc3Fuh64KQj_brdk926Bg,5323
|
|
4
|
+
mkdocs_techdocs_core-1.3.1.dist-info/LICENSE,sha256=eQI8sD8vCx0f8ZQg0xdn3DfPxUcbJowsI_uJQk8B4WI,11354
|
|
5
|
+
mkdocs_techdocs_core-1.3.1.dist-info/METADATA,sha256=1me0-D4y-QVFomDaOzni0A10U8QIUTXlVsNFuNydq8s,16798
|
|
6
|
+
mkdocs_techdocs_core-1.3.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
mkdocs_techdocs_core-1.3.1.dist-info/entry_points.txt,sha256=9757aJlPhODN46FiNvcJyTcFo1TbPJ2E6QLTvBOz-6M,56
|
|
8
|
+
mkdocs_techdocs_core-1.3.1.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
|
|
9
|
+
mkdocs_techdocs_core-1.3.1.dist-info/RECORD,,
|
src/core.py
CHANGED
|
@@ -70,7 +70,7 @@ class TechDocsCore(BasePlugin):
|
|
|
70
70
|
config["theme"]["features"].append("navigation.footer")
|
|
71
71
|
config["theme"]["features"].append("content.action.edit")
|
|
72
72
|
|
|
73
|
-
config["theme"]["palette"] =
|
|
73
|
+
config["theme"]["palette"] = {}
|
|
74
74
|
|
|
75
75
|
config["theme"].static_templates.update({"techdocs_metadata.json"})
|
|
76
76
|
config["theme"].dirs.append(self.tmp_dir_techdocs_theme.name)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
src/core.py,sha256=G2UxagE3R3tlzprCZtX4kJKEMP1i-wCIFCLtzA8IG94,5621
|
|
3
|
-
src/test_core.py,sha256=UN8dKD3vEaZp7YB6JE-13QDc3Fuh64KQj_brdk926Bg,5323
|
|
4
|
-
mkdocs_techdocs_core-1.2.3.dist-info/LICENSE,sha256=eQI8sD8vCx0f8ZQg0xdn3DfPxUcbJowsI_uJQk8B4WI,11354
|
|
5
|
-
mkdocs_techdocs_core-1.2.3.dist-info/METADATA,sha256=kS--zaV5yU5UI8hDzipvbIxp-oQqvQJGHK2cZkHRtnE,17219
|
|
6
|
-
mkdocs_techdocs_core-1.2.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
7
|
-
mkdocs_techdocs_core-1.2.3.dist-info/entry_points.txt,sha256=9757aJlPhODN46FiNvcJyTcFo1TbPJ2E6QLTvBOz-6M,56
|
|
8
|
-
mkdocs_techdocs_core-1.2.3.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
|
|
9
|
-
mkdocs_techdocs_core-1.2.3.dist-info/RECORD,,
|
|
File without changes
|
{mkdocs_techdocs_core-1.2.3.dist-info → mkdocs_techdocs_core-1.3.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|