Demo of awesome-pages in combination with the monorepo plugin.
The example comes with scripts. They are on Windows, but are trivial to run on other environments.
- clone the repo
- in the root of the repo, run
scripts/1_create_venv.ps1
to create a virtual environment - if you are in VSC, you might need to re-open the terminal or make sure that the virtual environment is activated
- run
scripts/2_update_pip.ps1
to upgrade pip - run
scripts/3_pip.ps1
to install the requirements - run
scripts/4_mkdocs_serve_sub.ps1
orscripts/5_mkdocs_serve_root.ps1
In the sub folder, run mkdocs serve
.
This is working perfectly:
The .pages
file is picked upl
In the root folder, run mkdocs serve
.
Monorepo works and includes the sub project. But the .pages is not picked up.