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.3.1.tar.gz (6.0 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.3.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_roadmap-1.3.1.tar.gz
  • Upload date:
  • Size: 6.0 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.3.1.tar.gz
Algorithm Hash digest
SHA256 cf636a3b22988550d4df98ac008a743cb7d596643233aa61f4df5d135ba72ec6
MD5 d6511e5f68177f219825ced9a662b80d
BLAKE2b-256 eba0a026cee29a2fe9fd2b49d10e99faad42e4ff467a0348d4c3ec548c3e5820

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mkdocs_roadmap-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c14ffb4ec01f167d4f8df8a2a1e4ecb04d9297e7187eb68e377a5ce11a3168e
MD5 f2dcbd84b4150cbfdaa3d5c75af3aaca
BLAKE2b-256 827f825152dddd4861325ced17705c38584c2f3fb3e1c26d7de58adfaf117070

See more details on using hashes here.

Provenance

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