chiark / gitweb /
documentation/python: robust linking also for nested/generic types.
authorVladimír Vondruš <mosra@centrum.cz>
Fri, 12 Jul 2019 20:18:13 +0000 (22:18 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 17:11:08 +0000 (19:11 +0200)
commit6d8d55d5952fb8dce5d78660a022c35e1fc056d6
tree16ff7d3606ebf21d17197ed27ceadad064ec4321
parent29dedfed4dd82eb4d043d98380e129c8ae515263
documentation/python: robust linking also for nested/generic types.

Wow of course this again took me ten times more than originally
anticipated, because there are NO FREAKING DOCS AT ALL for the typing
module.

The major advantage of the new (hard to implement) approach is that
string annotations are parsed and dereferenced correctly as well. That
also means the previous way I did them (fully qualified names) was
mostly wrong.
documentation/python.py
documentation/test_python/inspect_annotations/inspect_annotations.py
documentation/test_python/inspect_name_mapping/inspect_name_mapping/_sub/__init__.py
documentation/test_python/inspect_type_links/inspect_type_links.second.Foo.html
documentation/test_python/inspect_type_links/inspect_type_links.second.html
documentation/test_python/inspect_type_links/inspect_type_links/first/__init__.py
documentation/test_python/inspect_type_links/inspect_type_links/first/sub.py
documentation/test_python/inspect_type_links/inspect_type_links/second.py
documentation/test_python/pybind_type_links/pybind_type_links.cpp
documentation/test_python/pybind_type_links/pybind_type_links.html