NiklasRosenstein/pydoc-markdown
حول
أنشئ توثيقًا لواجهات API في Python بتنسيق Markdown.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- +٤
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلPydoc-Markdown
Generate Markdown API documentation for Python code — without importing it. Pydoc-Markdown parses your source with docspec, converts Google, Sphinx, NumPy and Markdown-style docstrings to Markdown, and writes plain Markdown files or pages for MkDocs, Hugo and Docusaurus.
[!NOTE] This project is maintained on a best-effort basis. If you are building a site with MkDocs, also consider mkdocstrings.
Quickstart
pipx install pydoc-markdown
pydoc-markdown -I src -p my_package --render-toc > api.md
For anything beyond a one-off, put the configuration in a file:
pydoc-markdown --bootstrap base # writes pydoc-markdown.yaml
pydoc-markdown # renders it
Pydoc-Markdown needs Python 3.10+ to run; the code you document can target any Python version.
Documentation
niklasrosenstein.github.io/pydoc-markdown — getting started, configuration, docstring styles, static site generators, source links and the full plugin reference.
Contributing
Contributions are welcome — see the contribution guidelines. Questions go to GitHub Discussions.
Used by CosmPy, Haystack, envd, tqdm and others — open a pull request to add your project.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…