mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Update website
This commit is contained in:
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user