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 serve
You 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
site
folder to its semester-name (i.e.F22
). Delete the_old
folder within this and move the the folder into thedocs/_old
directory -
Add a link to the old semester in
docs/overview.md
. Test that the old site is still accessible -
Within the
docs/_data
directory, set up information for course links, new staff members, and the semester's schedule. Agenerate_dates.py
script is provided to auto-populate theschedule.yaml
file 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.yml
file under thenav
section