OpenParable
Skip to content
← Back to skills

Writing And Building Docs

Documents
writing-and-building-docs

Writing And Building Docs is an Agent Skill for documents published in the aiidateam/aiida-core repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when writing, editing, or building documentation files (`.md`, `.rst`) under `docs/`.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aiidateam/aiida-core/blob/HEAD/.claude/skills/writing-and-building-docs/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/writing-and-building-docs, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Writing and building documentation for aiida-core

When writing or editing .md or .rst files under docs/:

  • Write one sentence per line (no manual line wrapping): makes diffs easy to review.
  • File/directory names: alphanumeric, lowercase, underscores as separators.
  • Headers in sentence case (e.g., "Entry points", not "Entry Points").
  • Documentation follows the Divio documentation system: tutorials (learning-oriented), how-to guides (goal-oriented), topics (understanding-oriented), reference (information-oriented).

Building the docs

uv run sphinx-build -b html docs/source docs/build/html

For live-reloading during development, use sphinx-autobuild (not a project dependency, install manually):

uv pip install sphinx-autobuild
uv run sphinx-autobuild docs/source docs/build/html