sphinx/doc/development/tutorials/examples
Jouke Witteveen bc849e2170
doc: Fix autodoc extension example
`directivetype` is set to mimic `ClassDocumenter`. Reflect that.

`isinstance` would work on the enum members, but that is not what we want here.
`issubclass` raises a TypeError when called on objects that are not classes.
2021-12-02 16:50:09 +01:00
..
autodoc_intenum.py doc: Fix autodoc extension example 2021-12-02 16:50:09 +01:00
helloworld.py docs: Address review comments 2019-02-14 10:31:45 +00:00
README.rst docs: Address review comments 2019-02-14 10:31:45 +00:00
recipe.py Fix #9525: tutorial: Wrong condition in recipe.py 2021-08-05 01:38:58 +09:00
todo.py Doc: Add missing 'env-merge-info' to the todo tutorial. 2020-07-06 17:55:55 +02:00

:orphan:

Tutorial examples
=================

This directory contains a number of examples used in the tutorials. These are
intended to be increasingly complex to demonstrate the various features of
Sphinx, but should aim to be as complicated as necessary but no more.
Individual sections are referenced by line numbers, meaning if you make changes
to the source files, you should update the references in the documentation
accordingly.