| 1 |
test-warnings |
| 2 |
============= |
| 3 |
|
| 4 |
.. automodule:: autodoc_fodder |
| 5 |
:no-index: |
| 6 |
|
| 7 |
.. autoclass:: MarkupError |
| 8 |
|
| 9 |
.. a non-existing image with direct filename |
| 10 |
.. image:: foo.png |
| 11 |
|
| 12 |
.. a non-existing image with .* |
| 13 |
.. image:: foo.* |
| 14 |
|
| 15 |
.. an SVG image (for HTML at least) |
| 16 |
.. image:: svgimg.* |
| 17 |
|
| 18 |
.. should give a warning |
| 19 |
.. literalinclude:: wrongenc.inc |
| 20 |
:language: none |
| 21 |
|
| 22 |
.. a non-existing download |
| 23 |
|
| 24 |
Don't download :download:`this <nonexisting.png>`. |
| 25 |
|
| 26 |
.. Invalid index markup |
| 27 |
.. index:: |
| 28 |
single: |
| 29 |
pair: |
| 30 |
seealso: |
| 31 |
|
| 32 |
.. Invalid code-block |
| 33 |
.. code-block:: c |
| 34 |
|
| 35 |
import sys |
| 36 |
|
| 37 |
sys.stdout.write('hello world!\n') |
| 38 |
|
| 39 |
.. unknown option |
| 40 |
|
| 41 |
This used to crash: :option:`&option` |
| 42 |
|
| 43 |
.. missing citation |
| 44 |
|
| 45 |
[missing]_ citation |