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 -v
to get the version installed. - Install the
pandocfilters
module. You can install fromPyPI
withpip install pandocfilters
(orpip3 install pandocfilters
if your default Python version is 2.*). - In the command line, go to the website directory and run
python build.py
(orpython3 build.py
if 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.py
underwebsite/filters/
. On the first line, change#!/usr/bin/env python
to#!/usr/bin/env python3
. - Check if the file
website/filters/includes.py
is executable for the current user. If it is not executable, runchmod u+x filters/includes.py
in the command line. Now try building the website again.