mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 03:34:37 +03:00
new website for www.xmox.nl
most content is in markdown files in website/, some is taken out of the repo README and rfc/index.txt. a Go file generates html. static files are kept in a separate repo due to size.
This commit is contained in:
25
develop.txt
25
develop.txt
@ -19,6 +19,7 @@ This file has notes useful for mox developers.
|
||||
for reuse do use mlog as it is more convenient. Internally, we always use
|
||||
mlog.Log to do the logging, wrapping an slog.Logger.
|
||||
|
||||
|
||||
# Reusable packages
|
||||
|
||||
Most non-server Go packages are meant to be reusable. This means internal
|
||||
@ -28,6 +29,7 @@ with bad API. Third party users aren't affected too seriously due to Go's
|
||||
minimal version selection. The reusable packages are in apidiff/packages.txt.
|
||||
We generate the incompatible changes with each release.
|
||||
|
||||
|
||||
# Web interfaces/frontend
|
||||
|
||||
The web interface frontends (for webmail/, webadmin/ and webaccount/) are
|
||||
@ -54,6 +56,28 @@ TypeScript interface exposing a "root" HTMLElement that is added to the DOM,
|
||||
and functions for accessing/changing the internal state, keeping the UI
|
||||
managable.
|
||||
|
||||
|
||||
# Website
|
||||
|
||||
The content of the public website at https://www.xmox.nl is in website/, as
|
||||
markdown files. The website HTML is generated by website/website.go. The FAQ
|
||||
is taken from README.md, the protocol support table is generated from
|
||||
rfc/index.txt. The website is kept in this repository so a commit can change
|
||||
both the implementation and the documentation on the website. Some of the info
|
||||
in README.md is duplicated on the website, often more elaborate and possibly
|
||||
with a slightly less technical audience. The website should also mostly be
|
||||
readable through the markdown in the git repo.
|
||||
|
||||
Large files (images/videos) are in https://github.com/mjl-/mox-website-files to
|
||||
keep the repository reasonably sized.
|
||||
|
||||
The public website serves the content from the "website" branch. After a
|
||||
release release, the main branch (with latest development code and
|
||||
corresponding changes to the website about new features) is merged into the
|
||||
website branch. Commits to the website branch (e.g. for a news item, or any
|
||||
other change unrelated to a new release) is merged back into the main branch.
|
||||
|
||||
|
||||
# TLS certificates
|
||||
|
||||
https://github.com/cloudflare/cfssl is useful for testing with TLS
|
||||
@ -134,6 +158,7 @@ Listeners:
|
||||
KeyFile: ../../cfssl/wildcard.$domain-key.pem
|
||||
```
|
||||
|
||||
|
||||
# ACME
|
||||
|
||||
https://github.com/letsencrypt/pebble is useful for testing with ACME. Start a
|
||||
|
Reference in New Issue
Block a user