Metadata-Version: 2.1
Name: mkdocs-overwrite-configs
Version: 1.0.1
Summary: Overwrite MkDocs configuration files with a single file
Author-email: carneirofc <claudiofcarneiro@hotmail.com>
License: MIT
Project-URL: homepage, https://github.com/carneirofc/mkdocs-overwrite-configs
Keywords: mkdocs,backstage,techdocs,mkdocs-overwrite-configs
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: mkdocs>=1.1

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

```yaml
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
```
