Skip to content

Possibly improve formatting in epub or other (x)html documents #408

@arfy8820

Description

@arfy8820

Currently, while reading the python 3.14.3 documentation in epub format, available from https://docs.python.org/3/archives/python-3.14-docs.epub, I noticed that the formatting was a little off. Example. From the library reference -> command-line interface libraries -> argparse, look at any of the method declarations like this.
In paperback:

ArgumentParser.parse_args(args=None, namespace=None) Convert argument strings to objects and assign them as attributes of the namespace. Return the populated namespace.

While in the web view,

ArgumentParser.parse_args(args=None, namespace=None)
Convert argument strings to objects and assign them as attributes of the namespace. Return the populated namespace.

The second layout seems more correct, however this could be intentional, the way your formatting this epub input? The direct file for reference is 'library/argparse.xthml'.
Currently running latest nightly build as of 2026-04-04 12:27 AWST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions