Closed AnthonyZJiang closed 5 months ago
As seen in the above image, the links for the class types are not generated. The related HTML code:
<table> <thead> <tr> <th>Variable</th> <th>Class type</th> <th>Port</th> </tr> </thead> <tbody> <tr> <td><dt><code>powers</code></dt></td> <td><code>isotope.port.PowerOutput</code></td> <td>Power output ports, i.e. Output X.</td> </tr> <tr> <td><dt><code>motors</code></dt></td> <td><code>isotope.port.Motor</code></td> <td>Stepper motor ports, i.e. MOT X.</td> </tr> <tr> <td><dt><code>adcs</code></dt></td> <td><code>isotope.port.ADCInput</code></td> <td>Analogue-digital-converter ports, i.e. ADC X.</td> </tr> <tr> <td><dt><code>pwms</code></dt></td> <td><code>isotope.port.PWMOutput</code></td> <td>PWM output ports, i.e. PWM X.</td> </tr> <tr> <td><dt><code>temps</code></dt></td> <td><code>isotope.port.TempInput</code></td> <td>Temperature sensor ports, i.e. TEMP X.</td> </tr> </tbody> </table>
related docstring:
| Variable | Class type | Port | |------------|----------------------------|-------------------------------------------------| | `powers` | `isotope.port.PowerOutput` | Power output ports, i.e. Output X. | | `motors` | `isotope.port.Motor` | Stepper motor ports, i.e. MOT X. | | `adcs` | `isotope.port.ADCInput` | Analogue-digital-converter ports, i.e. ADC X. | | `pwms` | `isotope.port.PWMOutput` | PWM output ports, i.e. PWM X. | | `temps` | `isotope.port.TempInput` | Temperature sensor ports, i.e. TEMP X. |
pdoc --html --output-dir docs/ --force python_lib/isotope/isotope
the docstring was incorrect, that's why.
As seen in the above image, the links for the class types are not generated. The related HTML code:
related docstring:
Steps to Reproduce
pdoc --html --output-dir docs/ --force python_lib/isotope/isotope
Additional info