Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.46 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.46 KB

mkdocstrings-python-generator

mkdocstrings-python-generator is a mkdocs plugin for generating markdown pages automatically from python source code.

It is intended to fill a gap which is currently left to each user of mkdoctstings-python. Namely: generating markdown files for each python file.

Note despite the name, there is no affiliation between mkdocstrings and mkdocstrings-python-generator. Please try to determine which plugin is to blame before posting issues here or there.

Project Status

This project is in a very early phase of development and not yet recommended for production.

Running Tests

To run unit tests ensure you have installed the project with all groups (default) or at least main,dev.

Run tests with:

poetry run pytest

Building the Project

This project uses poetry and poetry-dynamic versioning.

You must either do a full git clone (default) not a shallow one, or you must otherwise ensure git can describe your checkout version in terms of tags:

git describe --tags

Building without using poetry directly

You use a PEP 517 build front-end like build

python3 -m pip install build
python3 -m build <project dir>

Building via poetry

poetry self add poetry-dynamic-versioning
cd <project dir>
poetry build