Skip to content
Ryan Yan edited this page Feb 8, 2023 · 5 revisions

Welcome to the ormircommunity.github.io wiki!

Editing the website

The website was initially created using Jupyter pages, which transforms a set of notebooks into a webpage. However, many features of the website cannot be modified through the source .ipynb files. Examples include the header, display boxes, and interactive elements such as the calendar. Due to this, the recent website edits are done by directly modifying the .html files. This means the source files are no longer up to date with the website content.

Adding new events to the calendar

Calendar editing is currently done manually due to the limited number of events in the community. To add new events, navigate to _static/js/events.json. Open the file and create the new event, following the formatting of the examples. Ensure that the formatting is exactly correct, otherwise the event will not show. Afterwards, commit the changes to the file and the website will update in a few minutes. For the future, this functionality can be changed to server-based if one is created for the website.

Clone this wiki locally