Update website

This commit is contained in:
Eike Kettner
2020-09-02 21:44:13 +02:00
parent d0cfc0e58d
commit c3b62291ba
5 changed files with 51 additions and 7 deletions

View File

@ -28,3 +28,41 @@ nix-shell --run "cd site && zola serve"
```
Open browser at `localhost:1111`.
## Publishing
``` shell
nix-shell website/shell.nix --run sbt
sbt> project website
```
### Check Links
``` scala
sbt> zolaBuild
sbt> zolaCheck
```
### Testing
``` scala
sbt> zolaBuildTest
sbt> ghpagesSynchLocal
```
Other terminal:
``` shell
cd ~/.sbt/ghpages/<some-hash>/com.github.eikek/docspell-website
python -m SimpleHTTPServer 1234
```
Open http://localhost:1234 in a browser.
### Publish
``` scala
sbt> zolaBuild
sbt> ghpagesPushSite
```