diff options
| Commit | 6969ff774c8d5831850ef3afa72b1956767dc18b (patch) | |
|---|---|---|
| Author | 2025-08-19 15:00:52 +0300 | |
| Committer | 2025-08-19 15:00:52 +0300 | |
| Files | 3c15b831e9ba8714c3297832e9e39b63bea8b659 /README.md | |
| syndamia.com-6969ff774c8d5831850ef3afa72b1956767dc18b.tar syndamia.com-6969ff774c8d5831850ef3afa72b1956767dc18b.tar.gz syndamia.com-6969ff774c8d5831850ef3afa72b1956767dc18b.zip | ||
| Parent | 6ec641dd660e9dff391906e8f747acec78909beb (diff) | |
chore(README): Update information and remove setup steps
1 files changed, 1 insertions, 26 deletions
| -rw-r--r-- | README.md | 27 |
@@ -1,30 +1,5 @@ # syndamiadotcom Repository for my website. -Pages are written in Markdown, converted to HTML with [ssg](https://www.romanzolotarev.com/ssg.html) and [lowdown](https://kristaps.bsd.lv/lowdown/), and edited with AWK scripts. +Pages are written in [dunbar](https://gitlab.com/Syndamia/dunbar), converted to HTML with the AWK implementation of dunbar and `generate.sh`. Currently, all content is static. - -For more information on how it works, refer to [S.S. Law](https://syndamia.gitlab.io/ss-law/). - -## Layout and personal setup - -- `.hooks`: Scripts which are executed before git commit. - + `pre-commit.sh`: Most (blog, tutorial, ...) pages are accessed without the ending `.html`, which is done by moving the contents of `page.html` to `page/index.html`. - I would still like for certain pages to be accessible also with `page.html`, so I create a hardlink from one to the other. - However, git (when pulling) removes the appropriate hardlink and the files aren't "synced", this script brings back those hardlinks. -- `awk-edits`: After HTML generation of pages, AWK scripts do modifications. - For more information, read `awk-edits/README.md`. -- `src`: All website content -- `generate.sh`: Generates the whole website. - + You can give it arguments: - + With no argument, the website is created in a "production" way. - + With the `dev` parameter (`./generate.sh dev`), you'll get duration information for different stuff. - + With the `devs` argument, you'll get duration information, but AWK scripts will be ran individually, rather than being combined (useful for individual performance evaluation; name comes from dev + separated) - + There are some variables which handle how the script works: - + `REPO_FOLDER`: specifies where the repository is, useful if you want to run the script outside of the repo. - awk-edits and src folders are always relative to the repo folder. - + `GEN_FOLDER`: folder in which to put the final generated webpages - + `GEN_TINY_FOLDER`: folder in which to put the webpages, that have removed features for better accessibility - + `AWK_FILE`: where to put the temporary AWK script, which is created by combining all awk-edits scripts into one. - Obviously doesn't do anything with `devs` parameter. -- `install-ssg-lowdown.sh`: Installs ssg and lowdown on the current system. |