Skip to content
slath-orgPublic

About

Website of Slath, a self-hosted code forge for Git and Jujutsu

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

slath.org

Source of https://slath.org, the website of Slath, a self-hosted code forge for Git and Jujutsu.

It's plain static HTML and CSS with no build step and no third-party resources. Two small scripts: assets/theme.js, the light/dark theme switcher, and assets/site.js, which remembers the choice under Try Slath and adds copy buttons to commands. The page works without either. The design follows Slath's Weave design system: its tokens (light, dark, and high contrast), spacing by relationship, Source Sans 3 and JetBrains Mono (bundled as WOFF2), and Lucide icons in a local sprite. The landing page is a bento grid of tiles, one per audience or task.

Preview locally

python3 -m http.server 8000

Then open http://localhost:8000.

Layout

Path Contents
index.html Landing page
404.html Not-found page (uses absolute asset paths)
assets/site.css Design tokens (light and dark) and components
assets/theme.js Theme switcher (system, light, dark), stored in localStorage
assets/site.js Remembered choices and copy buttons
assets/icons.svg Lucide icon sprite
assets/fonts/ Self-hosted fonts (Latin subset, variable weight)
docs/ Documentation of each Slath release (written by the workflow below, not by hand)
.github/workflows/docs.yml Publishes the documentation of new Slath releases
CNAME, .nojekyll GitHub Pages configuration

Documentation

The documentation is written and built in the Slath repository (docs/, with its theme in docs/theme/, Apache-2.0), and every installation serves its own copy at /-/docs/. Each Slath release attaches it as slath-docs-<version>.tar.gz. Within the hour (or when started by hand under Actions → Release documentation), .github/workflows/docs.yml downloads the archive of each release not published here yet, checks its checksum and its build provenance (the Slath release workflow at that tag), and adds it as docs/<version>/, with docs/latest/ (the newest release that isn't a pre-release), docs/versions.json, and docs/versions.html, using that release's scripts/publish_docs.py. It commits with the workflow's own token and requests a Pages build; no key or secret is needed. The pages carry their theme with them under _theme/.

The landing page links to docs/latest/, so its links work once a release's documentation is published.

License

Site content and code: CC-BY-SA-4.0. Fonts and icons keep their own licenses, see LICENSES/.

About

Website of Slath, a self-hosted code forge for Git and Jujutsu

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages