Skip to content

CMU-313/CMU-313.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

17-313 Course Website

Quick Start

To run the built-in development server:

  1. Create and activate a Python virtual environment

  2. Install requirements

pip install -r requirements.txt
  1. 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

Pre-Semester Setup

  1. Run the following to build the static site:
mkdocs build
  1. Rename the static site folder to its semester-name (i.e. F22). Delete the _old folder within this and move the the folder into the docs/_old directory

  2. Add a link to the old semester in docs/index.md. Test that the old site is still accessible

  3. Within the docs/_data directory, set up information for course links, new staff members, and the semester's schedule. A generate_dates.py script is provided to auto-populate the schedule.yaml file with the expected format - this can be replaced with a csv parsing script later on

  4. Replace the Class Calendar iframe within docs/index.md

  5. Toggle which sites can be navigated to in the mkdocs.yml file under the nav section