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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_roadmap-1.4.0.tar.gz
  • Upload date:
  • Size: 6.1 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.0.tar.gz
Algorithm Hash digest
SHA256 8bc02e10736cbadd8de4342af4cf543c395045be7537d21f816e5ba09d849b7a
MD5 5031f95b6dbebc10c4d19ade60c450b1
BLAKE2b-256 f6a0139cf4fbf07c8c9f18e8529355eb567a597580ed58b084416e7d82992902

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mkdocs_roadmap-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41535335a49917c0469c12bf1711b45ba8c335add13707bda8ad2a78cfc79e80
MD5 f46e87253d822d6b940a92053b08e0a4
BLAKE2b-256 7443fa4288121a0fcfe768d4e2cdc91c120ec1e0e7e8625825eddcc71c9cc293

See more details on using hashes here.

Provenance

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