Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument Clinic HOWTO listed multiple times in HOWTO index #64547

Closed
brettcannon opened this issue Jan 22, 2014 · 6 comments
Closed

Argument Clinic HOWTO listed multiple times in HOWTO index #64547

brettcannon opened this issue Jan 22, 2014 · 6 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@brettcannon
Copy link
Member

BPO 20348
Nosy @brettcannon, @larryhastings, @ezio-melotti
Files
  • Doc-clinic.rst.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ezio-melotti'
    closed_at = <Date 2014-01-25.15:29:04.102>
    created_at = <Date 2014-01-22.16:39:07.899>
    labels = ['type-feature', 'docs']
    title = 'Argument Clinic HOWTO listed multiple times in HOWTO index'
    updated_at = <Date 2014-01-27.13:37:25.971>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2014-01-27.13:37:25.971>
    actor = 'brett.cannon'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2014-01-25.15:29:04.102>
    closer = 'ezio.melotti'
    components = ['Documentation']
    creation = <Date 2014-01-22.16:39:07.899>
    creator = 'brett.cannon'
    dependencies = []
    files = ['33630']
    hgrepos = []
    issue_num = 20348
    keywords = ['patch']
    message_count = 6.0
    messages = ['208824', '208836', '209186', '209204', '209206', '209441']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'larry', 'ezio.melotti', 'python-dev', 'zormit']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20348'
    versions = ['Python 3.4']

    @brettcannon
    Copy link
    Member Author

    http://docs.python.org/3.4/howto/

    Seems several sections are listed on their own in the index.

    @brettcannon brettcannon added the docs Documentation in the Doc dir label Jan 22, 2014
    @zormit
    Copy link
    Mannequin

    zormit mannequin commented Jan 22, 2014

    Here's a patch that changes the headings in clinic.rst, such that only the first appears in the HOWTO listing. I also adapted the first according to the convention in http://docs.python.org/devguide/documenting.html#sections

    @larryhastings
    Copy link
    Contributor

    You should only put one line of equals signs? I'll try to remember that in the future. LGTM. Shall I commit it?

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 25, 2014

    New changeset 1eec62cf3675 by Ezio Melotti in branch 'default':
    bpo-20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb.
    http://hg.python.org/cpython/rev/1eec62cf3675

    @ezio-melotti
    Copy link
    Member

    Fixed, thanks for the patch!

    @ezio-melotti ezio-melotti added the type-feature A feature request or enhancement label Jan 25, 2014
    @brettcannon
    Copy link
    Member Author

    Technically you should only have one title at the very top of the heading hierarchy. That's why the patch changed the title to use top+bottom asterisks. You could have just as easily used equal signs as reST doesn't care, just that you are consistent.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    AA-Turner pushed a commit to AA-Turner/devguide that referenced this issue Sep 13, 2023
    erlend-aasland pushed a commit to python/devguide that referenced this issue Sep 26, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants