SlideShare a Scribd company logo
PROJECT DOCUMENTATION
WITH SPHINX
(or, How I Learned to Stop Worrying
and Love reStructuredText)
Dan Gillean
Artefactual Systems
BACKGROUND
20142008
0.X-BETA 1.0-BETA
FIRST
NON-BETA
RELEASE
AtoM DEVELOPMENT
1.1 2.01.31.2
TRILLIUM THEME
2013:
1 PROJECT…
3 WIKIS
4 THEMES
And AtoM 2.0 on the way…
http://imgur.com/32eaxCQ
WIKICHALLENGES
No versioning (e.g. ICA-AtoM 1.2, 1.3; AtoM 2.0)
No enforced structure
Too easy to create orphaned pages
No easy output to other formats
https://commons.wikimedia.org/wiki/File:Coober_Pedy_Warning_sign_02427.jpg
ENTER
http://onemillionskates.com/inside-edge/a-true-hero-dad-this-ones-for-you
OVERVIEW
Documentation generator
Open source
Created by Python community
Builds on existing open source projects:
- reStructured Text (markup language)
- Docutils (text processing system)
OVERVIEW
reST BASICS
http://blog.sleepingsimple.com/wp-content/uploads/2012/03/Cat-Nap.jpg
reST BASICS
.. _section-anchor:
==============
Section header
==============
Subsection header
=================
Sub-subsection
--------------
Example of a :term:`glossary term` and
a :ref:`section-anchor <reference>`
used in a paragraph
.. image:: /images/my-image.png
:align: center
:width: 80%
:alt: my image alt text
Text can be **strong** or have
*emphasis*
reST BASICS
.. IMPORTANT::
This is an admonition. Sphinx
also supports NOTE, TIP,
SEEALSO, WARNING, CAUTION,
HINT, etc.
This is a `link`_ that can be reused
.. _link: http://www.example.com
This is an `inline link
<http://www.example2.com>`__
.. code-block:: xml
<scopecontent>My scope
and content</scopecontent>
* This is a bulleted list.
* It has two items, the second
item uses two lines.
1. This is a numbered list.
2. It has two items too.
#. This is a numbered list.
#. It has two items too.
Project Documentation with Sphinx (or, How I Learned to Stop Worrying and Love reStructuredText)
ADVANTAGES
• Structured documentation
• Built around a table of contents you define
• Versioning
• Easily maintained in a repository w many branches
• Easy output to other formats
• Glossary, footnotes, asides,
figures, tables, etc…
• Built-in themes or custom themes
• Automated indices
• Strong support for code
documentation http://cheezburger.com/6705529088
WIKISSTILLHAVETHEIRUSES!
• Web-based editing
• Popular uses (e.g. Wikipedia) have
made it familiar and easy to
understand for users
• Good for rapidly changing content
AtoM Sphinx docs:
• User manual
• Admin manual
AtoM Wiki:
• Release notes
• User list
• Community resources
• Development documentation
THANKS!
AtoM docs: https://www.accesstomemory.org/docs
Documentation repo: https://github.com/artefactual/atom-docs
Sphinx documentation: http://sphinx-doc.org/

More Related Content

Similar to Project Documentation with Sphinx (or, How I Learned to Stop Worrying and Love reStructuredText) (17)

PDF
Knoxbug2016
Dru Lavigne
 
PDF
Lfnw2016
Dru Lavigne
 
PPTX
Contributing to the AtoM documentation
Artefactual Systems - AtoM
 
PDF
Olf2016
Dru Lavigne
 
PDF
Tlf2016
Dru Lavigne
 
KEY
Sphinx-quickstart
Daigo Shitara
 
PDF
Fossetcon15
Dru Lavigne
 
PPTX
Markup languages and warp-speed documentation
Lois Patterson
 
PDF
Lois Patterson: Markup Languages and Warp-Speed Documentation
Jack Molisani
 
PDF
sphinx demo
ak013
 
PDF
Make an Instant Website with Webhooks
Anne Gentle
 
PDF
Scale2016
Dru Lavigne
 
PPTX
Engage 2019 Software documentation is fun if you have the right tools: Introd...
AndrewMagerman
 
PPTX
Maintainable Documentation with Sphinx
Stacy Vicknair
 
PDF
cauldron-2022-docs-bof at gcc cauldron in 2022
ssuser866937
 
PPTX
Easy contributable internationalization process with Sphinx @ pyconsg2015
Takayuki Shimizukawa
 
PPTX
Documentation with Sphinx
Akshay Mathur
 
Knoxbug2016
Dru Lavigne
 
Lfnw2016
Dru Lavigne
 
Contributing to the AtoM documentation
Artefactual Systems - AtoM
 
Olf2016
Dru Lavigne
 
