Skip to main content

Plugin for adding simple wiki site creation from markdown files interspersed within your code with MkDocs.

Project description

mkdocs-simple-plugin

mkdocs-simple-plugin

Test Docs Docker pypi Github Action

| Code | Docs | PyPi | Docker | GitHub Action |

This plugin enables you to build a documentation site from markdown interspersed within your code using mkdocs. It is designed for the way developers commonly write documentation in their code -- with simple markdown files and/or markdown comment blocks in the code.

About

You may be wondering why you would want to generate a static site for your project, without doing the typical "wiki" thing of consolidating all documentation within a single docs folder or using a single README file.

  • My repository is too big for a single documentation source.

    Sometimes it isn't feasible to consolidate all documentation within an upper level docs directory. This is often the case with medium/large repositories. In general, if your codebase is too large to fit well within a single include directory, your codebase is probably also too large for documentation to fit within a single docs directory.

    Since it's typically easier to keep documentation up to date when it lives as close to the code as possible, it is better to create multiple sources for documentation.

  • My repository is too simple for advanced documentation.

    If your codebase is very very large, something like the monorepo plugin might better fit your needs.

    For most other medium+ repositories that have grown over time, you probably have scattered documentation throughout your code. By combining all of that documentation while keeping folder structure, you can better surface and collaborate with others. And, let's face it. That documentation is probably all in markdown since Github renders it nicely.

  • I want a pretty documentation site without the hassle.

    Finally, you may be interested in this plugin if you have a desire for stylized documentation, but don't want to invest the time/energy in replicating information you already have in your README.md files or in block comments in your code, and you want to keep them where they are (thank you very much).

See mkdocs-simple-plugin for usage.

Contributing

See the contributing guide

License

This software is licensed under Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs-simple-plugin-0.4.0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_simple_plugin-0.4.0-py3-none-any.whl (15.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page