add override capabilities to repeated capabilities documentation - #2183
add override capabilities to repeated capabilities documentation#2183elebel-emerson wants to merge 11 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2183 +/- ##
==========================================
- Coverage 89.85% 88.70% -1.15%
==========================================
Files 73 59 -14
Lines 19006 18722 -284
==========================================
- Hits 17077 16607 -470
- Misses 1929 2115 +186
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
Why are you changing the file modes of our metadata files? |
|
Note: if you pull the latest changes, the system tests will pass. |
I did not explicitly touch those files, doing |
|
Yeah, any system test failures are unrelated to your changes. You haven't touched the API or the System Tests. |
|
"overwrite" should be "override" (nim-python terminology) |
|
You are missing a NI-FAKE example |
Hopefully changed all instances of "overwrite" to "override"
Added unit tests in |
|
Your changes to metadata_add_all.py are causing related unit tests to fail. |
Should have fixed failures with Travic CI |
|
Why are you making a functional change? |
Undid the functional change, everything is passing |
Pending some system_tests but everything should be up to date with main, let's hope the system tests do not fail again |
| .. py:attribute:: nifgen.Session.script_triggers[] | ||
|
|
||
| If no prefix is added to the items in the parameter, the correct prefix will be added when | ||
| If no prefix is added to the items in the parameter, the correct prefix will be added when |
There was a problem hiding this comment.
You have a rendering change here, due to the spacing change. I think it's affecting docs for other APIs, like nirfsg, too.
https://nifgen--2183.org.readthedocs.build/en/2183/rep_caps.html
https://nifgen.readthedocs.io/en/nifgen-1.5.0/rep_caps.html
Normally, you'd automatically see the link to the built documentation in the PR checks, but we're having issues, right now.
|
You should pull upstream/master. |
|
If you see any changes in the existing rep_caps.rst, that's probably not a good sign. |
| { | ||
| 'documentation': { | ||
| 'description': 'Sites are identified by the ``site`` prefix followed by a zero-based index.', | ||
| 'valid_indices': ['site0', 'site1'], |
There was a problem hiding this comment.
"site0" is not an index. It's a key.
0 is an index.
- [ ] I've updated CHANGELOG.md if applicable.What does this Pull Request accomplish?
Change generated Repeated Capabilities documentation to support metadata-defined descriptions, examples, and identifier guidance for capability-specific behavior.
What testing has been done?
Manually testing change in config.py propagates to html documentation
Create a unit test