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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs_overwrite_configs-0.0.1.tar.gz
.
File metadata
- Download URL: mkdocs_overwrite_configs-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b5259bd0f4b2cfd0ff2fa1c69a228c6395317e8c01c2ff382988300d83b4077 |
|
MD5 | a737168cef94a5b5f4fb58c120d45868 |
|
BLAKE2b-256 | 0a0e46bbca38ac4e2c4a03dbc9c11b2e4de371909aab6420a8b89794215cd2d5 |
File details
Details for the file mkdocs_overwrite_configs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_overwrite_configs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6b8b1245f782b23aa5f2261431c62af912d2ab97f56452ba184af3f94e8d671 |
|
MD5 | d324a49bd4b6ccdd705b18aee5126833 |
|
BLAKE2b-256 | 857e5c21909b6e8e5490ebcee3b9972856b2e326b1681b56cd039e0986d08670 |