Make live preview work again

This commit is contained in:
Nelson Batalha
2025-11-19 19:08:15 +00:00
parent f7eb8546d7
commit 4be856b553
2 changed files with 10 additions and 2 deletions

View File

@@ -36,10 +36,14 @@ We can now install our requirements in the new virtual environment:
```
python3 -m pip install -r requirements.txt
```
Deploy to local server from that root folder:
Run a local server from the root folder:
```
mkdocs serve
```
The server can also detect changes and refresh the pages as you edit them:
```
mkdocs serve --watch docs
```
And it should give you a weburl in the terminal to go to --> http://127.0.0.1:8000
Note: video files are stored in a separate branch named `videos`. This is to make it easier to clone quickly with the command `git clone --depth 1 https://github.com/MiSTer-devel/MkDocs_MiSTer.git`. Thanks to @agg23 for the suggestion.

View File

@@ -7,4 +7,8 @@ mkdocs-material-extensions
mkdocs-minify-plugin
mkdocs-redirects
mkdocs-rss-plugin
mkdocs-material[imaging]
mkdocs-material[imaging]
# restriction to fix live preview
# https://github.com/mkdocs/mkdocs/issues/4032
click<8.3.0