
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
mkapi
Advanced tools
MkAPI is a plugin for MkDocs, designed to facilitate the generation of API documentation for Python projects. MkAPI streamlines the documentation process by automatically extracting docstrings and organizing them into a structured format, making it easier for developers to maintain and share their API documentation.
MkAPI supports two popular styles of docstrings: Google style and NumPy style, allowing developers to choose the format that best fits their project's needs. See the Napoleon documentation for details about these two styles.
MkAPI is equipped with several key features that enhance the documentation experience:
MkAPI aims to simplify the documentation process, making it more efficient and accessible for developers, while ensuring that the generated documentation is comprehensive and easy to understand.
Install the MkAPI plugin using pip:
pip install mkapi
MkAPI requires the following dependencies:
To configure MkAPI, add the following lines to your mkdocs.yml file:
plugins:
- search
- mkapi
MkAPI provides two modes to generate API documentation: Object mode and Page mode.
To generate the API documentation in a Markdown source, add three colons + object full name. The object can be a function, class, or module.
::: package.module.object
The Object mode is useful to embed an object's documentation in an arbitrary position of a Markdown source. For more details, see Object mode.
Using the Page mode, you can construct comprehensive API documentation
for your project.
You can enable this powerful feature with just one line in mkdocs.yml:
nav:
- index.md
- Reference:
- $api/package.***
For more details, see Page mode.
FAQs
MkDocs plugin for automatic API documentation generation from Python docstrings
We found that mkapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.