| 1 |
- ``module1`` is only defined in ``inv``: |
| 2 |
:external:py:mod:`module1` |
| 3 |
|
| 4 |
.. py:module:: module2 |
| 5 |
|
| 6 |
- ``module2`` is defined here and also in ``inv``, but should resolve to inv: |
| 7 |
:external:py:mod:`module2` |
| 8 |
|
| 9 |
- ``module3`` is not defined anywhere, so should warn: |
| 10 |
:external:py:mod:`module3` |
| 11 |
|
| 12 |
.. py:module:: module10 |
| 13 |
|
| 14 |
- ``module10`` is only defined here, but should still not be resolved to: |
| 15 |
:external:py:mod:`module10` |
| 16 |
|
| 17 |
- a function in inv: |
| 18 |
:external:py:func:`module1.func` |
| 19 |
- a method, but with old style inventory prefix, which shouldn't work: |
| 20 |
:external:py:meth:`inv:Foo.bar` |
| 21 |
- a non-existing role: |
| 22 |
:external:py:nope:`something` |
| 23 |
|
| 24 |
.. default-domain:: cpp |
| 25 |
|
| 26 |
- a type where the default domain is used to find the role: |
| 27 |
:external:type:`std::uint8_t` |
| 28 |
- a non-existing role in default domain: |
| 29 |
:external:nope:`somethingElse` |
| 30 |
|
| 31 |
- two roles in ``std`` which can be found without a default domain: |
| 32 |
|
| 33 |
- :external:doc:`docname` |
| 34 |
- :external:option:`ls -l` |
| 35 |
|
| 36 |
|
| 37 |
- a function with explicit inventory: |
| 38 |
:external+inv:c:func:`CFunc` |
| 39 |
- a class with explicit non-existing inventory, which also has upper-case in name: |
| 40 |
:external+invNope:cpp:class:`foo::Bar` |
| 41 |
|
| 42 |
- An object type being mistakenly used instead of a role name: |
| 43 |
|
| 44 |
- :external+inv:c:function:`CFunc` |
| 45 |
- :external+inv:function:`CFunc` |
| 46 |
|
| 47 |
- explicit title: |
| 48 |
:external:cpp:type:`FoonsTitle <foons>` |