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

@ -3,7 +3,7 @@
[![Build Status](https://img.shields.io/travis/eikek/docspell/master?style=flat-square)](https://travis-ci.org/eikek/docspell)
[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)
[![License](https://img.shields.io/github/license/eikek/docspell.svg?style=flat-square&color=steelblue)](https://github.com/eikek/docspell/blob/master/LICENSE.txt)
[![Docker Pulls](https://img.shields.io/docker/pulls/eikek0/docspell?color=steelblue)](https://hub.docker.com/r/eikek0/docspell)
[![Docker Pulls](https://img.shields.io/docker/pulls/eikek0/docspell?color=steelblue&style=flat-square)](https://hub.docker.com/r/eikek0/docspell)
[![Gitter chat](https://img.shields.io/gitter/room/eikek/docspell?style=flat-square&color=steelblue)](https://gitter.im/eikek/docspell)
# Docspell

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