-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #363 from ZeitOnline/docs
Docs: Migriere zu MkDocs
- Loading branch information
Showing
9 changed files
with
45 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd "$DIR/.." | ||
zon_mkdocs_image="europe-west3-docker.pkg.dev/zeitonline-engineering/docker-zon/zon-mkdocs:latest" | ||
|
||
docker pull $zon_mkdocs_image | ||
|
||
COMMAND=${1:-html} | ||
case $COMMAND in | ||
serve) | ||
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs $zon_mkdocs_image | ||
;; | ||
html) | ||
docker run --rm -v ${PWD}:/docs $zon_mkdocs_image build --site-dir public | ||
;; | ||
*) | ||
echo "Unrecognized command: $COMMAND" | ||
exit 1 | ||
;; | ||
esac |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,17 @@ | ||
```{include} overview.md | ||
``` | ||
# ZEIT Online Briefkasten | ||
|
||
Deployment | ||
The `briefkasten` (German for letterbox) is a reasonably secure web application for submitting content anonymously. | ||
|
||
: This section contains all the information on how to install, configure and run your own instance of the briefkasten stack. | ||
It allows to upload attachments which are then sanitized of a number of meta-data which could compromise the submitters identity. Next, the sanitized files are encrypted via GPG and sent via email to a pre-configured list of recipients. The original (potentially 'dirty') files are then deleted from the file system of the server. Thus, neither should admins with access to the server be able to access any submissions, nor should any of the recipients have access to the unsanitized raw material. | ||
|
||
```{toctree} | ||
:maxdepth: 2 | ||
Upon successful upload the submitter receives a unique URL with a token that he or she can use to access any replies the recipients may post. That reply is the only data persisted on the server. | ||
|
||
deployment/index | ||
deployment/monitoring | ||
``` | ||
The implementation doesn't just contain the application itself but includes a complete deployment setup following what we believe to be best practices so that anybody should be able to host their own secure `briefkasten` with minimal setup pain. | ||
|
||
Application | ||
[Deployment](deployment/index.md) | ||
|
||
> This section contains information on the inner workings of the application and how to develop or extend it or how to create a custom theme for it. | ||
> This section contains all the information on how to install, configure and run your own instance of the briefkasten stack. | ||
```{toctree} | ||
:maxdepth: 2 | ||
[Application](application/develop.md) | ||
|
||
application/develop | ||
application/workings | ||
application/i18n | ||
``` | ||
> This section contains information on the inner workings of the application and how to develop or extend it or how to create a custom theme for it. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
INHERIT: /zon/common_config.yaml | ||
site_name: Briefkasten | ||
repo_url: https://github.com/ZeitOnline/briefkasten | ||
|
||
nav: | ||
- index.md | ||
- Deployment: | ||
- deployment/index.md | ||
- deployment/monitoring.md | ||
- Application: | ||
- application/develop.md | ||
- application/workings.md | ||
- application/i18n.md |