Antora

Documentation Sites for Software Teams

Dan AllenOpenDevise

Why docs?

curb appeal
Documentation is the “curb appeal” of software

When deciding what projects to use, companies place a premium on good docs 48% of the time.

Steven O’Grady, RedMonk
93% 0% 20% 40% 60% 80% 100% Problems encountered in open source Source: opensourcesurvey.org Incomplete or confusing documentation Unresponsiveness Dismissive responses Conflict Unexplained rejection Unwelcoming language or content
curb appeal
Focus on your curb appeal

Docs are Integral

docs teams

🤔

antora logo
Antora

Multi-repo static site generator

antora git to site
Authoring

AsciiDoc

Publishing

Antora

Multi-repo static site generator for docs

antora git to site

Goal

docs as code

To produce documentation sites from distributed content by reusing conventions, processes, and tools from software development.

Features

Distributed
content

Standard
structure

antora pipeline 1

Standard Docs Project Structure

docs project structure
antora pipeline 2
antora-playbook.yml
site:
  title: Couchbase Docs
  url: https://docs.couchbase.com
  start_page: home::index.adoc
content:
  branches: release/*
  sources:
  - url: .
    branches: HEAD
    start_path: home
  - url: git@github.com:couchbase/couchbase-operator.git
    start_path: docs/user
  - url: https://github.com/couchbase/docs-server.git
...

Components
repositories

Versions
branches

antora.yml
name: server
version: '6.0'
title: Couchbase Server
start_page: introduction:intro.adoc
nav:
- modules/ROOT/nav.adoc

Versions tracked in branches

git branching

Dedicated
UI project

Exports
UI bundle

antora-playbook.yml
...
ui:
  bundle:
    url: https://github.com/couchbase/docs-ui/releases/.../ui-bundle.zip

Plain text
docs format

CI/CD
pipeline

antora ci cd pipeline
antora ci cd pipeline

Demo

couchbase logo
couchbase docs screenshot
https://docs.couchbase.com

Thank You!

antora.org

Slides & Transcript: gitlab.com/opendevise/talks/docs-sites-for-software-teams