Sample Sphinx Documentation

This is a very rudimentary sample page for Sphinx based documentation.

In case you’re looking for a lot of fairly extensive pages, that stretch the theme in as many reasonable ways as possible, consider scrolling right to the end of this page and looking at the Demo Documentation below.

Quick Inline Markup Demo

Inline markup in reStructuredText is pretty powerful. You can have emphasis, strong emphasis, inline literals, external hyperlinks with embedded URIs (Python web site) standalone hyperlinks (, footnote references [1]_ and so much more. Sometimes, you even have some |problematic| text that doesn’t do the right things but Sphinx still builds your page.

Often, you’ll have multiple paragraphs of text in your documentation, possibly an explanation how stuff works. Here are some explicit interpreted text roles: a PEP reference (PEP 287); a subscript; a superscript; and explicit roles for standard inline markup.


You may want to know what admonitions look like.


I just wanted to interrupt your very relevant insight, to assert my importance.

Or, maybe, you want to present a code block to the user.

1"""Just a small code example"""
3class Demo:
4    def __init__(self):
5        super().__init__()
6        self.ready = True
8    def how_ready_are_we(self) -> str:
9        return "very" if self.ready else "not at all"