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
```

View File

@ -315,8 +315,8 @@ mainHero model =
, h2 [ class "subtitle is-3" ]
[ text "Simple document organizer"
]
, p [ class "content is-medium" ]
[ text "Docspell can assist in organizing your piles of "
, p [ class "content is-medium narrow-center" ]
[ text "Docspell assists in organizing your piles of "
, text "digital documents, resulting from scanners, e-mails "
, text "and other sources with miminal effort."
]

View File

@ -32,7 +32,7 @@ This requires to login at the webapp. Since this is complicated from
other applications, you can create custom hard-to-guess endpoints to
use with the following options.
# Scanners
# Watch Directories
If you have a (document) scanner (or think about getting one), it can
usually be configured to place scanned documents as image or PDF files
@ -90,9 +90,10 @@ This is a little more involved, but can be quite nice. A SMTP server
can be setup that simply uploads incoming mails to Docspell (using
curl), instead of storing the mails on disk. This requires some
knowledge to setup such a server and it makes sense to own a domain.
The SMTP server would accept mails to *[your-username]@[your-domain]*
and resolves the *[your-username]* part in Docspell to upload the
files to the correct account.
Or it can be used internally to connect devices like scanners that
offer a scan-to-mail option. The SMTP server would accept mails to
*[your-username]@[your-domain]* and resolves the *[your-username]*
part in Docspell to upload the files to the correct account.
There is a docker container prepared to get started. Click below to
read more.

View File

@ -106,3 +106,8 @@ p.has-text
font-size: 1.1em
max-width: $desktop
text-align: left
.content.narrow-center
margin-left: auto
margin-right: auto
max-width: $tablet