Tlf2016
Dru Lavigne
 
Sphinx-quickstart
Daigo Shitara
 
Fossetcon15
Dru Lavigne
 
Markup languages and warp-speed documentation
Lois Patterson
 
Lois Patterson: Markup Languages and Warp-Speed Documentation
Jack Molisani
 
sphinx demo
ak013
 
Make an Instant Website with Webhooks
Anne Gentle
 
Scale2016
Dru Lavigne
 
Engage 2019 Software documentation is fun if you have the right tools: Introd...
AndrewMagerman
 
Maintainable Documentation with Sphinx
Stacy Vicknair
 
cauldron-2022-docs-bof at gcc cauldron in 2022
ssuser866937
 
Easy contributable internationalization process with Sphinx @ pyconsg2015
Takayuki Shimizukawa
 
Documentation with Sphinx
Akshay Mathur
 

More from Artefactual Systems - AtoM (20)

PDF
Artefactual AtoM Priorities November 2024
Artefactual Systems - AtoM
 
PPTX
CSV import in AtoM
Artefactual Systems - AtoM
 
PPTX
Things I wish I'd known - AtoM tips, tricks, and gotchas
Artefactual Systems - AtoM
 
PDF
AtoM Community Update: 2019-05
Artefactual Systems - AtoM
 
PPTX
Creating your own AtoM demo data set for re-use with Vagrant
Artefactual Systems - AtoM
 
PPTX
Searching in AtoM
Artefactual Systems - AtoM
 
PPTX
Building the Future Together: AtoM3, Governance, and the Sustainability of Op...
Artefactual Systems - AtoM
 
PPTX
AtoM Implementations
Artefactual Systems - AtoM
 
PPTX
AtoM Data Migrations
Artefactual Systems - AtoM
 
PPTX
Looking Ahead: AtoM's governance, development, and future
Artefactual Systems - AtoM
 
PDF
Installing AtoM with Ansible
Artefactual Systems - AtoM
 
PDF
AtoM feature development
Artefactual Systems - AtoM
 
PDF
Constructing SQL queries for AtoM
Artefactual Systems - AtoM
 
PDF
Creating custom themes in AtoM
Artefactual Systems - AtoM
 
PDF
Installing and Upgrading AtoM
Artefactual Systems - AtoM
 
PDF
Get to Know AtoM's Codebase
Artefactual Systems - AtoM
 
PPTX
AtoM's Command Line Tasks - An Introduction
Artefactual Systems - AtoM
 
PPTX
Command-Line 101
Artefactual Systems - AtoM
 
PPTX
An Introduction to AtoM, Archivematica, and Artefactual Systems
Artefactual Systems - AtoM
 
PDF
National Archives of Norway - AtoM and Archivematica intro workshop
Artefactual Systems - AtoM
 
Artefactual AtoM Priorities November 2024
Artefactual Systems - AtoM
 
CSV import in AtoM
Artefactual Systems - AtoM
 
Things I wish I'd known - AtoM tips, tricks, and gotchas
Artefactual Systems - AtoM
 
AtoM Community Update: 2019-05
Artefactual Systems - AtoM
 
Creating your own AtoM demo data set for re-use with Vagrant
Artefactual Systems - AtoM
 
Searching in AtoM
Artefactual Systems - AtoM
 
Building the Future Together: AtoM3, Governance, and the Sustainability of Op...
Artefactual Systems - AtoM
 
AtoM Implementations
Artefactual Systems - AtoM
 
AtoM Data Migrations
Artefactual Systems - AtoM
 
Looking Ahead: AtoM's governance, development, and future
Artefactual Systems - AtoM
 
Installing AtoM with Ansible
Artefactual Systems - AtoM
 
AtoM feature development
Artefactual Systems - AtoM
 
Constructing SQL queries for AtoM
Artefactual Systems - AtoM
 
Creating custom themes in AtoM
Artefactual Systems - AtoM
 
Installing and Upgrading AtoM
Artefactual Systems - AtoM
 
Get to Know AtoM's Codebase
Artefactual Systems - AtoM
 
AtoM's Command Line Tasks - An Introduction
Artefactual Systems - AtoM
 
Command-Line 101
Artefactual Systems - AtoM
 
An Introduction to AtoM, Archivematica, and Artefactual Systems
Artefactual Systems - AtoM
 
National Archives of Norway - AtoM and Archivematica intro workshop
Artefactual Systems - AtoM
 
Ad

Recently uploaded (20)

PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Ad

Project Documentation with Sphinx (or, How I Learned to Stop Worrying and Love reStructuredText)

Editor's Notes

  • #9: Many other formats built-in: Windows/Apple/GNOME Help books, man pages, txt files, JSON, etc. Further builders available as third-party open-source extensions