The website is now setup so you can run in a VScode Devcontainer. This is optional, but the container config file has been added.
To run the built-in development server:
-
Create and activate a Python virtual environment
-
Install requirements
pip install -r requirements.txt- Start local development server
mkdocs serveYou can then find the website running on http://localhost:8000/
For detailed installation instructions, configuration options, and a demo, visit squidfunk.github.io/mkdocs-material
- Run the following to build the static site:
mkdocs build-
Rename the static
sitefolder to its semester-name (i.e.F22). Delete the_oldfolder within this and move the the folder into thedocs/_olddirectory -
Add a link to the old semester in
docs/overview.md. Test that the old site is still accessible -
Within the
docs/_datadirectory, set up information for course links, new staff members, and the semester's schedule. Agenerate_dates.pyscript is provided to auto-populate theschedule.yamlfile with the expected format - this can be replaced with a csv parsing script later on -
Replace the Class Calendar iframe within
docs/index.md -
Toggle which sites can be navigated to in the
mkdocs.ymlfile under thenavsection