Skip to content

[Doc]: regularize doc formatting #26862

Closed

Description

@story645

Documentation Link

https://matplotlib.org/devdocs/devel/document.html#section-formatting

Problem

We acknowledge in our docs that we haven't completely moved our docs over to our specified format, which sometimes creates cascading effects when trying to combine/reorganize docs- directives like ..include don't like the mismatch and when reading the docs it can make it hard to figure out what level a given section is supposed to be at.

Suggested improvement

Reformat docs as needed so that they conform to the guidelines.

Use sentence case Upper lower for section titles, e.g., Possible hangups rather than Possible Hangups.

We aim to follow the recommendations from the Python documentation and the Sphinx reStructuredText documentation for section markup characters, i.e.:

# with overline, for parts. This is reserved for the main title in doc/index.rst. 

* with overline, for chapter. all pages except doc/index.rst should start with "chapter" or lower.

=, for sections

-, for subsections

^, for subsubsections

", for paragraphs

NOTES:

  • do not sentence case files under "/project"
  • ignore files in any "api_changes", "whats_new", or MEP file/folder.
  • do not add new headings without a justification. This issue is about converting existing heading markers into its corresponding heading markers in the list above.

Documents with old style formatting:

This work is mostly converting ~~ to ^^^
Please post here which file you are working on:

project

API

contribute

user_guide

text
toolkits

tutorials

gallery

Activity

  1. github-actions commented on Sep 21, 2023

    @github-actions

    Good first issue - notes for new contributors

    This issue is suited to new contributors because it does not require understanding of the Matplotlib internals. To get started, please see our contributing guide.

    We do not assign issues. Check the Development section in the sidebar for linked pull requests (PRs). If there are none, feel free to start working on it. If there is an open PR, please collaborate on the work by reviewing it rather than duplicating it in a competing PR.

    If something is unclear, please reach out on any of our communication channels.

  2. AnviVerma27 commented on Oct 3, 2023

    @AnviVerma27
    Contributor

    can I work on this?

  3. story645 commented on Oct 3, 2023

    @story645
    MemberAuthor

    I think @iamfaham is working on some parts of this, so I'd recommend working on the parts they're not working on. @iamfaham are you still working on this and if so which pages?

  4. 15IITian commented on Oct 3, 2023

    @15IITian

    Thank you for your response @story645
    Actually when I read for first time , I thought that it should be made sub-section of Draw first plot.
    But if my work is not on right path , then please clarify/guide me .

  5. 15IITian commented on Oct 3, 2023

    @15IITian

    Thank you for your response @jklymak
    I understand organization's concerns .
    Being new to open source , I thought to make smaller PR's in order to get comfortable with open-source & matplotlib .
    Thus , there was no intention to increase my PR's no in hactoberfest ;)
    I will keep this in mind now onwards .

  6. story645 commented on Oct 3, 2023

    @story645
    MemberAuthor

    I updated the PR description with a list of files that use old style formatting. Please work on files that are unclaimed.

  7. iamfaham commented on Oct 3, 2023

    @iamfaham
    Contributor

    I am working on the user_guide/toolkits/axes_grid file.

  8. iamfaham commented on Oct 3, 2023

    @iamfaham
    Contributor

    Hey @story645 , I have created a PR in which i have updated 2 of the necessary docs. Let me know of any necessary changes to the same.

  9. AnviVerma27 commented on Oct 4, 2023

    @AnviVerma27
    Contributor

    i will be working on this user/project/citing

  10. gargmonika commented on Oct 5, 2023

    @gargmonika

    Hey, I will be working on api/animation file.

  11. BS14 commented on Oct 7, 2023

    @BS14

    Hey, I will be working on user_guide/artists/artist_intro

  12. Ruchir0403 commented on Oct 8, 2023

    @Ruchir0403

    Can I work on this?

  13. story645 commented on Oct 9, 2023

    @story645
    MemberAuthor

    @Ruchir0403 sure, you can work on whatever isn't currently being worked on

  14. 5 remaining items

  15. story645 commented on Oct 17, 2023

    @story645
    MemberAuthor

    Sure for release guide, give @gargmonika a bit to reply on if they're still planning on working on animation

  16. gargmonika commented on Oct 17, 2023

    @gargmonika

    Sure for release guide, give @gargmonika a bit to reply on if they're still planning on working on animation

    Hey @story645 thanks for giving me chance. I really apologize i was really occupied with my full time work lately. I would surely still like to work on this . But if its under high priority and someone is available immediately, i don't mind
    to pass it on.

  17. story645 commented on Oct 17, 2023

    @story645
    MemberAuthor

    But if its under high priority and someone is available immediately, i don't mind to pass it on.

    It's not high priority, but we'll have other issues of similar level & scope coming up if now is not a good time for you to work on this.

  18. Disha-Baghel commented on Oct 27, 2023

    @Disha-Baghel

    May I contribute to unresolved tasks if someone isn't addressing their assigned issues?

  19. story645 commented on Oct 27, 2023

    @story645
    MemberAuthor

    You're welcome to work on animation and give @aseriesof-tubes a few days to indicate whether they're still planning to work on things?

  20. aseriesof-tubes commented on Oct 27, 2023

    @aseriesof-tubes

    Hi @Disha-Baghel and @story645, I'll be done with them shortly :)

  21. story645 commented on Nov 2, 2023

    @story645
    MemberAuthor

    Thanks folks, the ones listed here are done so I'll close this! There are probably still files around but we'll do that intentionally more as a "while changing docs"

  22. QuLogic commented on Nov 2, 2023

    @QuLogic
    Member

    api/animation is not done yet?

  23. story645 commented on Nov 2, 2023

    @story645
    MemberAuthor

    Ack, confused it w/ the api_interfaces! :/

  24. raghuramsirigiri commented on Nov 19, 2023

    @raghuramsirigiri
    Contributor

    Can I work on api/animation? I want to start my open source contribution journey with this.

  25. story645 commented on Nov 19, 2023

    @story645
    MemberAuthor

    Sure

  26. added this to the v3.8-doc milestone on Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentation🌱 Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions