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-1.0.1.tar.gz
.
File metadata
- Download URL: mkdocs_overwrite_configs-1.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dabafd4bd7eb1ea7d82af4dff8af2bda0f52b35d25a8d18d3f09e7cd1762750 |
|
MD5 | 2877da0dd8108fb3ec30101a330ea935 |
|
BLAKE2b-256 | 4f7287502142ef21ac8f7c8927a834c11111bddc900cacb7654a37d3bb99e666 |
File details
Details for the file mkdocs_overwrite_configs-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_overwrite_configs-1.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 | a4fc59a112b5439b0656478e79d63c34c97b762910a8314cbb59f04567c843e4 |
|
MD5 | 71cd637b41d8fc46f33f389ad4fcd86d |
|
BLAKE2b-256 | 5731a67809fbc4a4f1e2cce37daa890920fa2e4109c4f2ea65c178d9a32b53af |