diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2022-02-28 12:50:26 +0100 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2022-02-28 12:50:26 +0100 |
commit | e30bd8fffa1affd0aa00d336f170a102f819d633 (patch) | |
tree | c116252d5306fdafbda03bab5eb095f5b9b4290a /textproc/py-mkdocstrings/files/patch-setup.py | |
parent | textproc/py-mkdocs-autorefs: New port (diff) |
textproc/py-mkdocstrings: New port
This Python package is an extension for MkDocs and its main purpose is
the automation of documentation from sources.
Features:
* Language-agnostic
* Multiple themes support
* Cross-references across pages
* Cross-references across sites
* Inline injection in Markdown
* Global and local configuration
* Watch source code directories
* Reasonable defaults
WWW: https://github.com/mkdocstrings/mkdocstrings
Diffstat (limited to 'textproc/py-mkdocstrings/files/patch-setup.py')
-rw-r--r-- | textproc/py-mkdocstrings/files/patch-setup.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-mkdocstrings/files/patch-setup.py b/textproc/py-mkdocstrings/files/patch-setup.py new file mode 100644 index 000000000000..99fdbaca862e --- /dev/null +++ b/textproc/py-mkdocstrings/files/patch-setup.py @@ -0,0 +1,44 @@ +--- setup.py.orig 2022-02-28 05:29:01 UTC ++++ setup.py +@@ -0,0 +1,41 @@ ++# Generated via pdm export -f setuppy" (run "pdm lock" beforehand) ++# -*- coding: utf-8 -*- ++from setuptools import setup ++ ++INSTALL_REQUIRES = [ ++ 'Jinja2>=2.11.1', ++ 'Markdown>=3.3', ++ 'MarkupSafe>=1.1', ++ 'mkdocs>=1.2', ++ 'mkdocs-autorefs>=0.1', ++ 'pymdown-extensions>=6.3', ++ 'pytkdocs>=0.14.0', ++] ++ENTRY_POINTS = { ++ 'mkdocs.plugins': [ ++ 'mkdocstrings = mkdocstrings.plugin:MkdocstringsPlugin', ++ ], ++} ++ ++setup_kwargs = { ++ 'name': 'mkdocstrings', ++ 'version': '%%DISTVERSION%%', ++ 'description': 'Automatic documentation from sources, for MkDocs.', ++ 'author': '', ++ 'author_email': 'Timothée Mazzucotelli <pawamoy@pm.me>', ++ 'package_dir': {'': 'src/'}, ++ 'packages': [ ++ 'mkdocstrings', ++ 'mkdocstrings.handlers', ++ 'mkdocstrings.templates.python', ++ 'mkdocstrings.templates.python.material', ++ 'mkdocstrings.templates.python.mkdocs', ++ 'mkdocstrings.templates.python.readthedocs' ++ ], ++ 'package_data': {'': ['*']}, ++ 'install_requires': INSTALL_REQUIRES, ++ 'python_requires': '>=3.6.2', ++ 'entry_points': ENTRY_POINTS, ++} ++ ++setup(**setup_kwargs) |