:ref:`first.Foo` and :ref:`inspect_type_links.first.Foo` should lead to the
same class.
+ :ref:`open()` should lead to the Python builtin, for the local
+ function we need to say :ref:`inspect_type_links.open()`. If it would be
+ the other way around, there would be no simple way to link to builtins.
+
.. py:module:: inspect_type_links.first
:ref:`Foo`, :ref:`first.Foo` and :ref:`inspect_type_links.first.Foo` should
--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <title>inspect_type_links | My Python Project</title>
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
+ <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+</head>
+<body>
+<header><nav id="navigation">
+ <div class="m-container">
+ <div class="m-row">
+ <a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">My Python Project</a>
+ </div>
+ </div>
+</nav></header>
+<main><article>
+ <div class="m-container m-container-inflatable">
+ <div class="m-row">
+ <div class="m-col-l-10 m-push-l-1">
+ <h1>
+ inspect_type_links <span class="m-thin">module</span>
+ </h1>
+ <div class="m-block m-default">
+ <h3>Contents</h3>
+ <ul>
+ <li>
+ Reference
+ <ul>
+ <li><a href="#packages">Modules</a></li>
+ <li><a href="#classes">Classes</a></li>
+ <li><a href="#functions">Functions</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+<p><a class="m-doc" href="inspect_type_links.first.Foo.html">first.Foo</a> and <a class="m-doc" href="inspect_type_links.first.Foo.html">inspect_type_links.first.Foo</a> should lead to the
+same class.</p>
+<p><a class="m-doc-external" href="https://docs.python.org/3/library/functions.html#open">open()</a> should lead to the Python builtin, for the local
+function we need to say <a class="m-doc" href="inspect_type_links.html#open">inspect_type_links.open()</a>. If it would be
+the other way around, there would be no simple way to link to builtins.</p>
+ <section id="namespaces">
+ <h2><a href="#namespaces">Modules</a></h2>
+ <dl class="m-doc">
+ <dt>module <a href="inspect_type_links.first.html" class="m-doc">first</a></dt>
+ <dd>First module</dd>
+ <dt>module <a href="inspect_type_links.second.html" class="m-doc">second</a></dt>
+ <dd>Second module</dd>
+ </dl>
+ </section>
+ <section id="classes">
+ <h2><a href="#classes">Classes</a></h2>
+ <dl class="m-doc">
+ <dt>class <a href="inspect_type_links.Bar.html" class="m-doc">Bar</a></dt>
+ <dd>Another class in the root module</dd>
+ <dt>class <a href="inspect_type_links.Foo.html" class="m-doc">Foo</a></dt>
+ <dd>A class in the root module</dd>
+ </dl>
+ </section>
+ <section id="functions">
+ <h2><a href="#functions">Functions</a></h2>
+ <dl class="m-doc">
+ <dt id="open">
+ <span class="m-doc-wrap-bumper">def <a href="#open" class="m-doc-self">open</a>(</span><span class="m-doc-wrap">)</span>
+ </dt>
+ <dd>A function that opens cans.</dd>
+ </dl>
+ </section>
+ </div>
+ </div>
+ </div>
+</article></main>
+</body>
+</html>