Skip to main content

MkDocs plugin for rendering roadmap.yml files to roadmap.md files

Project description

MkDocs Roadmap Plugin

The MkDocs Roadmap plugin allows you to define roadmap.yml files in your MkDocs project and automatically generate corresponding roadmap.md files during the build process. This plugin uses Jinja2 templates based on the advanced roadmap template to render beautiful, styled roadmap documentation.

Installation

Install the plugin using pip:

pip install mkdocs-roadmap

Or install from source:

cd tools/mkdocs-roadmap
pip install .

Usage

Configuration

Add the plugin to your mkdocs.yml configuration file:

plugins:
  - roadmap:
      roadmaps:
        - path/to/roadmap.yml
        - another/path/to/roadmap.yml

The roadmaps configuration option is a list of paths to roadmap.yml files relative to your docs_dir. The plugin will:

  1. Read each roadmap.yml file
  2. Render it using the Jinja2 template
  3. Generate a corresponding roadmap.md file in the same location (replacing .yml or .yaml with .md)

Example

If you have a roadmap.yml file at docs/roadmap.yml, configure it like this:

plugins:
  - roadmap:
      roadmaps:
        - roadmap.yml

This will generate docs/roadmap.md during the build process, which you can then reference in your nav configuration:

nav:
  - Home: index.md
  - Roadmap: roadmap.md

Roadmap File Format

The plugin expects roadmap files to follow the roadmap schema. See the main roadmap documentation for details on the schema.

Example roadmap.yml:

title: Example Road Map
description: |
    This is an example of what a road map might look like.

authors:
  - name: Benjamin Pannell
    email: contact@sierrasoftworks.com

timeline:
  - date: 2021-04-21
    title: Project Start
    description: This is when we will start working on the project, get the team ready!

objectives:
  - title: Market Dominance
    description: |
      Provide actionable analytics drawn from big data to improve our brand identity in
      the advertainment sector, maximizing clickbait and establishing ourselves as a disruptor
      in this industry.

milestones:
  - id: team
    title: Build the Team
    description: We don't yet have anyone, that's not gonna work...
    deliverables:
      - title: Team Lead
        state: TODO
        requirement: MUST
        description: This person needs to know enough about this domain to be able to run with the project.

      - title: Senior Engineer 1
      - title: Intern 1..50
        description: This should be cheaper than hiring a proper team (right?).

  - id: done
    title: Finish the Project
    description: We don't need other milestones, do we?
    dependencies:
      - team
    deliverables:
      - title: MVP
        description: Who needs a polished product? Let's just ship the MVP and call it done.
      - title: Marketing
      - title: VC Funding
      - title: Yacht
        reference: https://lmgtfy.app/?q=yacht&t=i

Development

To develop or modify the plugin:

  1. Clone the repository
  2. Navigate to tools/mkdocs-roadmap
  3. Install in development mode: pip install -e .
  4. Make your changes
  5. Test with your MkDocs project

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_roadmap-1.4.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_roadmap-1.4.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_roadmap-1.4.1.tar.gz.

File metadata

  • Download URL: mkdocs_roadmap-1.4.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mkdocs_roadmap-1.4.1.tar.gz
Algorithm Hash digest
SHA256 3010055b44c8657e5126d5c90b380ddda6ad41db4e217444340e9781766b768c
MD5 dce873a60f85e3287d532005b521d737
BLAKE2b-256 5875cfab0a86d65e90d4fc16e21ae88e2949cb1c9e99a6eb2d9ee82b8b2b0fe4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_roadmap-1.4.1.tar.gz:

Publisher: pypi.yml on SierraSoftworks/roadmap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_roadmap-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_roadmap-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mkdocs_roadmap-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4214591ded549048279618c98ab77213dab961258c0d634d192ffada5fcc3c7
MD5 b1c9a50504af663407816ce0956332f9
BLAKE2b-256 a9cd91435fbfd0d54225e6174738b3320a3436b944578649bce791653dfc5dd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_roadmap-1.4.1-py3-none-any.whl:

Publisher: pypi.yml on SierraSoftworks/roadmap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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