|
2 | 2 |
|
3 | 3 | This site is generated from the `docs/` folder in this repo with |
4 | 4 | [MkDocs Material](https://squidfunk.github.io/mkdocs-material/). Anyone in the |
5 | | -org can edit it via a normal PR — GitHub Actions rebuilds and redeploys on |
| 5 | +org can edit it via a normal PR, GitHub Actions rebuilds and redeploys on |
6 | 6 | merge to `main`. |
7 | 7 |
|
8 | 8 | ## Adding a page |
9 | 9 |
|
10 | 10 | 1. Create a `.md` file in the relevant folder (or a new folder if it's a new topic). |
11 | 11 | 2. If it's not auto-discovered, add it to the `nav:` block in `mkdocs.yml`. |
12 | | -3. Open a PR. A preview isn't wired up yet — for local preview: |
| 12 | +3. Open a PR. A preview isn't wired up yet. For local preview: |
13 | 13 | ``` |
14 | 14 | pip install -r requirements.txt |
15 | 15 | mkdocs serve |
16 | 16 | ``` |
17 | 17 |
|
18 | 18 | ## Adding large files (slides, PDFs, VM images, recordings) |
19 | 19 |
|
20 | | -Git (even with LFS) is a poor place for anything much over ~50-100MB, and org |
21 | | -storage quotas aren't infinite. Rule of thumb: |
| 20 | +Git is a bad place for anything much over ~50-100MB. Rule of thumb: |
22 | 21 |
|
23 | | -- **Markdown, small images/diagrams, code, Terraform, PDFs under ~20MB** → commit |
| 22 | +- **Markdown, small images/diagrams, code, Terraform, PDFs under ~20MB** get committed |
24 | 23 | directly to this repo. |
25 | | -- **PowerPoints, large PDFs, zipped tool releases (20MB-2GB)** → attach as a |
| 24 | +- **PowerPoints, large PDFs, zipped tool releases (20MB-2GB)** get attached as a |
26 | 25 | [GitHub Release](https://github.com/kuisc/knowledge-base/releases) asset on this |
27 | 26 | repo, then link to it from the relevant doc page. Tag releases by category, e.g. |
28 | | - `presentations-2026-fall`, `ctf-vmimages-2026`. |
29 | | -- **VM images / disk images (multi-GB)** → these don't belong in git at all. |
30 | | - Host them externally (bucket, NAS, whatever the club settles on) and just |
31 | | - document the download link + checksum + build instructions (ideally as |
32 | | - Packer/Terraform so the image is reproducible and the binary itself is |
33 | | - disposable). |
| 27 | + `presentations-2026-fall`. |
| 28 | +- **Large objects (>2GB)** should be stored on the Sharepoint by a club officer and |
| 29 | + linked to from the relevant doc page. Try and keep these to a minimum. |
34 | 30 |
|
35 | 31 | ## Style |
36 | 32 |
|
37 | 33 | - One topic per page. Prefer several short pages over one giant page. |
38 | 34 | - Every folder should have an `index.md` that explains what's in it and links |
39 | | - to its children — don't rely on the nav sidebar alone. |
| 35 | + to its children. |
40 | 36 | - Date meeting notes and writeups (`YYYY-MM-DD-title.md`). |
0 commit comments