This repository is mostly static, so if you want to make changes, you'll have to edit the HTML. The exceptions to this are the "regnskab" and "referat" folders, because I didn't feel like making such long lists by hand.
- Put your new files in the relevant folders.
- Run the
build_referat.py
orbuild_regnskab.py
scripts and copy the output intoindex.html
.
(Oneliner for Linux users: ./build_referat.py >index.html
)
Ideally, the document's name should have format YYYY-MM-DD.pdf
or YYYY-MM-DD.docx
. Forgetting to do this won't break the website, but it will break my heart.
- Put your new files in the relevant folders.
- Update
index.html
in two places: The raw link, and the embed. - Add a link under
tidligere/index.html
(Despite the name, this list should also contain the current set).
- Make collapsible lists prettier (having markers and bullets right next to each other is ugly)
- Less code duplication between
build_referat.py
andbuild_regnskab.py
In a wider time-frame:
- Use some kind of static templating engine
- Reduce code duplication in HTML, perhaps through the static templating engine
- Separate HTML code and documents, to make it simpler to upload stuff, perhaps through the static templating engine
- Centralise workflows (perhaps by separating HTML from documents, and generating stuff through the static templating engine)
All this should preferably be done without increasing code complexity too much. This website ought to be easy to modify by any programmer without any on-boarding except this readme file!