1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

docs: Integrate with readthedocs.org

This patch adds configuration to integrate with readthedocs.org, using
mkdocs as rendering engine.

It also does minor documentation updates, to tidy some things up
(clearer titles, move some documentation from the root into docs/, etc).
This commit is contained in:
Alberto Bertogli
2019-08-05 14:14:55 +01:00
parent 0d3bbe11c0
commit d348477841
9 changed files with 98 additions and 5 deletions

29
.mkdocs.yml Normal file
View File

@@ -0,0 +1,29 @@
# mkdocs configuration
#
# To test changes locally, run:
# mkdocs serve -f .mkdocs.yml
site_name: chasquid documentation
# Point the repo to github to make it easier for users to do edits, even if
# it's not the canonical location.
repo_url: https://github.com/albertito/chasquid
markdown_extensions:
- codehilite:
guess_lang: false
theme: readthedocs
nav:
- Home: index.md
- How-to: howto.md
- Install: install.md
- Manpages: man/index.md
- All:
- hooks.md
- dovecot.md
- dkim.md
- flow.md
- monitoring.md

8
.readthedocs.yml Normal file
View File

@@ -0,0 +1,8 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.
version: 2
mkdocs:
configuration: .mkdocs.yml

View File

@@ -14,6 +14,7 @@ It's written in [Go](https://golang.org), and distributed under the
[![Go Report Card](https://goreportcard.com/badge/github.com/albertito/chasquid)](https://goreportcard.com/report/github.com/albertito/chasquid) [![Go Report Card](https://goreportcard.com/badge/github.com/albertito/chasquid)](https://goreportcard.com/report/github.com/albertito/chasquid)
[![Coverage Status](https://coveralls.io/repos/github/albertito/chasquid/badge.svg?branch=next)](https://coveralls.io/github/albertito/chasquid?branch=next) [![Coverage Status](https://coveralls.io/repos/github/albertito/chasquid/badge.svg?branch=next)](https://coveralls.io/github/albertito/chasquid?branch=next)
[![GoDoc](https://godoc.org/blitiri.com.ar/go/chasquid?status.svg)](https://godoc.org/blitiri.com.ar/go/chasquid) [![GoDoc](https://godoc.org/blitiri.com.ar/go/chasquid?status.svg)](https://godoc.org/blitiri.com.ar/go/chasquid)
[![Documentation Status](https://readthedocs.org/projects/chasquid/badge/?version=latest)](https://chasquid.readthedocs.io/en/latest/?badge=latest)
[![Freenode](https://img.shields.io/badge/chat-freenode-brightgreen.svg)](https://webchat.freenode.net?channels=%23chasquid) [![Freenode](https://img.shields.io/badge/chat-freenode-brightgreen.svg)](https://webchat.freenode.net?channels=%23chasquid)
@@ -52,9 +53,11 @@ It's written in [Go](https://golang.org), and distributed under the
## Documentation ## Documentation
The [Debian+Dovecot+chasquid how-to](docs/howto.md) and the The [how-to guide](docs/howto.md) and the [installation
[installation guide](INSTALL.md) guide](docs/install.md) are the best starting points on how to install,
are the best starting points on how to install, configure and run chasquid. configure and run chasquid.
You will find [all documentation here](https://chasquid.readthedocs.io).
## Contact ## Contact

View File

@@ -1,5 +1,5 @@
# Setting up an email server with Debian, dovecot and chasquid # chasquid how-to guide
This is a practical guide for setting up an email server for personal or small This is a practical guide for setting up an email server for personal or small
groups use. It does not contain many explanations, but includes links to more groups use. It does not contain many explanations, but includes links to more

24
docs/index.md Normal file
View File

@@ -0,0 +1,24 @@
# chasquid
[chasquid](https://blitiri.com.ar/p/chasquid) is an SMTP (email) server with a
focus on simplicity, security, and ease of operation.
This is the documentation index.
Please see the [project page](https://blitiri.com.ar/p/chasquid) for more
details.
## Contact
If you have any questions, comments or patches please send them to the [mailing
list](https://groups.google.com/forum/#!forum/chasquid),
chasquid@googlegroups.com.
To subscribe, send an email to chasquid+subscribe@googlegroups.com.
You can also reach out via IRC, `#chasquid` on
[freenode](https://freenode.net/).

29
docs/man/index.md Normal file
View File

@@ -0,0 +1,29 @@
# Manual pages
From the latest Debian package:
- [chasquid(1)](https://manpages.debian.org/unstable/chasquid/chasquid.1):
the main binary.
- [chasquid.conf(5)](https://manpages.debian.org/unstable/chasquid/chasquid.conf.5):
the configuration file and structure.
- [chasquid-util(1)](https://manpages.debian.org/unstable/chasquid/chasquid-util.1):
the command-line utility helper.
- [mda-lmtp(1)](https://manpages.debian.org/unstable/chasquid/mda-lmtp.1):
helper to integrate with LMTP delivery.
- [smtp-check(1)](https://manpages.debian.org/unstable/chasquid/smtp-check.1):
SMTP setup checker.
From the development branch (more likely to change, but useful when doing
development or running experimental versions):
- [chasquid(1)](https://github.com/albertito/chasquid/blob/next/docs/man/chasquid.1.pod):
the main binary.
- [chasquid.conf(5)](https://github.com/albertito/chasquid/blob/next/docs/man/chasquid.conf.5.pod):
the configuration file and structure.
- [chasquid-util(1)](https://github.com/albertito/chasquid/blob/next/docs/man/chasquid-util.1.pod):
the command-line utility helper.
- [mda-lmtp(1)](https://github.com/albertito/chasquid/blob/next/docs/man/mda-lmtp.1.pod):
helper to integrate with LMTP delivery.
- [smtp-check(1)](https://github.com/albertito/chasquid/blob/next/docs/man/smtp-check.1.pod):
SMTP setup checker.

View File

@@ -31,7 +31,7 @@ endpoint for expvars).
*Note these are still subject to change, although breaking changes will be *Note these are still subject to change, although breaking changes will be
avoided whenever possible, and will be noted in the [upgrading avoided whenever possible, and will be noted in the [upgrading
notes](../UPGRADING.md).* notes](upgrading.md).*
List of exported variables: List of exported variables: