Bug reproducing repository for mkdocs-material
This repository is used to introduce users to reproduce mkdocs-material
bug discussed here.
- Clone this repository.
- Make a virtual environment (Python 3.11) for this repository.
- Run
pip install --upgrade --force-reinstall mkdocs-material
to installmkdocs-material
. - Checkout to commit ff4d4cf.
- Run
mkdocs serve
in your terminal to turn on local server. - Access
127.0.0.1:8000
from your browser. - Press button on the website to make palette to the dark mode.
- Checkout to commit a0d3b0b and refresh your build (
mkdocs serve
will refresh automatically). - Enjoy the bug. Javascript stuffs like searching, side navigations wouldn't work.
Since mkdocs-material
encourages people to use .zip
files made by info
plugin instead of making a repository, I am going to make 2 .zip
files.
- Run
echo 2_palettes | mkdocs build -f mkdocs_2_palettes.yml
- Run
echo 3_palettes | mkdocs build -f mkdocs_3_palettes.yml
I suggest to insert a validation JS code for invalid values in cache.