mkdocs-techdocs-core 1.5.4__tar.gz → 1.6.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.
@@ -1,16 +1,13 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: mkdocs-techdocs-core
3
- Version: 1.5.4
3
+ Version: 1.6.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
- Home-page: https://github.com/backstage/mkdocs-techdocs-core
6
- Author: TechDocs Core
7
- Author-email: protean@spotify.com
8
- License: Apache-2.0
5
+ Author-email: TechDocs Core <protean@spotify.com>
6
+ License-Expression: Apache-2.0
9
7
  Keywords: mkdocs
10
8
  Classifier: Development Status :: 3 - Alpha
11
9
  Classifier: Intended Audience :: Developers
12
10
  Classifier: Intended Audience :: Information Technology
13
- Classifier: License :: OSI Approved :: Apache Software License
14
11
  Classifier: Programming Language :: Python
15
12
  Classifier: Programming Language :: Python :: 3 :: Only
16
13
  Classifier: Programming Language :: Python :: 3.9
@@ -22,26 +19,16 @@ Requires-Python: >=3.9
22
19
  Description-Content-Type: text/markdown
23
20
  License-File: LICENSE
24
21
  Requires-Dist: mkdocs>=1.6
25
- Requires-Dist: Markdown<3.8,>=3.2
26
- Requires-Dist: mkdocs-material==9.6.8
22
+ Requires-Dist: Markdown<3.11,>=3.2
23
+ Requires-Dist: mkdocs-material==9.7.1
27
24
  Requires-Dist: markdown-graphviz-inline==1.1.3
28
- Requires-Dist: mkdocs-monorepo-plugin==1.1.0
25
+ Requires-Dist: mkdocs-monorepo-plugin==1.1.2
29
26
  Requires-Dist: plantuml-markdown==3.11.1
30
27
  Requires-Dist: mdx_truly_sane_lists==1.3
31
- Requires-Dist: pymdown-extensions==10.14.3
32
- Requires-Dist: pygments==2.19.1
28
+ Requires-Dist: pymdown-extensions==10.19.1
29
+ Requires-Dist: pygments==2.19.2
33
30
  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
31
+ Dynamic: license-file
45
32
 
46
33
  # mkdocs-techdocs-core
47
34
 
@@ -139,8 +126,13 @@ techdocs:
139
126
 
140
127
  ### Release
141
128
 
