Skip to main content

mkdocs plugin to get nav sorted without yml directives

Project description

mkdocs-navsorted-plugin

https://github.com/idlesign/mkdocs-navsorted-plugin

PyPI - Version License Coverage

Description

mkdocs plugin to get nav sorted without yml directives

Use numeric prefixes for your documentation files/directories names to drive navigation items sort order.

Normal layout:

docs
| - section_a
    | - file1.md
    | - file2.md
| - section_b
    | - file3.md
    | - file4.md
| - about.md
| - index.md
| - quickstart.md

We turn into a prefixed one:

docs
| - 01_index.md
| - 10_quickstart.md
| - 20_section_a
    | - 10_file2.md
    | - 20_file1.md
| - 30_section_b
    | - file3.md
    | - file4.md
| - 40_about.md

So the navigation with this plugin would become:

index
quickstart
section_a
  file2
  file1
section_b
  file3
  file4
about

Read the documentation.

Documentation

https://mkdocs-navsorted-plugin.readthedocs.org/

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_navsorted_plugin-0.1.0.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_navsorted_plugin-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_navsorted_plugin-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mkdocs_navsorted_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0a352ee391ec70facbdb1229a5cbdfdb89fcc4ebba513a4c4e4aefbb2f636d67
MD5 dca40f1e7254bb36d50489e5bb8e7b08
BLAKE2b-256 afe1c6d453d82ba1aad71dc24c821f8ee04d5e5735e6cf6bce70c1a9b3dec8ec

See more details on using hashes here.

File details

Details for the file mkdocs_navsorted_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_navsorted_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f428d311660fdd5f59520470d6aee101f18f7eb7717b607952761b4327946b3
MD5 9b484e941debde44c9ae4886e28f988e
BLAKE2b-256 c881cc4fcc3de70472c60c261a1d0e77bbac18c014f7f309c6b72be467107898

See more details on using hashes here.

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