9
Maintainable Documentation with Sphinx If you’re going to do it you should do it well.

Maintainable Documentation with Sphinx

Embed Size (px)

Citation preview

Page 1: Maintainable Documentation with Sphinx

Maintainable Documentation with Sphinx

If you’re going to do it you should do it well.

Page 2: Maintainable Documentation with Sphinx

About Stacy Vicknair

Technical Product Manager for Prime Occupational Medicine Over 10 years in software development and design Certifications:

Professional Scrum Master (PSM-I) Distinguished Toastmaster (DTM) Numerous Microsoft certifications in .NET development and ALM

Awards: Microsoft MVP, 2009 - 2014

Page 3: Maintainable Documentation with Sphinx

Agenda

What is Sphinx? Sphinx versus DocFX Demo Resources

Page 4: Maintainable Documentation with Sphinx

What is Sphinx?

Python based documentation generator Uses reStructuredText (ReST) and can also be used with Markdown Can output to a variety of formats:

HTML PDF ePub

Even Microsoft uses used it for their documentation!

Page 5: Maintainable Documentation with Sphinx

Microsoft stopped using it…

Page 6: Maintainable Documentation with Sphinx

because they rolled their own solution.

Page 7: Maintainable Documentation with Sphinx

So how do they compare?

Sphinx Python-based Favors ReST, supports

Markdown Supports document generation

for object models (Python, C, C++, C#)

Out of the box support for numerous output formats, supports custom renderers

DocFX .NET-based, requires Node.js Markdown only Supports document generation

for object models (C# or VB.NET)

Outputs as HTML, does not currently support custom renderers

Page 8: Maintainable Documentation with Sphinx

Demo

Page 9: Maintainable Documentation with Sphinx

Resources

GitHub Examplegithub.com/svickn/SphinxExample

Sphinx Documentationsphinx-doc.org