You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links to modules are not generated in 10.0.2. They are generated as <code>, instead of <a>.
Was working in 10.0.1.
Steps to reproduce the behavior:
Create pkg directory
In pkg directory create __init__.py file with the following contents:
"""
This should be a link: `pkg.mod1`
This link is correct: `pkg.mod1.mod1_f1`
"""
import pkg.mod1
Also create mod1.py file with the following contents:
def mod1_f1():
""" Some function """
pass
Install pdoc 10.0.2
Run pdoc: pdoc pkg -o out
Look out/pkg.html:
<div class="docstring"><p>This should be a link: <code>pkg.mod1</code></p>
<p>This link is correct: <code><a href="pkg/mod1.html#mod1_f1">pkg.mod1.mod1_f1</a></code></p>
</div>
Problem: <code>pkg.mod1</code></p> is not a link anymore. Used to be a link in 10.0.1 and below.
Problem Description
Links to modules are not generated in 10.0.2. They are generated as
<code>
, instead of<a>
.Was working in 10.0.1.
Steps to reproduce the behavior:
__init__.py
file with the following contents:mod1.py
file with the following contents:pdoc pkg -o out
out/pkg.html
:Problem:
<code>pkg.mod1</code></p>
is not a link anymore. Used to be a link in 10.0.1 and below.System Information
pdoc: 10.0.2
Python: 3.8.12 Platform: Windows-10-10.0.19042-SP0
The text was updated successfully, but these errors were encountered: