mkdocs-techdocs-core 1.4.2__tar.gz → 1.5.2__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 (20) hide show
  1. mkdocs_techdocs_core-1.5.2/LICENSE +201 -0
  2. mkdocs_techdocs_core-1.5.2/PKG-INFO +456 -0
  3. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/README.md +54 -26
  4. mkdocs_techdocs_core-1.5.2/mkdocs_techdocs_core.egg-info/PKG-INFO +456 -0
  5. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/mkdocs_techdocs_core.egg-info/SOURCES.txt +4 -3
  6. mkdocs_techdocs_core-1.5.2/mkdocs_techdocs_core.egg-info/entry_points.txt +2 -0
  7. mkdocs_techdocs_core-1.5.2/mkdocs_techdocs_core.egg-info/requires.txt +10 -0
  8. mkdocs_techdocs_core-1.5.2/mkdocs_techdocs_core.egg-info/top_level.txt +1 -0
  9. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/requirements.txt +7 -7
  10. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/setup.py +10 -4
  11. {mkdocs-techdocs-core-1.4.2/src → mkdocs_techdocs_core-1.5.2/techdocs_core}/test_core.py +4 -2
  12. mkdocs-techdocs-core-1.4.2/PKG-INFO +0 -403
  13. mkdocs-techdocs-core-1.4.2/mkdocs_techdocs_core.egg-info/PKG-INFO +0 -403
  14. mkdocs-techdocs-core-1.4.2/mkdocs_techdocs_core.egg-info/entry_points.txt +0 -3
  15. mkdocs-techdocs-core-1.4.2/mkdocs_techdocs_core.egg-info/requires.txt +0 -10
  16. mkdocs-techdocs-core-1.4.2/mkdocs_techdocs_core.egg-info/top_level.txt +0 -1
  17. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/mkdocs_techdocs_core.egg-info/dependency_links.txt +0 -0
  18. {mkdocs-techdocs-core-1.4.2 → mkdocs_techdocs_core-1.5.2}/setup.cfg +0 -0
  19. {mkdocs-techdocs-core-1.4.2/src → mkdocs_techdocs_core-1.5.2/techdocs_core}/__init__.py +0 -0
  20. {mkdocs-techdocs-core-1.4.2/src → mkdocs_techdocs_core-1.5.2/techdocs_core}/core.py +0 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2020-21 The Backstage Authors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,456 @@
1
+ Metadata-Version: 2.2
2
+ Name: mkdocs-techdocs-core
3
+ Version: 1.5.2
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
9
+ Keywords: mkdocs
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Information Technology
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3 :: Only
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
22
+ Description-Content-Type: text/markdown
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
45
+
46
+ # mkdocs-techdocs-core
47
+
48
+ This is the base [Mkdocs](https://mkdocs.org) plugin used when using Mkdocs with Spotify's [TechDocs](https://backstage.io/docs/features/techdocs/techdocs-overview). It is written in Python and packages all of our Mkdocs defaults, such as theming, plugins, etc in a single plugin.
49
+
50
+ [![Package on PyPI](https://img.shields.io/pypi/v/mkdocs-techdocs-core)](https://pypi.org/project/mkdocs-techdocs-core/)
51
+
52
+ ## Usage
53
+
54
+ > Requires Python version >= 3.8
55
+
56
+ ```bash
57
+ $ pip install mkdocs-techdocs-core
58
+ ```
59
+
60
+ Once you have installed the `mkdocs-techdocs-core` plugin, you'll need to add it to your `mkdocs.yml`.
61
+
62
+ ```yaml
63
+ site_name: Backstage Docs
64
+
65
+ nav:
66
+ - Home: index.md
67
+ - Developing a Plugin: developing-a-plugin.md
68
+
69
+ plugins:
70
+ - techdocs-core
71
+ ```
72
+
73
+ (Optional) To use material theme search to generate the `search/search_index.json` (responsible for the search functionality in the TechDocs reader), you need to add the following configuration to your `mkdocs.yml`:
74
+
75
+ ```yaml
76
+ plugins:
77
+ - techdocs-core:
78
+ use_material_search: true
79
+ ```
80
+
81
+ ## Development
82
+
83
+ ### Running Locally
84
+
85
+ You can install this package locally using `pip` and the `--editable` flag used for making developing Python packages.
86
+
87
+ ```bash
88
+ pip install --editable .
89
+ ```
90
+
91
+ You'll then have the `techdocs-core` package available to use in Mkdocs and `pip` will point the dependency to this folder.
92
+
93
+ ### Linting
94
+
95
+ We use [black](https://github.com/psf/black) as our linter. Please run it against your code before submitting a pull request.
96
+
97
+ ```bash
98
+ pip install black
99
+ black .
100
+ ```
101
+
102
+ **Note:** This will write to all Python files in `src/` with the formatted code. If you would like to only check to see if it passes, simply append the `--check` flag.
103
+
104
+ ### Testing Dependencies End-to-End
105
+
106
+ If you have made changes to the plugin itself, or updated a dependency it's
107
+ strongly recommended to test the plugin.
108
+
109
+ To build a version of the `spotify/techdocs` docker image with your changes,
110
+ run the below script in this repository:
111
+ ```bash
112
+ ./build-e2e-image.sh
113
+ ```
114
+ _The script is only tested on OSX_
115
+
116
+ The script assumes that you have the
117
+ [image repository](https://github.com/backstage/techdocs-container) cloned in a
118
+ sibling directory to this repository (or you can specify its location).
119
+
120
+ It will build an image called `mkdocs:local-dev` including the changes you
121
+ have made locally. To test the image in backstage, edit the config (e.g.
122
+ `app-config.yaml`) with the following:
123
+
124
+ ```yaml
125
+ techdocs:
126
+ generator:
127
+ runIn: "docker"
128
+ dockerImage: "mkdocs:local-dev"
129
+ pullImage: false
130
+ ```
131
+
132
+ ### Release
133
+
134
+ 1. Update the [Changelog](https://github.com/backstage/mkdocs-techdocs-core/blob/main/README.md#changelog).
135
+ 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.
136
+
137
+ ## MkDocs plugins and extensions
138
+
139
+ The TechDocs Core MkDocs plugin comes with a set of extensions and plugins that mkdocs supports. Below you can find a list of all extensions and plugins that are included in the
140
+ TechDocs Core plugin:
141
+
142
+ **Plugins**:
143
+
144
+ - [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
+ - [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).
146
+
147
+ **Extensions**:
148
+
149
+ - [admonition](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonitions): Admonitions, also known as call-outs, are an excellent choice for including side content without significantly interrupting the document flow. Material for MkDocs provides several different types of admonitions and allows for the inclusion and nesting of arbitrary content.
150
+ - [toc](https://python-markdown.github.io/extensions/toc/): The Table of Contents extension generates a Table of Contents from a Markdown document and adds it into the resulting HTML document.
151
+ This extension is included in the standard Markdown library.
152
+ - [pymdown](https://facelessuser.github.io/pymdown-extensions/): PyMdown Extensions is a collection of extensions for Python Markdown.
153
+ All extensions are found under the module namespace of pymdownx.
154
+ - caret: Caret is an extension that is syntactically built around the ^ character. It adds support for inserting superscripts and adds an easy way to place <ins>text</ins> in an <_ins_> tag.
155
+ - critic: Critic adds handling and support of Critic Markup.
156
+ - details: Details creates collapsible elements with <_details_> and <_summary_> tags.
157
+ - emoji: Emoji makes adding emoji via Markdown easy 😄.
158
+ - superfences: SuperFences is like Python Markdown's fences, but better. Nest fences under lists, admonitions, and other syntaxes. You can even create special custom fences for content like UML.
159
+ - inlinehilite: InlineHilite highlights inline code: from module import function as func.
160
+ - magiclink: MagicLink linkafies URL and email links without having to wrap them in Markdown syntax. Also, shortens repository issue, pull request, and commit links automatically for popular code hosting providers. You can even use special shorthand syntax to link to issues, diffs, and even mention people
161
+ - mark: Mark allows you to mark words easily.
162
+ - smartsymbols: SmartSymbols inserts commonly used Unicode characters via simple ASCII representations: =/= → ≠.
163
+ - highlight: Highlight allows you to configure the syntax highlighting of SuperFences and InlineHilite. Also passes standard Markdown indented code blocks through the syntax highlighter.
164
+ - extra: Extra is just like Python Markdown's Extra package except it uses PyMdown Extensions to substitute similar extensions.
165
+ - tabbed: Tabbed allows for tabbed Markdown content.
166
+ - tasklist: Tasklist allows inserting lists with check boxes.
167
+ - 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-graphviz/): A Python Markdown extension replaces inline Graphviz definitions with inline SVGs or PNGs.
169
+ Activate the inline_graphviz extension using the [usage instructions](https://github.com/sprin/markdown-inline-graphviz#usage).
170
+
171
+ - [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
+
173
+ - Note that the format `svg_object` is not supported for rendering diagrams. Read more in the [TechDocs troubleshooting](https://backstage.io/docs/features/techdocs/troubleshooting#plantuml-with-svg_object-doesnt-render) section.
174
+
175
+ - [mdx_truly_sane_lists](https://pypi.org/project/mdx-truly-sane-lists/): An extension for Python-Markdown that makes lists truly sane. Features custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.
176
+
177
+ ### Other plugins and extensions
178
+
179
+ Note that the above set of plugins and extensions represents an opinionated
180
+ list providing a core set of functionality necessary for most technical
181
+ documentation needs (hence: `techdocs-core`). PRs introducing new plugins or
182
+ extensions are welcome, but they are not guaranteed to be accepted.
183
+
184
+ In order to solve your organization's specific needs, you're encouraged to
185
+ install any necessary extensions/plugins in your own environment on top of
186
+ `techdocs-core` (be it the TechDocs backend container, or a custom TechDocs
187
+ build container).
188
+
189
+ ## Caveats
190
+
191
+ ### Theme
192
+
193
+ 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.
194
+
195
+ ## Changelog
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
+
212
+ ### 1.4.2
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)
215
+
216
+ ### 1.4.1
217
+
218
+ - Introduced mkdocs-redirects plugin (v`1.2.1`).
219
+
220
+ ### 1.4.0
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`
225
+
226
+ ### 1.3.6
227
+
228
+ - Bumped `mkdocs-material` to `9.5.26`.
229
+
230
+ ### 1.3.5
231
+
232
+ - Bumped `mkdocs-material` to `9.5.13` which adds support for card grids and grid layouts
233
+
234
+ ### 1.3.3
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`
238
+
239
+ ### 1.3.2
240
+
241
+ - Bumped `pymdown-extensions` to `10.3.1` which add material.extensions support
242
+ - Removed support for `Python` version `3.7`
243
+
244
+ ### 1.3.1
245
+
246
+ - Bumped `pygments` to `2.17.2` which includes JSX support.
247
+
248
+ ### 1.3
249
+
250
+ - Bumped `mkdocs-material` (and its dependencies) from `9.1.3` to `9.2.7` causing a few changes:
251
+ - MkDocs dependency is now `1.5`
252
+ - `theme.palette` is now hardcoded to `{}` instead of `""` which caused some issues with some Material plugins
253
+
254
+ ### 1.2.3
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`.
258
+
259
+ ### 1.2.2
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.
262
+
263
+ ### 1.2.1
264
+
265
+ - Use latest version of `pymdown-extensions` which contains [security fixes](https://github.com/backstage/mkdocs-techdocs-core/pull/123).
266
+
267
+ ### 1.2.0
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.
276
+
277
+ ### 1.1.7
278
+
279
+ - Updated `mkdocs-monorepo-plugin` to `1.0.4`, which includes a compatibility
280
+ fix for `mkdocs` versions `1.4.0` and newer.
281
+
282
+ ### 1.1.6
283
+
284
+ - Removed pins on the `pyparsing` and `Jinja2` dependencies, which are no
285
+ longer needed.
286
+ - Pinned `mkdocs-monorepo-plugin` and `markdown_inline_graphviz_extension` to
287
+ specific (latest) releases to improve stability. Going forward, these (along
288
+ with all other feature-related deps) will be bumped regularly and any changes
289
+ will be reflected in this changelog.
290
+
291
+ ### 1.1.5
292
+
293
+ - Added support for Python 3.10 [#73](https://github.com/backstage/mkdocs-techdocs-core/pull/73)
294
+ - Resolved a run-time error introduced in `1.1.4` that prevented sites from
295
+ being built under certain circumstances.
296
+
297
+ ### 1.1.4
298
+
299
+ - Support markdown version >3.2,<4
300
+ - Use markdown_inline_graphviz_extension 1.1.1 which supports svg rendering for markdown >=3.3
301
+
302
+ ### 1.1.3
303
+
304
+ - Upgraded `plantuml-markdown` to `3.5.1`, which removes `uuid` as a dependency.
305
+
306
+ ### 1.1.2
307
+
308
+ - Simplify theme code to update only the attribute necessary by backstage.
309
+
310
+ ### 1.1.1
311
+
312
+ - Fix run-time `AttributeError: 'Theme' object has no attribute 'copy'`
313
+
314
+ ### 1.1.0
315
+
316
+ - Add new capability to override mkdocs theme attributes
317
+
318
+ > **Note:** Look the caveats section in readme about the Backstage theme consideration
319
+
320
+ ### 1.0.2
321
+
322
+ - Bumped `pymdown-extensions` to 9.3 and enabled `pygments_lang_class` to allow easier targeting of codeblocks by language in TechDocs Addons.
323
+
324
+ ### 1.0.1
325
+
326
+ `Jinja2` pinned to v3.0.3.
327
+
328
+ ### 1.0.0
329
+
330
+ - This package has been promoted to v1.0!
331
+
332
+ > **Note:** Going forward, this package will follow [semver](https://semver.org/#semantic-versioning-200) conventions.
333
+
334
+ ### 0.2.3
335
+
336
+ - Upgrade mkdocs-material and its dependencies
337
+
338
+ ### 0.2.2
339
+
340
+ - Update `plantuml-markdown` version to 3.5.0 for image maps support
341
+
342
+ ### 0.2.1
343
+
344
+ - Fix run-time `module 'pyparsing' has no attribute 'downcaseTokens'` error as
345
+ a result of shifting python dependencies.
346
+ - Update to latest `mkdocs-monorepo-plugin`, which allows use of `.yaml` file
347
+ extensions and non-slug-like `site_name`s in monorepos.
348
+
349
+ ### 0.2.0
350
+
351
+ - 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
352
+
353
+ ### 0.1.2
354
+
355
+ - Fix the dependency version of Markdown to ensure GraphViz SVG rendering works.
356
+
357
+ ### 0.1.1
358
+
359
+ - Ensure required mkdocs-monorepo-plugin is compatible with Mkdocs `1.2.x`.
360
+
361
+ ### 0.1.0
362
+
363
+ - Improved dependency compatibility with other mkdocs plugins.
364
+ - Upgraded mkdocs minimum to `1.2.2`
365
+
366
+ ### 0.0.16
367
+
368
+ - Reused data from `requirements.txt` file in `install_requires` of `setup.py`. [#24](https://github.com/backstage/mkdocs-techdocs-core/pull/24)
369
+
370
+ ### 0.0.15
371
+
372
+ - Upgrade monorepo to track latest patch, includes various bug fixes. [#22](https://github.com/backstage/mkdocs-techdocs-core/pull/22)
373
+
374
+ ### 0.0.14
375
+
376
+ - Upgrade plantuml-markdown to 3.4.2 with support for external file sources. [#18](https://github.com/backstage/mkdocs-techdocs-core/pull/18)
377
+
378
+ ### 0.0.13
379
+
380
+ - 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)
381
+
382
+ ### 0.0.12
383
+
384
+ - Updated home repository to be the new https://github.com/backstage/mkdocs-techdocs-core
385
+
386
+ ### 0.0.11
387
+
388
+ - Any MkDocs plugin configurations from mkdocs.yml will now work and override the default configuration. See https://github.com/backstage/backstage/issues/3017
389
+
390
+ ### 0.0.10
391
+
392
+ - Pin Markdown version to fix issue with Graphviz
393
+
394
+ ### 0.0.9
395
+
396
+ - Change development status to 3 - Alpha
397
+
398
+ ### 0.0.8
399
+
400
+ - Superfences and Codehilite doesn't work very well together (squidfunk/mkdocs-material#1604) so therefore the codehilite extension is replaced by pymdownx.highlight
401
+
402
+ * 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:
403
+
404
+ ````
405
+ ```java tab="java 2"
406
+ public void function() {
407
+ ....
408
+ }
409
+ ```
410
+ ````
411
+
412
+ as well as the new
413
+
414
+ ````
415
+ === "Java"
416
+
417
+ ```java
418
+ public void function() {
419
+ ....
420
+ }
421
+ ```
422
+ ````
423
+
424
+ The pymdownx extension will be bumped too 8.0.0 in the near future.
425
+
426
+ - pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
427
+
428
+ - "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)
429
+
430
+ ### 0.0.7
431
+
432
+ - Fix an issue with configuration of emoji support
433
+
434
+ ### 0.0.6
435
+
436
+ - Further adjustments to versions to find ones that are compatible
437
+
438
+ ### 0.0.5
439
+
440
+ - Downgrade some versions of markdown extensions to versions that are more stable
441
+
442
+ ### 0.0.4
443
+
444
+ - Added support for more mkdocs extensions
445
+ - mkdocs-material
446
+ - mkdocs-monorepo-plugin
447
+ - plantuml-markdown
448
+ - markdown_inline_graphviz_extension
449
+ - pygments
450
+ - pymdown-extensions
451
+
452
+ ## License
453
+
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
455
+
456
+ Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0