mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
f5e375614f
- Adopted postcss and tailwind config to new version - renamed colors bluegray->slate etc to not have custom definitions (hope to reduce migration next time) - tailwind now doesn't build the complete css anymore, so the `dev-ui-build` script must compile both |
||
---|---|---|
.. | ||
elm | ||
site | ||
build.sh | ||
elm-analyse.json | ||
elm.json | ||
package.json | ||
README.md | ||
run-elm.sh | ||
shell.nix | ||
yarn.lock |
Website
This is the docspell website and documentation.
Building
The website is created using zola static site generator. The (very minimal) dynamic parts are written in Elm.
The build.sh
script builds the site.
Development
Install things by running yarn install
.
Open two terminals. In first run:
nix-shell --run ./run-elm.sh
and in the second
nix-shell --run "cd site && zola serve"
Open browser at localhost:1111
.
Publishing
nix-shell website/shell.nix --run sbt
sbt> project website
Check Links
sbt> zolaBuild
sbt> zolaCheck
Testing
sbt> zolaBuildTest
sbt> ghpagesSynchLocal
Other terminal:
cd ~/.sbt/ghpages/<some-hash>/com.github.eikek/docspell-website
python -m SimpleHTTPServer 1234
Open http://localhost:1234 in a browser.
Publish
sbt> zolaBuild
sbt> ghpagesPushSite