New domus-* Repository Checklist
Checklist for creating a new domus-* Antora documentation repository with full ecosystem integration.
Prerequisites
-
GitHub account with repo creation rights
-
GitLab account (EvanusModestus)
-
Gitea instance running (gitea-01.inside.domusdigitalis.dev)
-
SSH keys loaded for all three remotes
-
Cloudflare Pages access (if deploying standalone)
Repository Creation
1. Create Directory Structure
REPO_NAME="domus-<name>-ops"
mkdir -p ~/atelier/_bibliotheca/$REPO_NAME
cd ~/atelier/_bibliotheca/$REPO_NAME
# Standard Antora structure
mkdir -p docs/asciidoc/modules/ROOT/{pages,partials,images,examples}
2. Create antora.yml
cat > docs/asciidoc/antora.yml << 'EOF'
name: <component-name>
title: <Component Title>
version: ~
nav:
- modules/ROOT/nav.adoc
asciidoc:
attributes:
# Add component-specific attributes here
EOF
3. Create antora-playbook.yml
cat > antora-playbook.yml << 'EOF'
site:
title: <Site Title>
url: https://<subdomain>.domusdigitalis.dev
start_page: <component-name>::index.adoc
content:
sources:
- url: .
branches: HEAD
start_path: docs/asciidoc
ui:
bundle:
url: https://github.com/EvanusModestus/domus-antora-ui/releases/latest/download/ui-bundle.zip
snapshot: true
antora:
extensions:
- '@antora/lunr-extension'
asciidoc:
attributes:
page-pagination: ''
hide-uri-scheme: ''
attribute-missing: skip
kroki-server-url: http://localhost:18000
kroki-fetch-diagram: true
extensions:
- '@asciidoctor/tabs'
- asciidoctor-kroki
output:
dir: ./build/site
clean: true
EOF
4. Create Makefile
cat > Makefile << 'EOF'
.PHONY: build clean serve
PLAYBOOK := antora-playbook.yml
BUILD_DIR := build/site
build:
@echo "Building site..."
@npx antora $(PLAYBOOK)
@echo "Site built: $(BUILD_DIR)/index.html"
clean:
@rm -rf $(BUILD_DIR) .cache
serve: build
@python3 -m http.server 8000 --directory $(BUILD_DIR)
EOF
5. Create Initial Pages
# Navigation
cat > docs/asciidoc/modules/ROOT/nav.adoc << 'EOF'
* xref:index.adoc[Home]
EOF
# Index page
cat > docs/asciidoc/modules/ROOT/pages/index.adoc << 'EOF'
= <Component Title>
:description: <Description>
:navtitle: Home
<Overview content here>
EOF
6. Create README.adoc
cat > README.adoc << 'EOF'
= <Repo Name>
<Description>
== Quick Start
[source,bash]
make build make serve
== Structure .Antora Spoke Repository Structure image::diagrams/antora-spoke-structure.svg[Antora Spoke Structure,width=100%] == Integration This component is part of the Domus Digitalis documentation ecosystem. Built with https://antora.org[Antora]. EOF
Git Configuration
8. Create GitHub Repository
gh repo create EvanusModestus/$REPO_NAME --public --source=. --remote=origin
git add -A
git commit -m "feat: Initial documentation structure"
git push -u origin main
Aggregator Integration
12. Add to domus-docs (if aggregating)
Edit ~/atelier/_bibliotheca/domus-docs/antora-playbook.yml:
content:
sources:
# ... existing sources ...
# New component
- url: https://github.com/EvanusModestus/$REPO_NAME
branches: main
start_path: docs/asciidoc
edit_url: false
Also update antora-playbook-local.yml:
- url: /home/evanusmodestus/atelier/_bibliotheca/$REPO_NAME
branches: HEAD
start_path: docs/asciidoc
Verification Checklist
-
Directory structure created
-
antora.yml at
docs/asciidoc/antora.yml -
antora-playbook.yml with GitHub UI bundle URL
-
Makefile with build/clean/serve targets
-
README.adoc
-
Git initialized with
mainbranch -
GitHub remote (origin)
-
GitLab remote
-
Gitea remote
-
Added to
domus-push()in ~/.zshrc -
Aliases added to ~/.zshrc
-
Added to domus-docs aggregator (if needed)
-
Cloudflare permissions (if standalone)
-
Test build:
make build -
Verify no xref errors
Common Issues
UI Bundle Not Found
Ensure using GitHub URL, not local path:
ui:
bundle:
url: https://github.com/EvanusModestus/domus-antora-ui/releases/latest/download/ui-bundle.zip