Skip to content

[test] fix side-effect due to repeated fields - #12187

Closed
picnixz wants to merge 3 commits into
sphinx-doc:masterfrom
picnixz:fix/12121-build-semicolon
Closed

picnixz wants to merge 3 commits into
sphinx-doc:masterfrom
picnixz:fix/12121-build-semicolon

Conversation

@picnixz

@picnixz picnixz commented Mar 23, 2024

Copy link
Copy Markdown
Member

Closes #12121.

The side-effect can be solved in two manners:

  • Remove the duplicated entries in field-role.rst.
  • Assume that semicolon.rst and index.rst were the only files meant to be fixed.

@jayaddison Which one do you prefer (I assumed to only use two files since there are other conflicting entries I think with other pairs of files and at least we know which files are being used).

@jayaddison

Copy link
Copy Markdown
Contributor

Closes #12121.

The side-effect can be solved in two manners:

* Remove the duplicated entries in `field-role.rst`.

* Assume that `semicolon.rst` and `index.rst` were the only files meant to be fixed.

@jayaddison Which one do you prefer (I assumed to only use two files since there are other conflicting entries I think with other pairs of files and at least we know which files are being used).

I think I prefer the first approach, and the reason: the second case performs a 'different build', doesn't it? (doesn't share the same config)

@picnixz

picnixz commented Mar 23, 2024

Copy link
Copy Markdown
Member Author

I would also go for the first one, but... we are also suppressing some warnings as well, especially those concerning 'orphan' documents not marked as orphan.

I'll think a bit more (this one is not pressing) about which direction to take (since it could affect other tests using the same files).

@picnixz picnixz closed this Mar 7, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tests] Test case 'test_domain_cpp_build_semicolon' fails when run individually.

2 participants