142
- 1. Update the [Changelog](https://github.com/backstage/mkdocs-techdocs-core/blob/main/README.md#changelog).
143
- 2. Bump up the version number in `setup.py` which triggers the release workflow on [GitHub Actions](.github/workflows/pypi-publish.yml) to publish a new version in PyPI.
129
+ In order to publish a release, you must manually dispatch the [`manual-versioning`](https://github.com/backstage/mkdocs-techdocs-core/actions/workflows/manual-versioning.yml) GitHub Action. Please see the official GitHub documentation on [Manual Workflows](https://docs.github.com/en/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow?tool=webui) for full instructions.
130
+
131
+ > [!TIP]
132
+ > If you decide to provide an explicit `levelBump`, please respect SemVer. When left empty, PSR will determine the best version bump based on the commits since the previous release. Automatic Versioning does rely on `conventional-commits` which is **not** enforced within this project.
133
+
134
+ This project utilizes PSR (Python Semantic Release) to create releases.
135
+ Release Notes will be generated from commit messages and the [CHANGELOG.md](CHANGELOG.md) will be automatically updated with all commits since the previous release.
144
136
 
145
137
  ## MkDocs plugins and extensions
146
138
 
@@ -196,275 +188,12 @@ build container).
196
188
 
197
189
  ## Caveats
198
190
 
191
+ ## [Changelog](CHANGELOG.md)
192
+
199
193
  ### Theme
200
194
 
201
195
  We only use `material-mkdocs` as base styles because Backstage also uses the `Material UI` on the client-side. We don't expect people to use themes other than `Material UI` to maintain consistency across all Backstage pages (in other words, documentation pages have the same look and feel as any other Backstage page) and so we use the `BackstageTheme` configured in Front-end application as the source of truth for all application design tokens like colors, typography and etc. So here you can [see](https://github.com/backstage/backstage/blob/master/plugins/techdocs/src/reader/components/TechDocsReaderPageContent/dom.tsx#L160-L692) that some styles will always be overridden regardless of the `mkdocs-material` plugin theme settings and this can cause unexpected behavior for those who override the theme setting in a `mkdocs.yaml` file.
202
196
 
203
- ## Changelog
204
-
205
- ### 1.5.4
206
-
207
- - Added proper plugin config to fix `Unrecognised configuration name` error when any config is provided
208
-
209
- ### 1.5.3
210
-
211
- - Added support for PyMdown Blocks extensions
212
-
213
- ### 1.5.2
214
-
215
- - Update `markdown_inline_graphviz_extension` to use forked `markdown-graphviz-inline` instead due to abandonment of original dependency.
216
-
217
- ### 1.5.1
218
-
219
- - Minimum supported Python version is now 3.9
220
- - Update dependency `mkdocs-material` to v9.5.46
221
- - Update dependency `mkdocs-redirects` to v1.2.2
222
-
223
- ### 1.5.0
224
-
225
- - Renamed package namespace from `src` to `techdocs_core`
226
- - Fix small deprecation in tests (`assertEquals` -> `assertEqual`) as it was deprecated since Python 3.2 and removed in 3.12
227
-
228
- ### 1.4.2
229
-
230
- - 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)
231
-
232
- ### 1.4.1
233
-
234
- - Introduced mkdocs-redirects plugin (v`1.2.1`).
235
-
236
- ### 1.4.0
237
-
238
- - Updated minimum mkdocs dependency from `1.5` to `1.6`
239
- - Fixes issue [#187](https://github.com/backstage/mkdocs-techdocs-core/issues/187)
240
- - mkdocs-material bumped to `9.5.27`
241
-
242
- ### 1.3.6
243
-
244
- - Bumped `mkdocs-material` to `9.5.26`.
245
-
246
- ### 1.3.5
247
-
248
- - Bumped `mkdocs-material` to `9.5.13` which adds support for card grids and grid layouts
249
-
250
- ### 1.3.3
251
-
252
- - 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
253
- - Added tests for `Python` version `3.11`
254
-
255
- ### 1.3.2
256
-
257
- - Bumped `pymdown-extensions` to `10.3.1` which add material.extensions support
258
- - Removed support for `Python` version `3.7`
259
-
260
- ### 1.3.1
261
-
262
- - Bumped `pygments` to `2.17.2` which includes JSX support.
263
-
264
- ### 1.3
265
-
266
- - Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
267
- - MkDocs dependency is now `1.5`
268
- - `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
269
-
270
- ### 1.2.3
271
-
272
- - Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p).
273
- - Update dependency `plantuml-markdown` to `3.9.2`.
274
-
275
- ### 1.2.2
276
-
277
- - 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.
278
-
279
- ### 1.2.1
280
-
281
- - Use latest version of `pymdown-extensions` which contains [security fixes](https://github.com/backstage/mkdocs-techdocs-core/pull/123).
282
-
283
- ### 1.2.0
284
-
285
- - Updated `mkdocs-material` (and its dependencies) from `8.1.11` to `9.1.3` causing a few changes:
286
- - 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
287
- - `navigation.footer`
288
- - `content.action.edit`
289
- - `theme.palette` is now hardcoded to `""` to preserve previous behavior. Without hardcoding the palette, it gets the value `default`, causing unwanted visual changes.
290
- - Some components e.g. admonitions have a slightly different look.
291
- - Minor color changes that can be avoided by also updating to the latest version of `@backstage/plugin-techdocs` which compensates these changes.
292
-
293
- ### 1.1.7
294
-
295
- - Updated `mkdocs-monorepo-plugin` to `1.0.4`, which includes a compatibility
296
- fix for `mkdocs` versions `1.4.0` and newer.
297
-
298
- ### 1.1.6
299
-
300
- - Removed pins on the `pyparsing` and `Jinja2` dependencies, which are no
301
- longer needed.
302
- - Pinned `mkdocs-monorepo-plugin` and `markdown_inline_graphviz_extension` to
303
- specific (latest) releases to improve stability. Going forward, these (along
304
- with all other feature-related deps) will be bumped regularly and any changes
305
- will be reflected in this changelog.
306
-
307
- ### 1.1.5
308
-
309
- - Added support for Python 3.10 [#73](https://github.com/backstage/mkdocs-techdocs-core/pull/73)
310
- - Resolved a run-time error introduced in `1.1.4` that prevented sites from
311
- being built under certain circumstances.
312
-
313
- ### 1.1.4
314
-
315
- - Support markdown version >3.2,<4
316
- - Use markdown_inline_graphviz_extension 1.1.1 which supports svg rendering for markdown >=3.3
317
-
318
- ### 1.1.3
319
-
320
- - Upgraded `plantuml-markdown` to `3.5.1`, which removes `uuid` as a dependency.
321
-
322
- ### 1.1.2
323
-
324
- - Simplify theme code to update only the attribute necessary by backstage.
325
-
326
- ### 1.1.1
327
-
328
- - Fix run-time `AttributeError: 'Theme' object has no attribute 'copy'`
329
-
330
- ### 1.1.0
331
-
332
- - Add new capability to override mkdocs theme attributes
333
-
334
- > **Note:** Look the caveats section in readme about the Backstage theme consideration
335
-
336
- ### 1.0.2
337
-
338
- - Bumped `pymdown-extensions` to 9.3 and enabled `pygments_lang_class` to allow easier targeting of codeblocks by language in TechDocs Addons.
339
-
340
- ### 1.0.1
341
-
342
- `Jinja2` pinned to v3.0.3.
343
-
344
- ### 1.0.0
345
-
346
- - This package has been promoted to v1.0!
347
-
348
- > **Note:** Going forward, this package will follow [semver](https://semver.org/#semantic-versioning-200) conventions.
349
-
350
- ### 0.2.3
351
-
352
- - Upgrade mkdocs-material and its dependencies
353
-
354
- ### 0.2.2
355
-
356
- - Update `plantuml-markdown` version to 3.5.0 for image maps support
357
-
358
- ### 0.2.1
359
-
360
- - Fix run-time `module 'pyparsing' has no attribute 'downcaseTokens'` error as
361
- a result of shifting python dependencies.
362
- - Update to latest `mkdocs-monorepo-plugin`, which allows use of `.yaml` file
363
- extensions and non-slug-like `site_name`s in monorepos.
364
-
365
- ### 0.2.0
366
-
367
- - Add mdx_truly_sane_lists for dealing with the very annoying bullet differences in mkdocs vs commonmark / gf markdown. See https://github.com/backstage/backstage/issues/6057#issuecomment-862822002
368
-
369
- ### 0.1.2
370
-
371
- - Fix the dependency version of Markdown to ensure GraphViz SVG rendering works.
372
-
373
- ### 0.1.1
374
-
375
- - Ensure required mkdocs-monorepo-plugin is compatible with Mkdocs `1.2.x`.
376
-
377
- ### 0.1.0
378
-
379
- - Improved dependency compatibility with other mkdocs plugins.
380
- - Upgraded mkdocs minimum to `1.2.2`
381
-
382
- ### 0.0.16
383
-
384
- - Reused data from `requirements.txt` file in `install_requires` of `setup.py`. [#24](https://github.com/backstage/mkdocs-techdocs-core/pull/24)
385
-
386
- ### 0.0.15
387
-
388
- - Upgrade monorepo to track latest patch, includes various bug fixes. [#22](https://github.com/backstage/mkdocs-techdocs-core/pull/22)
389
-
390
- ### 0.0.14
391
-
392
- - Upgrade plantuml-markdown to 3.4.2 with support for external file sources. [#18](https://github.com/backstage/mkdocs-techdocs-core/pull/18)
393
-
394
- ### 0.0.13
395
-
396
- - Fixed issue where the whole temp directory could be included in the built site output. [#7](https://github.com/backstage/mkdocs-techdocs-core/issues/7)
397
-
398
- ### 0.0.12
399
-
400
- - Updated home repository to be the new https://github.com/backstage/mkdocs-techdocs-core
401
-
402
- ### 0.0.11
403
-
404
- - Any MkDocs plugin configurations from mkdocs.yml will now work and override the default configuration. See https://github.com/backstage/backstage/issues/3017
405
-
406
- ### 0.0.10
407
-
408
- - Pin Markdown version to fix issue with Graphviz
409
-
410
- ### 0.0.9
411
-
412
- - Change development status to 3 - Alpha
413
-
414
- ### 0.0.8
415
-
416
- - Superfences and Codehilite doesn't work very well together (squidfunk/mkdocs-material#1604) so therefore the codehilite extension is replaced by pymdownx.highlight
417
-
418
- * Uses pymdownx extensions v.7.1 instead of 8.0.0 to allow legacy_tab_classes config. This makes the techdocs core plugin compatible with the usage of tabs for grouping markdown with the following syntax:
419
-
420
- ````
421
- ```java tab="java 2"
422
- public void function() {
423
- ....
424
- }
425
- ```
426
- ````
427
-
428
- as well as the new
429
-
430
- ````
431
- === "Java"
432
-
433
- ```java
434
- public void function() {
435
- ....
436
- }
437
- ```
438
- ````
439
-
440
- The pymdownx extension will be bumped too 8.0.0 in the near future.
441
-
442
- - pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
443
-
444
- - "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
445
-
446
- ### 0.0.7
447
-
448
- - Fix an issue with configuration of emoji support
449
-
450
- ### 0.0.6
451
-
452
- - Further adjustments to versions to find ones that are compatible
453
-
454
- ### 0.0.5
455
-
456
- - Downgrade some versions of markdown extensions to versions that are more stable
457
-
458
- ### 0.0.4
459
-
460
- - Added support for more mkdocs extensions
461
- - mkdocs-material
462
- - mkdocs-monorepo-plugin
463
- - plantuml-markdown
464
- - markdown_inline_graphviz_extension
465
- - pygments
466
- - pymdown-extensions
467
-
468
197
  ## License
469
198
 
470
199
  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
@@ -94,8 +94,13 @@ techdocs:
94
94
 
95
95
  ### Release
96
96
 
97
- 1. Update the [Changelog](https://github.com/backstage/mkdocs-techdocs-core/blob/main/README.md#changelog).
98
- 2. Bump up the version number in `setup.py` which triggers the release workflow on [GitHub Actions](.github/workflows/pypi-publish.yml) to publish a new version in PyPI.
97
+ In order to publish a release, you must manually dispatch the [`manual-versioning`](https://github.com/backstage/mkdocs-techdocs-core/actions/workflows/manual-versioning.yml) GitHub Action. Please see the official GitHub documentation on [Manual Workflows](https://docs.github.com/en/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow?tool=webui) for full instructions.
98
+
99
+ > [!TIP]
100
+ > If you decide to provide an explicit `levelBump`, please respect SemVer. When left empty, PSR will determine the best version bump based on the commits since the previous release. Automatic Versioning does rely on `conventional-commits` which is **not** enforced within this project.
101
+
102
+ This project utilizes PSR (Python Semantic Release) to create releases.
103
+ Release Notes will be generated from commit messages and the [CHANGELOG.md](CHANGELOG.md) will be automatically updated with all commits since the previous release.
99
104
 
100
105
  ## MkDocs plugins and extensions
101
106
 
@@ -151,275 +156,12 @@ build container).
151
156
 
152
157
  ## Caveats
153
158
 
159
+ ## [Changelog](CHANGELOG.md)
160
+
154
161
  ### Theme
155
162
 
156
163
  We only use `material-mkdocs` as base styles because Backstage also uses the `Material UI` on the client-side. We don't expect people to use themes other than `Material UI` to maintain consistency across all Backstage pages (in other words, documentation pages have the same look and feel as any other Backstage page) and so we use the `BackstageTheme` configured in Front-end application as the source of truth for all application design tokens like colors, typography and etc. So here you can [see](https://github.com/backstage/backstage/blob/master/plugins/techdocs/src/reader/components/TechDocsReaderPageContent/dom.tsx#L160-L692) that some styles will always be overridden regardless of the `mkdocs-material` plugin theme settings and this can cause unexpected behavior for those who override the theme setting in a `mkdocs.yaml` file.
157
164
 
158
- ## Changelog
159
-
160
- ### 1.5.4
161
-
162
- - Added proper plugin config to fix `Unrecognised configuration name` error when any config is provided
163
-
164
- ### 1.5.3
165
-
166
- - Added support for PyMdown Blocks extensions
167
-
168
- ### 1.5.2
169
-
170
- - Update `markdown_inline_graphviz_extension` to use forked `markdown-graphviz-inline` instead due to abandonment of original dependency.
171
-
172
- ### 1.5.1
173
-
174
- - Minimum supported Python version is now 3.9
175
- - Update dependency `mkdocs-material` to v9.5.46
176
- - Update dependency `mkdocs-redirects` to v1.2.2
177
-
178
- ### 1.5.0
179
-
180
- - Renamed package namespace from `src` to `techdocs_core`
181
- - Fix small deprecation in tests (`assertEquals` -> `assertEqual`) as it was deprecated since Python 3.2 and removed in 3.12
182
-
183
- ### 1.4.2
184
-
185
- - 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)
186
-
187
- ### 1.4.1
188
-
189
- - Introduced mkdocs-redirects plugin (v`1.2.1`).
190
-
191
- ### 1.4.0
192
-
193
- - Updated minimum mkdocs dependency from `1.5` to `1.6`
194
- - Fixes issue [#187](https://github.com/backstage/mkdocs-techdocs-core/issues/187)
195
- - mkdocs-material bumped to `9.5.27`
196
-
197
- ### 1.3.6
198
-
199
- - Bumped `mkdocs-material` to `9.5.26`.
200
-
201
- ### 1.3.5
202
-
203
- - Bumped `mkdocs-material` to `9.5.13` which adds support for card grids and grid layouts
204
-
205
- ### 1.3.3
206
-
207
- - 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
208
- - Added tests for `Python` version `3.11`
209
-
210
- ### 1.3.2
211
-
212
- - Bumped `pymdown-extensions` to `10.3.1` which add material.extensions support
213
- - Removed support for `Python` version `3.7`
214
-
215
- ### 1.3.1
216
-
217
- - Bumped `pygments` to `2.17.2` which includes JSX support.
218
-
219
- ### 1.3
220
-
221
- - Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
222
- - MkDocs dependency is now `1.5`
223
- - `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
224
-
225
- ### 1.2.3
226
-
227
- - Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p).
228
- - Update dependency `plantuml-markdown` to `3.9.2`.
229
-
230
- ### 1.2.2
231
-
232
- - 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.
233
-
234
- ### 1.2.1
235
-
236
- - Use latest version of `pymdown-extensions` which contains [security fixes](https://github.com/backstage/mkdocs-techdocs-core/pull/123).
237
-
238
- ### 1.2.0
239
-
240
- - Updated `mkdocs-material` (and its dependencies) from `8.1.11` to `9.1.3` causing a few changes:
241
- - 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
242
- - `navigation.footer`
243
- - `content.action.edit`
244
- - `theme.palette` is now hardcoded to `""` to preserve previous behavior. Without hardcoding the palette, it gets the value `default`, causing unwanted visual changes.
245
- - Some components e.g. admonitions have a slightly different look.
246
- - Minor color changes that can be avoided by also updating to the latest version of `@backstage/plugin-techdocs` which compensates these changes.
247
-
248
- ### 1.1.7
249
-
250
- - Updated `mkdocs-monorepo-plugin` to `1.0.4`, which includes a compatibility
251
- fix for `mkdocs` versions `1.4.0` and newer.
252
-
253
- ### 1.1.6
254
-
255
- - Removed pins on the `pyparsing` and `Jinja2` dependencies, which are no
256
- longer needed.
257
- - Pinned `mkdocs-monorepo-plugin` and `markdown_inline_graphviz_extension` to
258
- specific (latest) releases to improve stability. Going forward, these (along
259
- with all other feature-related deps) will be bumped regularly and any changes
260
- will be reflected in this changelog.
261
-
262
- ### 1.1.5
263
-
264
- - Added support for Python 3.10 [#73](https://github.com/backstage/mkdocs-techdocs-core/pull/73)
265
- - Resolved a run-time error introduced in `1.1.4` that prevented sites from
266
- being built under certain circumstances.
267
-
268
- ### 1.1.4
269
-
270
- - Support markdown version >3.2,<4
271
- - Use markdown_inline_graphviz_extension 1.1.1 which supports svg rendering for markdown >=3.3
272
-
273
- ### 1.1.3
274
-
275
- - Upgraded `plantuml-markdown` to `3.5.1`, which removes `uuid` as a dependency.
276
-
277
- ### 1.1.2
278
-
279
- - Simplify theme code to update only the attribute necessary by backstage.
280
-
281
- ### 1.1.1
282
-
283
- - Fix run-time `AttributeError: 'Theme' object has no attribute 'copy'`
284
-
285
- ### 1.1.0
286
-
287
- - Add new capability to override mkdocs theme attributes
288
-
289
- > **Note:** Look the caveats section in readme about the Backstage theme consideration
290
-
291
- ### 1.0.2
292
-
293
- - Bumped `pymdown-extensions` to 9.3 and enabled `pygments_lang_class` to allow easier targeting of codeblocks by language in TechDocs Addons.
294
-
295
- ### 1.0.1
296
-
297
- `Jinja2` pinned to v3.0.3.
298
-
299
- ### 1.0.0
300
-
301
- - This package has been promoted to v1.0!
302
-
303
- > **Note:** Going forward, this package will follow [semver](https://semver.org/#semantic-versioning-200) conventions.
304
-
305
- ### 0.2.3
306
-
307
- - Upgrade mkdocs-material and its dependencies
308
-
309
- ### 0.2.2
310
-
311
- - Update `plantuml-markdown` version to 3.5.0 for image maps support
312
-
313
- ### 0.2.1
314
-
315
- - Fix run-time `module 'pyparsing' has no attribute 'downcaseTokens'` error as
316
- a result of shifting python dependencies.
317
- - Update to latest `mkdocs-monorepo-plugin`, which allows use of `.yaml` file
318
- extensions and non-slug-like `site_name`s in monorepos.
319
-
320
- ### 0.2.0
321
-
322
- - Add mdx_truly_sane_lists for dealing with the very annoying bullet differences in mkdocs vs commonmark / gf markdown. See https://github.com/backstage/backstage/issues/6057#issuecomment-862822002
323
-
324
- ### 0.1.2
325
-
326
- - Fix the dependency version of Markdown to ensure GraphViz SVG rendering works.
327
-
328
- ### 0.1.1
329
-
330
- - Ensure required mkdocs-monorepo-plugin is compatible with Mkdocs `1.2.x`.
331
-
332
- ### 0.1.0
333
-
334
- - Improved dependency compatibility with other mkdocs plugins.
335
- - Upgraded mkdocs minimum to `1.2.2`
336
-
337
- ### 0.0.16
338
-
339
- - Reused data from `requirements.txt` file in `install_requires` of `setup.py`. [#24](https://github.com/backstage/mkdocs-techdocs-core/pull/24)
340
-
341
- ### 0.0.15
342
-
343
- - Upgrade monorepo to track latest patch, includes various bug fixes. [#22](https://github.com/backstage/mkdocs-techdocs-core/pull/22)
344
-
345
- ### 0.0.14
346
-
347
- - Upgrade plantuml-markdown to 3.4.2 with support for external file sources. [#18](https://github.com/backstage/mkdocs-techdocs-core/pull/18)
348
-
349
- ### 0.0.13
350
-
351
- - Fixed issue where the whole temp directory could be included in the built site output. [#7](https://github.com/backstage/mkdocs-techdocs-core/issues/7)
352
-
353
- ### 0.0.12
354
-
355
- - Updated home repository to be the new https://github.com/backstage/mkdocs-techdocs-core
356
-
357
- ### 0.0.11
358
-
359
- - Any MkDocs plugin configurations from mkdocs.yml will now work and override the default configuration. See https://github.com/backstage/backstage/issues/3017
360
-
361
- ### 0.0.10
362
-
363
- - Pin Markdown version to fix issue with Graphviz
364
-
365
- ### 0.0.9
366
-
367
- - Change development status to 3 - Alpha
368
-
369
- ### 0.0.8
370
-
371
- - Superfences and Codehilite doesn't work very well together (squidfunk/mkdocs-material#1604) so therefore the codehilite extension is replaced by pymdownx.highlight
372
-
373
- * Uses pymdownx extensions v.7.1 instead of 8.0.0 to allow legacy_tab_classes config. This makes the techdocs core plugin compatible with the usage of tabs for grouping markdown with the following syntax:
374
-
375
- ````
376
- ```java tab="java 2"
377
- public void function() {
378
- ....
379
- }
380
- ```
381
- ````
382
-
383
- as well as the new
384
-
385
- ````
386
- === "Java"
387
-
388
- ```java
389
- public void function() {
390
- ....
391
- }
392
- ```
393
- ````
394
-
395
- The pymdownx extension will be bumped too 8.0.0 in the near future.
396
-
397
- - pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
398
-
399
- - "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
400
-
401
- ### 0.0.7
402
-
403
- - Fix an issue with configuration of emoji support
404
-
405
- ### 0.0.6
406
-
407
- - Further adjustments to versions to find ones that are compatible
408
-
409
- ### 0.0.5
410
-
411
- - Downgrade some versions of markdown extensions to versions that are more stable
412
-
413
- ### 0.0.4
414
-
415
- - Added support for more mkdocs extensions
416
- - mkdocs-material
417
- - mkdocs-monorepo-plugin
418
- - plantuml-markdown
419
- - markdown_inline_graphviz_extension
420
- - pygments
421
- - pymdown-extensions
422
-
423
165
  ## License
424
166
 
425
167
  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
@@ -1,16 +1,13 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: mkdocs-techdocs-core
3
- Version: 1.5.4
3
+ Version: 1.6.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
- Home-page: https://github.com/backstage/mkdocs-techdocs-core
6
- Author: TechDocs Core
7
- Author-email: protean@spotify.com
8
- License: Apache-2.0
5
+ Author-email: TechDocs Core <protean@spotify.com>
6
+ License-Expression: Apache-2.0
9
7
  Keywords: mkdocs
10
8
  Classifier: Development Status :: 3 - Alpha
11
9
  Classifier: Intended Audience :: Developers
12
10
  Classifier: Intended Audience :: Information Technology
13
- Classifier: License :: OSI Approved :: Apache Software License
14
11
  Classifier: Programming Language :: Python
15
12
  Classifier: Programming Language :: Python :: 3 :: Only
16
13
  Classifier: Programming Language :: Python :: 3.9
@@ -22,26 +19,16 @@ Requires-Python: >=3.9
22
19
  Description-Content-Type: text/markdown
23
20
  License-File: LICENSE
24
21
  Requires-Dist: mkdocs>=1.6
25
- Requires-Dist: Markdown<3.8,>=3.2
26
- Requires-Dist: mkdocs-material==9.6.8
22
+ Requires-Dist: Markdown<3.11,>=3.2
23
+ Requires-Dist: mkdocs-material==9.7.1
27
24
  Requires-Dist: markdown-graphviz-inline==1.1.3
28
- Requires-Dist: mkdocs-monorepo-plugin==1.1.0
25
+ Requires-Dist: mkdocs-monorepo-plugin==1.1.2
29
26
  Requires-Dist: plantuml-markdown==3.11.1
30
27
  Requires-Dist: mdx_truly_sane_lists==1.3
31
- Requires-Dist: pymdown-extensions==10.14.3
32
- Requires-Dist: pygments==2.19.1
28
+ Requires-Dist: pymdown-extensions==10.19.1
29
+ Requires-Dist: pygments==2.19.2
33
30
  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
31
+ Dynamic: license-file
45
32
 
46
33
  # mkdocs-techdocs-core
47
34
 
@@ -139,8 +126,13 @@ techdocs:
139
126
 
140
127
  ### Release
141
128
 
142
- 1. Update the [Changelog](https://github.com/backstage/mkdocs-techdocs-core/blob/main/README.md#changelog).
143
- 2. Bump up the version number in `setup.py` which triggers the release workflow on [GitHub Actions](.github/workflows/pypi-publish.yml) to publish a new version in PyPI.
129
+ In order to publish a release, you must manually dispatch the [`manual-versioning`](https://github.com/backstage/mkdocs-techdocs-core/actions/workflows/manual-versioning.yml) GitHub Action. Please see the official GitHub documentation on [Manual Workflows](https://docs.github.com/en/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow?tool=webui) for full instructions.
130
+
131
+ > [!TIP]
132
+ > If you decide to provide an explicit `levelBump`, please respect SemVer. When left empty, PSR will determine the best version bump based on the commits since the previous release. Automatic Versioning does rely on `conventional-commits` which is **not** enforced within this project.
133
+
134
+ This project utilizes PSR (Python Semantic Release) to create releases.
135
+ Release Notes will be generated from commit messages and the [CHANGELOG.md](CHANGELOG.md) will be automatically updated with all commits since the previous release.
144
136
 
145
137
  ## MkDocs plugins and extensions
146
138
 
@@ -196,275 +188,12 @@ build container).
196
188
 
197
189
  ## Caveats
198
190
 
191
+ ## [Changelog](CHANGELOG.md)
192
+
199
193
  ### Theme
200
194
 
201
195
  We only use `material-mkdocs` as base styles because Backstage also uses the `Material UI` on the client-side. We don't expect people to use themes other than `Material UI` to maintain consistency across all Backstage pages (in other words, documentation pages have the same look and feel as any other Backstage page) and so we use the `BackstageTheme` configured in Front-end application as the source of truth for all application design tokens like colors, typography and etc. So here you can [see](https://github.com/backstage/backstage/blob/master/plugins/techdocs/src/reader/components/TechDocsReaderPageContent/dom.tsx#L160-L692) that some styles will always be overridden regardless of the `mkdocs-material` plugin theme settings and this can cause unexpected behavior for those who override the theme setting in a `mkdocs.yaml` file.
202
196
 
203
- ## Changelog
204
-
205
- ### 1.5.4
206
-
207
- - Added proper plugin config to fix `Unrecognised configuration name` error when any config is provided
208
-
209
- ### 1.5.3
210
-
211
- - Added support for PyMdown Blocks extensions
212
-
213
- ### 1.5.2
214
-
215
- - Update `markdown_inline_graphviz_extension` to use forked `markdown-graphviz-inline` instead due to abandonment of original dependency.
216
-
217
- ### 1.5.1
218
-
219
- - Minimum supported Python version is now 3.9
220
- - Update dependency `mkdocs-material` to v9.5.46
221
- - Update dependency `mkdocs-redirects` to v1.2.2
222
-
223
- ### 1.5.0
224
-
225
- - Renamed package namespace from `src` to `techdocs_core`
226
- - Fix small deprecation in tests (`assertEquals` -> `assertEqual`) as it was deprecated since Python 3.2 and removed in 3.12
227
-
228
- ### 1.4.2
229
-
230
- - 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)
231
-
232
- ### 1.4.1
233
-
234
- - Introduced mkdocs-redirects plugin (v`1.2.1`).
235
-
236
- ### 1.4.0
237
-
238
- - Updated minimum mkdocs dependency from `1.5` to `1.6`
239
- - Fixes issue [#187](https://github.com/backstage/mkdocs-techdocs-core/issues/187)
240
- - mkdocs-material bumped to `9.5.27`
241
-
242
- ### 1.3.6
243
-
244
- - Bumped `mkdocs-material` to `9.5.26`.
245
-
246
- ### 1.3.5
247
-
248
- - Bumped `mkdocs-material` to `9.5.13` which adds support for card grids and grid layouts
249
-
250
- ### 1.3.3
251
-
252
- - 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
253
- - Added tests for `Python` version `3.11`
254
-
255
- ### 1.3.2
256
-
257
- - Bumped `pymdown-extensions` to `10.3.1` which add material.extensions support
258
- - Removed support for `Python` version `3.7`
259
-
260
- ### 1.3.1
261
-
262
- - Bumped `pygments` to `2.17.2` which includes JSX support.
263
-
264
- ### 1.3
265
-
266
- - Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
267
- - MkDocs dependency is now `1.5`
268
- - `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
269
-
270
- ### 1.2.3
271
-
272
- - Bumped `pygments` to `2.16.1`, which also fixes a [vulnerability](https://github.com/advisories/GHSA-mrwq-x4v8-fh7p).
273
- - Update dependency `plantuml-markdown` to `3.9.2`.
274
-
275
- ### 1.2.2
276
-
277
- - 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.
278
-
279
- ### 1.2.1
280
-
281
- - Use latest version of `pymdown-extensions` which contains [security fixes](https://github.com/backstage/mkdocs-techdocs-core/pull/123).
282
-
283
- ### 1.2.0
284
-
285
- - Updated `mkdocs-material` (and its dependencies) from `8.1.11` to `9.1.3` causing a few changes:
286
- - 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
287
- - `navigation.footer`
288
- - `content.action.edit`
289
- - `theme.palette` is now hardcoded to `""` to preserve previous behavior. Without hardcoding the palette, it gets the value `default`, causing unwanted visual changes.
290
- - Some components e.g. admonitions have a slightly different look.
291
- - Minor color changes that can be avoided by also updating to the latest version of `@backstage/plugin-techdocs` which compensates these changes.
292
-
293
- ### 1.1.7
294
-
295
- - Updated `mkdocs-monorepo-plugin` to `1.0.4`, which includes a compatibility
296
- fix for `mkdocs` versions `1.4.0` and newer.
297
-
298
- ### 1.1.6
299
-
300
- - Removed pins on the `pyparsing` and `Jinja2` dependencies, which are no
301
- longer needed.
302
- - Pinned `mkdocs-monorepo-plugin` and `markdown_inline_graphviz_extension` to
303
- specific (latest) releases to improve stability. Going forward, these (along
304
- with all other feature-related deps) will be bumped regularly and any changes
305
- will be reflected in this changelog.
306
-
307
- ### 1.1.5
308
-
309
- - Added support for Python 3.10 [#73](https://github.com/backstage/mkdocs-techdocs-core/pull/73)
310
- - Resolved a run-time error introduced in `1.1.4` that prevented sites from
311
- being built under certain circumstances.
312
-
313
- ### 1.1.4
314
-
315
- - Support markdown version >3.2,<4
316
- - Use markdown_inline_graphviz_extension 1.1.1 which supports svg rendering for markdown >=3.3
317
-
318
- ### 1.1.3
319
-
320
- - Upgraded `plantuml-markdown` to `3.5.1`, which removes `uuid` as a dependency.
321
-
322
- ### 1.1.2
323
-
324
- - Simplify theme code to update only the attribute necessary by backstage.
325
-
326
- ### 1.1.1
327
-
328
- - Fix run-time `AttributeError: 'Theme' object has no attribute 'copy'`
329
-
330
- ### 1.1.0
331
-
332
- - Add new capability to override mkdocs theme attributes
333
-
334
- > **Note:** Look the caveats section in readme about the Backstage theme consideration
335
-
336
- ### 1.0.2
337
-
338
- - Bumped `pymdown-extensions` to 9.3 and enabled `pygments_lang_class` to allow easier targeting of codeblocks by language in TechDocs Addons.
339
-
340
- ### 1.0.1
341
-
342
- `Jinja2` pinned to v3.0.3.
343
-
344
- ### 1.0.0
345
-
346
- - This package has been promoted to v1.0!
347
-
348
- > **Note:** Going forward, this package will follow [semver](https://semver.org/#semantic-versioning-200) conventions.
349
-
350
- ### 0.2.3
351
-
352
- - Upgrade mkdocs-material and its dependencies
353
-
354
- ### 0.2.2
355
-
356
- - Update `plantuml-markdown` version to 3.5.0 for image maps support
357
-
358
- ### 0.2.1
359
-
360
- - Fix run-time `module 'pyparsing' has no attribute 'downcaseTokens'` error as
361
- a result of shifting python dependencies.
362
- - Update to latest `mkdocs-monorepo-plugin`, which allows use of `.yaml` file
363
- extensions and non-slug-like `site_name`s in monorepos.
364
-
365
- ### 0.2.0
366
-
367
- - Add mdx_truly_sane_lists for dealing with the very annoying bullet differences in mkdocs vs commonmark / gf markdown. See https://github.com/backstage/backstage/issues/6057#issuecomment-862822002
368
-
369
- ### 0.1.2
370
-
371
- - Fix the dependency version of Markdown to ensure GraphViz SVG rendering works.
372
-
373
- ### 0.1.1
374
-
375
- - Ensure required mkdocs-monorepo-plugin is compatible with Mkdocs `1.2.x`.
376
-
377
- ### 0.1.0
378
-
379
- - Improved dependency compatibility with other mkdocs plugins.
380
- - Upgraded mkdocs minimum to `1.2.2`
381
-
382
- ### 0.0.16
383
-
384
- - Reused data from `requirements.txt` file in `install_requires` of `setup.py`. [#24](https://github.com/backstage/mkdocs-techdocs-core/pull/24)
385
-
386
- ### 0.0.15
387
-
388
- - Upgrade monorepo to track latest patch, includes various bug fixes. [#22](https://github.com/backstage/mkdocs-techdocs-core/pull/22)
389
-
390
- ### 0.0.14
391
-
392
- - Upgrade plantuml-markdown to 3.4.2 with support for external file sources. [#18](https://github.com/backstage/mkdocs-techdocs-core/pull/18)
393
-
394
- ### 0.0.13
395
-
396
- - Fixed issue where the whole temp directory could be included in the built site output. [#7](https://github.com/backstage/mkdocs-techdocs-core/issues/7)
397
-
398
- ### 0.0.12
399
-
400
- - Updated home repository to be the new https://github.com/backstage/mkdocs-techdocs-core
401
-
402
- ### 0.0.11
403
-
404
- - Any MkDocs plugin configurations from mkdocs.yml will now work and override the default configuration. See https://github.com/backstage/backstage/issues/3017
405
-
406
- ### 0.0.10
407
-
408
- - Pin Markdown version to fix issue with Graphviz
409
-
410
- ### 0.0.9
411
-
412
- - Change development status to 3 - Alpha
413
-
414
- ### 0.0.8
415
-
416
- - Superfences and Codehilite doesn't work very well together (squidfunk/mkdocs-material#1604) so therefore the codehilite extension is replaced by pymdownx.highlight
417
-
418
- * Uses pymdownx extensions v.7.1 instead of 8.0.0 to allow legacy_tab_classes config. This makes the techdocs core plugin compatible with the usage of tabs for grouping markdown with the following syntax:
419
-
420
- ````
421
- ```java tab="java 2"
422
- public void function() {
423
- ....
424
- }
425
- ```
426
- ````
427
-
428
- as well as the new
429
-
430
- ````
431
- === "Java"
432
-
433
- ```java
434
- public void function() {
435
- ....
436
- }
437
- ```
438
- ````
439
-
440
- The pymdownx extension will be bumped too 8.0.0 in the near future.
441
-
442
- - pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
443
-
444
- - "PyMdown Extensions includes three extensions that are meant to replace their counterpart in the default Python Markdown extensions." Therefore some extensions has been taken away in this version that comes by default from pymdownx.extra which is added now (https://facelessuser.github.io/pymdown-extensions/usage_notes/#incompatible-extensions)
445
-
446
- ### 0.0.7
447
-
448
- - Fix an issue with configuration of emoji support
449
-
450
- ### 0.0.6
451
-
452
- - Further adjustments to versions to find ones that are compatible
453
-
454
- ### 0.0.5
455
-
456
- - Downgrade some versions of markdown extensions to versions that are more stable
457
-
458
- ### 0.0.4
459
-
460
- - Added support for more mkdocs extensions
461
- - mkdocs-material
462
- - mkdocs-monorepo-plugin
463
- - plantuml-markdown
464
- - markdown_inline_graphviz_extension
465
- - pygments
466
- - pymdown-extensions
467
-
468
197
  ## License
469
198
 
470
199
  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
@@ -1,6 +1,7 @@
1
1
  LICENSE
2
2
  README.md
3
- setup.py
3
+ pyproject.toml
4
+ requirements.txt
4
5
  mkdocs_techdocs_core.egg-info/PKG-INFO
5
6
  mkdocs_techdocs_core.egg-info/SOURCES.txt
6
7
  mkdocs_techdocs_core.egg-info/dependency_links.txt
@@ -1,10 +1,10 @@
1
1
  mkdocs>=1.6
2
- Markdown<3.8,>=3.2
3
- mkdocs-material==9.6.8
2
+ Markdown<3.11,>=3.2
3
+ mkdocs-material==9.7.1
4
4
  markdown-graphviz-inline==1.1.3
5
- mkdocs-monorepo-plugin==1.1.0
5
+ mkdocs-monorepo-plugin==1.1.2
6
6
  plantuml-markdown==3.11.1
7
7
  mdx_truly_sane_lists==1.3
8
- pymdown-extensions==10.14.3
9
- pygments==2.19.1
8
+ pymdown-extensions==10.19.1
9
+ pygments==2.19.2
10
10
  mkdocs-redirects==1.2.2
@@ -0,0 +1,41 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+
7
+ name = "mkdocs-techdocs-core"
8
+ version = "1.6.1"
9
+ description = """The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions"""
10
+ readme = "README.md"
11
+ requires-python = ">=3.9"
12
+ license = "Apache-2.0"
13
+ keywords = ["mkdocs"]
14
+ authors = [
15
+ {name = "TechDocs Core", email = "protean@spotify.com"}
16
+ ]
17
+ classifiers = [
18
+ "Development Status :: 3 - Alpha",
19
+ "Intended Audience :: Developers",
20
+ "Intended Audience :: Information Technology",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3 :: Only",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ ]
29
+ dynamic = ["dependencies"]
30
+
31
+ [project.entry-points]
32
+ "mkdocs.plugins" = {"techdocs-core" = "techdocs_core.core:TechDocsCore"}
33
+
34
+ [tool.setuptools.dynamic]
35
+ dependencies = {file = ["requirements.txt"]}
36
+
37
+ [tool.setuptools.packages.find]
38
+ include = ["techdocs_core"]
39
+
40
+ [tool.semantic_release]
41
+ version_toml = ["pyproject.toml:project.version"]
@@ -2,20 +2,20 @@
2
2
  # as ranges in order to support interoperability with other mkdocs plugins or
3
3
  # packages that might otherwise exist in an adopter's environment.
4
4
  mkdocs>=1.6
5
- Markdown>=3.2,<3.8
5
+ Markdown>=3.2,<3.11
6
6
 
7
7
  # The following are more akin to direct dependencies. Each line represents one
8
8
  # or more features that are provided by `techdocs-core`, and thus are always
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.6.8
12
+ mkdocs-material==9.7.1
13
13
  markdown-graphviz-inline==1.1.3
14
- mkdocs-monorepo-plugin==1.1.0
14
+ mkdocs-monorepo-plugin==1.1.2
15
15
  plantuml-markdown==3.11.1
16
16
  mdx_truly_sane_lists==1.3
17
- pymdown-extensions==10.14.3
18
- pygments==2.19.1
17
+ pymdown-extensions==10.19.1
18
+ pygments==2.19.2
19
19
  mkdocs-redirects==1.2.2
20
20
 
21
21
  # The following are temporary dependencies that are only necessary to work
@@ -1,60 +0,0 @@
1
- """
2
- Copyright 2020-2024 The Backstage Authors
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- """
16
-
17
- from setuptools import setup, find_packages
18
- from os import path
19
-
20
- # Read the contents of the README file in the current directory
21
- this_dir = path.abspath(path.dirname(__file__))
22
- with open(path.join(this_dir, "README.md"), encoding="utf-8") as file:
23
- long_description = file.read()
24
-
25
- # Read the contents of the requirements.txt file
26
- with open("requirements.txt") as f:
27
- required = f.read().splitlines()
28
-
29
- setup(
30
- name="mkdocs-techdocs-core",
31
- version="1.5.4",
32
- description="The core MkDocs plugin used by Backstage's TechDocs as a wrapper around "
33
- "multiple MkDocs plugins and Python Markdown extensions",
34
- long_description=long_description,
35
- long_description_content_type="text/markdown",
36
- keywords="mkdocs",
37
- url="https://github.com/backstage/mkdocs-techdocs-core",
38
- author="TechDocs Core",
39
- author_email="protean@spotify.com",
40
- license="Apache-2.0",
41
- python_requires=">=3.9",
42
- install_requires=required,
43
- classifiers=[
44
- "Development Status :: 3 - Alpha",
45
- "Intended Audience :: Developers",
46
- "Intended Audience :: Information Technology",
47
- "License :: OSI Approved :: Apache Software License",
48
- "Programming Language :: Python",
49
- "Programming Language :: Python :: 3 :: Only",
50
- "Programming Language :: Python :: 3.9",
51
- "Programming Language :: Python :: 3.10",
52
- "Programming Language :: Python :: 3.11",
53
- "Programming Language :: Python :: 3.12",
54
- "Programming Language :: Python :: 3.13",
55
- ],
56
- packages=find_packages(),
57
- entry_points={
58
- "mkdocs.plugins": ["techdocs-core = techdocs_core.core:TechDocsCore"]
59
- },
60
- )