Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dokumentation Link and rename README#26994

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lukasb1b wants to merge9 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromlukasb1b:Documentation-testing

Conversation

lukasb1b
Copy link

Making the README an md file. Change the link to the right one and making it a hyperlink.

Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@lukasb1blukasb1b marked this pull request as ready for reviewOctober 4, 2023 11:05
Copy link
Member

@story645story645 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the PR!

This document should be a .rst file because all our internal README files are .rst files

@lukasb1b
Copy link
Author

I dont get the error

@@ -4,5 +4,5 @@ About Matplotlib Testing Infrastructure
Information on the testing infrastructure is provided in
the Testing section of the Matplotlib Developers’ Guide:

* https://matplotlib.org/devel/testing.html
*[Website](https://matplotlib.org/stable/devel/testing.html)
Copy link
Member

@story645story645Oct 5, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this page does not exist -> devel and stable are two versions of the same document

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

https://matplotlib.org/devdocs/devel/testing.html is probably where this should be pointed.

@tacaswell
Copy link
Member

install_data(
'README',
'Courier10PitchBT-Bold.pfb',
'cmr10.pfb',
'mpltest.ttf',
'test_nbagg_01.ipynb',
install_tag:'tests',
install_dir: py3.get_install_dir(subdir:'matplotlib/tests/'))
tells meson about this file so if we rename it we have to update it there too. It is also possible that weinclude this file in the documentation.

I am -0 on adding the extension, README files without an extension are not uncommon.

The other thing that is concerning as that the rst reference is the source ofhttps://matplotlib.org/devdocs/devel/coding_guide.html not the built page referenced.

@@ -4,5 +4,5 @@ About Matplotlib Testing Infrastructure
Information on the testing infrastructure is provided in
the Testing section of the Matplotlib Developers’ Guide:

* https://matplotlib.org/devel/testing.html
*[Website](https://matplotlib.org/stable/devel/testing.html)
* <mpl_source_dir>/doc/devel/coding_guide.rst (equivalent, but in reST format)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@timhoffm
Copy link
Member

I want to point out that we currently have no consistent type and naming scheme for READMEs:

image

I did not check all their content, but at least some of theREADME.txt files are ReST formatted.


I don't think it's particularly important to have consistency here, but if we do want that, I'd be -0.5 on ReST. ReST has its merits for complex documents. But the READMEs are quite simple, not part of the doc build and often read as plain text.

@QuLogic
Copy link
Member

But the READMEs are quite simple, not part of the doc build and often read as plain text.

Not entirely true. The ones in the galleries are used by sphinx-gallery, and must beREADME.txt orREADME.rst (or actually whateversource_suffix is in the doc config), and should be reST unless we start using MyST.

jklymak and timhoffm reacted with thumbs up emoji

@story645story645 added the Documentation: APIfiles in lib/ and doc/api labelOct 6, 2023
@timhoffm
Copy link
Member

timhoffm commentedOct 8, 2023
edited
Loading

I think README is a misnomer for the gallery header files. I’ve openedsphinx-gallery/sphinx-gallery#1209 to see whether the can be changed to something more telling/accurate.

But that’s orthogonal to this PR.

@@ -4,5 +4,5 @@ About Matplotlib Testing Infrastructure
Information on the testing infrastructure is provided in
the Testing section of the Matplotlib Developers’ Guide:

* https://matplotlib.org/devel/testing.html
* <mpl_source_dir>/doc/devel/coding_guide.rst (equivalent, but in reST format)
- `Website <https://matplotlib.org/devdocs/devel/testing.html>`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I’m not convinced that ReST formatting is an advantage here. I assume that this file will be mostly opened as a source file in an editor, in which case plain URLs are easier to read than ReST formatted URLs.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell left review comments

@story645story645story645 requested changes

@timhoffmtimhoffmtimhoffm left review comments

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
Projects
Status: Waiting for author
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@lukasb1b@tacaswell@timhoffm@QuLogic@story645

[8]ページ先頭

©2009-2025 Movatter.jp