Skip to main content

Overwrite MkDocs configuration files with a single file

Project description

A simple plugin that will override configs that previous plugins have messed.

I made this plugin for the sole reason that I need to use the same config for a standalone build and a backstage integration. For some reason, the backstage-techdocs-core plugin messes with the config and I need to override it to make it work.

Usage

theme:
  palette: &palette
    - media: "(prefers-color-scheme: light)"
      scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to system preference
plugins:
  - overwrite-configs:
      theme:
        palette: *palette

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_overwrite_configs-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file mkdocs_overwrite_configs-0.0.1.tar.gz.

File metadata

File hashes

Hashes for mkdocs_overwrite_configs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4b5259bd0f4b2cfd0ff2fa1c69a228c6395317e8c01c2ff382988300d83b4077
MD5 a737168cef94a5b5f4fb58c120d45868
BLAKE2b-256 0a0e46bbca38ac4e2c4a03dbc9c11b2e4de371909aab6420a8b89794215cd2d5

See more details on using hashes here.

File details

Details for the file mkdocs_overwrite_configs-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_overwrite_configs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b8b1245f782b23aa5f2261431c62af912d2ab97f56452ba184af3f94e8d671
MD5 d324a49bd4b6ccdd705b18aee5126833
BLAKE2b-256 857e5c21909b6e8e5490ebcee3b9972856b2e326b1681b56cd039e0986d08670

See more details on using hashes here.

Supported by

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