This repo is now archived, and the PyTA documentation is now part of https://github.com/pyta-uoft/pyta.
This is the source of the website which students can consult for common error messages from both Python and PyTA itself.
To generate the website, follow these steps:
- Install
pandoc. Make sure that after you've installed it, you can open the command line and runpandoc -vto get the version installed. - Install the
pandocfiltersmodule. You can install fromPyPIwithpip install pandocfilters(orpip3 install pandocfiltersif your default Python version is 2.*). - In the command line, go to the website directory and run
python build.py(orpython3 build.pyif your default Python version is 2.*).
After this, you should be able to open gen/index.html and see the demo webpage.
- For Mac users, open python file
includes.pyunderwebsite/filters/. On the first line, change#!/usr/bin/env pythonto#!/usr/bin/env python3. - Check if the file
website/filters/includes.pyis executable for the current user. If it is not executable, runchmod u+x filters/includes.pyin the command line. Now try building the website again.
