This repository is the source code for https://kieranwood.ca/compsci, a knowledge base for computer science information.
All the content is implemented with markdown and can be found in /compsci-kb. The editing is meant to be done using obsidian, and you should import /compsci-kb as a new vault for it to work as intended.
By default /_meta is ignored, and is used in conjuntion with the templater plugin in obsidian to create new files.
To run the dev server locally use:
npm ito install dependencies, you will only need to do this oncenpx quartz build --serveto show the local version on port 8080
To build the site:
npm ito install dependencies, you will only need to do this oncenpx quartz buildwhich will dump the files to/site
This whole site is based on Quartz V4
🔗 Read the documentation and get started if you're interested: https://quartz.jzhao.xyz/
To update contend cd into /compsci-kb then run git pull origin main.
There are a few config changes made that are hardcoded, and need to be persisted. You will need to manually check differences in the following files:
quartz.config.tsquartz.layout.ts/quartz/static/icon.png/quartz/static/og-image.png
Additionally you will need to update /quartz/cli/args.js to change the default -d flag from content to compsci-kb (or else no content will be found). Lastly update the footer to include the content license (under the quartz indicator):
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://kieranwood.ca/compsci/">The Compsci KB</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://kieranwood.ca">Kieran Wood</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-SA 4.0<img style="height:22px!important;margin-left:3px;vertical-align:middle;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""/><img style="height:22px!important;margin-left:3px;vertical-align:middle;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""/><img style="height:22px!important;margin-left:3px;vertical-align:middle;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt=""/></a></p>