Skip to content

Vertical Spacing between Docstring Categories #3

@michaelweinold

Description

@michaelweinold

(I hope I am opening this issue in the correct repository this time)

In a docstring with multiple (NumPy-style) sections, if one section ends in a table, no vertical space is left in the rendered docstring when using the readthedocs theme. The material theme does not seem to have the same issue:

"""
Fuel burn is calculated according to Table M.7 in the supplement to Seymour et al. (2020):

$$
    F=a_1 \cdot R^2 + a_2 \cdot R + c
$$

where:

| Symbol     | Dimension            | Description                                   |
|------------|----------------------|-----------------------------------------------|
| $F$        | [mass]               | Fuel required for the mission of the aircraft |
| $R$        | [distance]           | Range of the aircraft (=mission distance)     |
| $a_1$      | [mass/distance²]     | Regression coefficient for range squared      |
| $a_2$      | [mass/distance]      | Regression coefficient for range              |
| $c$        | [mass]               | Constant term                                 |

Warnings
--------
Note that the regression coefficients provided in Table M.7 of the Supplementary Information 
of Seymour et al. (2020) are not always consistent with the regression coefficients provided in the GitHub repository.
"""
  • readthedocs theme:
  • material theme:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions