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.2.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.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_roadmap-1.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 aecc0384a2154e9299710cff7064d49f713a1c43197222bf0c106a48d439dd64
MD5 b0e6c16b13cb5904be47a3e180ef505a
BLAKE2b-256 bb1b86ba0e83cd3b0dd4d2295d757cedcf4e36127b94b9ee21c2d2d9d3e09b44

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_roadmap-1.4.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_roadmap-1.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e45e346a92b30d74defa65b79d0d9350d36db31d35c857287fbddf8f38c1d431
MD5 76135f8bfe01f3e4ae610050ce2345ae
BLAKE2b-256 3ba3900763ca65291bb0323ea4e654a1ca41dc564b865adfdd0d63562793d109

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_roadmap-1.4.2-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