summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-mkdocs-techdocs-core.spec153
-rw-r--r--sources1
3 files changed, 155 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f59bfa0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mkdocs-techdocs-core-1.2.0.tar.gz
diff --git a/python-mkdocs-techdocs-core.spec b/python-mkdocs-techdocs-core.spec
new file mode 100644
index 0000000..ec1ad47
--- /dev/null
+++ b/python-mkdocs-techdocs-core.spec
@@ -0,0 +1,153 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mkdocs-techdocs-core
+Version: 1.2.0
+Release: 1
+Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
+License: Apache-2.0
+URL: https://github.com/backstage/mkdocs-techdocs-core
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/da/28e294843535838eb56d676395ea216b146879b79110a27bb86416ca7d3f/mkdocs-techdocs-core-1.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-mkdocs
+Requires: python3-Markdown
+Requires: python3-mkdocs-material
+Requires: python3-mkdocs-monorepo-plugin
+Requires: python3-plantuml-markdown
+Requires: python3-markdown-inline-graphviz-extension
+Requires: python3-mdx-truly-sane-lists
+Requires: python3-pygments
+Requires: python3-pymdown-extensions
+
+%description
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "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)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © 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
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%package -n python3-mkdocs-techdocs-core
+Summary: The core MkDocs plugin used by Backstage's TechDocs as a wrapper around multiple MkDocs plugins and Python Markdown extensions
+Provides: python-mkdocs-techdocs-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mkdocs-techdocs-core
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "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)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © 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
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%package help
+Summary: Development documents and examples for mkdocs-techdocs-core
+Provides: python3-mkdocs-techdocs-core-doc
+%description help
+ ```java
+ public void function() {
+ }
+ ```
+````
+The pymdownx extension will be bumped too 8.0.0 in the near future.
+- pymdownx.tabbed is added to support tabs to group markdown content, such as codeblocks.
+- "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)
+### 0.0.7
+- Fix an issue with configuration of emoji support
+### 0.0.6
+- Further adjustments to versions to find ones that are compatible
+### 0.0.5
+- Downgrade some versions of markdown extensions to versions that are more stable
+### 0.0.4
+- Added support for more mkdocs extensions
+ - mkdocs-material
+ - mkdocs-monorepo-plugin
+ - plantuml-markdown
+ - markdown_inline_graphviz_extension
+ - pygments
+ - pymdown-extensions
+## License
+Copyright 2020-2021 © 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
+Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
+
+%prep
+%autosetup -n mkdocs-techdocs-core-1.2.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-mkdocs-techdocs-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..251557f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+831c6fb317bf957871f62faca2e81195 mkdocs-techdocs-core-1.2.0.tar.gz