Quader Docs 0.176.0

The public documentation

Run the documentation of a release as a site of its own on the internet, apart from any installation of Quader.

On this page
How the public documentation is servedA reader reaches the Ingress or Gateway over the host's public certificate; it forwards over TLS to two quader-docs pods, which serve the pages they embed and the imprint and privacy notice of a ConfigMap.HTTPS, public certificateTLS, the pods' pairReaderIngress orGatewayquader-docs ·2 podsConfigMap ·imprint, privacy

Every release publishes the image guidedtraffic/quader-docs:<version> and the chart quader-docs beside the chart quader. The image holds one program that serves that release's pages, search, screenshots and diagrams. It holds no database, no session and no secret but its TLS key, writes nothing and opens no connection of its own.

Install

bash
helm repo add quader https://guided-traffic.github.io/quader/
helm install quader-docs quader/quader-docs \
  --namespace quader-docs --create-namespace -f docs-values.yaml
yaml
ingress:
  className: haproxy                  # example
  hosts: [docs.example.com]           # example
  annotations:                        # example: the public certificate
    cert-manager.io/cluster-issuer: letsencrypt
  tls:
    - secretName: quader-docs-public  # example
      hosts: [docs.example.com]
tls:
  certManager:
    issuerRef:
      name: internal-ca               # example: the pods' own pair
networkPolicy:
  ingress:
    site:
      from:                           # example: the ingress controller
        - namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: haproxy-ingress
legal:
  imprint: |                          # example
    # Imprint

    Example Operations GmbH\
    Example Street 1
  privacy: ""                         # default: no privacy page

The site's address is then https://docs.example.com/; the host needs a DNS record that points at the ingress controller. Every value, with its default: Helm values › Chart quader-docs.

What the site answers

Address Answer
/, /<section>/, /<section>/<page> The home page, a section's index, a page
/imprint, /privacy Your texts of legal.imprint and legal.privacy, linked from every page's footer; without a text neither the page nor the link
/sitemap.xml, /robots.txt Every page for search engines, by the site's address (site.url, by default https://<first host>/)
/_/… Styles, script, fonts, the search index and the screenshots
Any other address The page "Page not found" in the site's layout

A legal text is Markdown of at most 64 KiB. A first line # Title becomes the page's title; an image becomes a link, so no page loads anything from another host. A changed text rolls the pods; a renewed certificate serves within tls.reloadInterval without a restart.

What it keeps of a reader

Nothing. The site sets no cookie and sends no request to another host. A request's log line holds its method, path, status, duration and size, never the reader's address. The theme toggle keeps its choice in the reader's browser only. Write your privacy notice on that basis.