aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md36
1 files changed, 13 insertions, 23 deletions
diff --git a/README.md b/README.md
index 3753237..8deab58 100644
--- a/README.md
+++ b/README.md
@@ -1,30 +1,20 @@
-# Install
-```bash
-git submodule init
-git submodule update --remote
-```
+My website/blog repo with Typst using html, and bundle experimental features.
-# Develop
-```bash
+```sh
nix develop
-hugo new content/post/<post-slug>/index.md
-```
-# Run (dev server)
-```bash
-nix develop
-hugo server -D
+# dev server for live updates
+typst watch --root . --features bundle,html -f bundle main.typ build
-# OR for docker:
-docker run --rm -it \
- -v $(pwd):/src \
- -p 1313:1313 \
- klakegg/hugo:latest \
- server -D
+# compile
+./build.sh
```
-Then go to `localhost:1313`.
-# Publish
-```bash
-./deploy.sh
+Gitlab CI will automatically inject a `ci.json` file:
+```json
+{
+ "date": "some date",
+ "link": "https://gitlab.com/.../job/42"
+}
```
+used by the `compile` step for the final output.