2019-11-07 14:28:43 -05:00
|
|
|
# [`uwat.cc`][1] [](https://ci.quantum2.xyz/job/uwat.cc/) [](LICENSE)
|
2018-12-06 22:26:11 -05:00
|
|
|
|
2019-11-07 14:28:43 -05:00
|
|
|
[`uwat.cc`][1] is a gateway to various resources related to the University of
|
2018-12-06 22:26:11 -05:00
|
|
|
Waterloo, made by Waterloo students for Waterloo students.
|
|
|
|
|
|
|
|
We provide shortcut links to make your life easier. Instead of scrambling to
|
|
|
|
remember that site where it shows your exam schedule and seating, simply go to
|
2019-11-07 14:28:43 -05:00
|
|
|
[uwat.cc/exams][2]. The [homepage][1] is a list of these shortcuts.
|
2018-12-06 22:26:11 -05:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Everyone is welcome to contribute! Simply send in a pull request with your
|
|
|
|
useful link, and if it passes quality control, it will be merged and made
|
|
|
|
available to the public.
|
|
|
|
|
2018-12-07 19:02:27 -05:00
|
|
|
To add a link, add find the relevant section in under [`src/links.yml`][3],
|
|
|
|
and under the `links` key, add a new item for your link. This item should be a
|
|
|
|
mapping with three keys:
|
2018-12-06 22:26:11 -05:00
|
|
|
|
2018-12-07 19:02:27 -05:00
|
|
|
* `name`: the shortcut link, starting with `/`, followed by letters, numbers,
|
|
|
|
and `-`;
|
|
|
|
* `target`: the URL to redirect to; and
|
|
|
|
* `description`: the description of the link shown on the home page.
|
2018-12-06 22:26:11 -05:00
|
|
|
|
2018-12-07 19:02:27 -05:00
|
|
|
To be able to run the python scripts locally, run
|
|
|
|
`pip install -r requirements.txt` to install our dependencies.
|
|
|
|
|
|
|
|
To verify that your changes follow the correct format, run automatic sanity
|
|
|
|
checks with [`python3 check.py`][4].
|
|
|
|
|
|
|
|
To generate the HTML for the site, run [`python3 build.py`][5]. Output will be
|
|
|
|
generated in a directory called `dist`.
|
2018-12-06 22:26:11 -05:00
|
|
|
|
2018-12-07 19:07:37 -05:00
|
|
|
Pull requests will be checked with Travis, by running [`check.py`][4] and
|
|
|
|
[`build.py`][5]. Please ensure that builds pass.
|
|
|
|
|
2018-12-06 22:26:11 -05:00
|
|
|
Thank you for contributing.
|
|
|
|
|
2019-11-07 14:28:43 -05:00
|
|
|
[1]: https://uwat.cc
|
|
|
|
[2]: https://uwat.cc/exams
|
2018-12-07 19:02:27 -05:00
|
|
|
[3]: src/links.yml
|
|
|
|
[4]: check.py
|
|
|
|
[5]: build.py
|