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-1.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for mkdocs_overwrite_configs-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4dabafd4bd7eb1ea7d82af4dff8af2bda0f52b35d25a8d18d3f09e7cd1762750
MD5 2877da0dd8108fb3ec30101a330ea935
BLAKE2b-256 4f7287502142ef21ac8f7c8927a834c11111bddc900cacb7654a37d3bb99e666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_overwrite_configs-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4fc59a112b5439b0656478e79d63c34c97b762910a8314cbb59f04567c843e4
MD5 71cd637b41d8fc46f33f389ad4fcd86d
BLAKE2b-256 5731a67809fbc4a4f1e2cce37daa890920fa2e4109c4f2ea65c178d9a32b53af

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