Repository navigation
docs/README.md: index dev-tools.md and gpu_test_results.md (EGEN-DOCS-UNINDEXED-PAGES) - #7952
Closed
evilclanker9000 wants to merge 3 commits into
Closed
evilclanker9000 wants to merge 3 commits into
evilclanker9000 wants to merge 3 commits into
Conversation
docs/dev-tools.md reached main in ItsNotRexed#6590 and no row was added for it, so a reader who starts at docs/README.md cannot find the inventory of the development producers. The row says what the page covers and that it lists an entry without running it.
docs/gpu_test_results.md reached main in ItsNotRexed#6720 with no row in the index. The row says what one entry holds (build.py, check.py and run_gpu_tests.py counts, the failing fixture and whether it is flaky) and that the results are posted to the public tracker rather than kept here.
Two pages reached main without one (ItsNotRexed#6590, ItsNotRexed#6720), and nothing noticed: the link checker only checks the links a page does have, not that the index names every page. The new test lists the pages the index does not link, and a second case fails when a row names a page without linking it.
Contributor
Author
|
Closed without merging: four open PRs already cover this item - #4804 (both rows plus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
docs/dev-tools.md(#6590) anddocs/gpu_test_results.md(#6720) each reachedmainwithout a row in the docs index, and no page in the repository links either file. A reader who starts atdocs/README.mdcannot find thescripts/dev.pyinventory or the local record of GPU runs.docs/README.md, "Start here": a row fordev-tools.md.docs/README.md, "Runtime, GPU and validation": a row forgpu_test_results.md.tests/test_docs_index_covers_pages.py: fails when a top-leveldocs/*.mdpage has no row in the index, and fails when a row names a page without linking it.tests/test_docs_links.pychecks the links a page does have, so it cannot catch a page that nothing links to.Claim: EGEN-DOCS-UNINDEXED-PAGES (finding and claim).
Test
Before, on
maindde82f27ewithdocs/README.mdat its state there:After:
No GPU needed: docs and a standard-library test only, no game files.
Notes
| dev-tools.md |row and not a properly linked one, so a row that reads like a page but is not a link cannot pass as indexed.tests/test_docs_links.pyis red onmainfor two links that this change does not touch (one is docs tests: close runtime/README.md's lost fence; spirv-opt passes are foreign flags #7879's item); it reports the same two on this branch, with no new one.gpu_test_results.mdrow sits in "Runtime, GPU and validation" rather than besidetesting.mdin "Start here": that page is a record of runs,testing.mdis how to run them.AI-assisted.