Repository navigation
feat: allow NWB docs PR previews to use the widget - #579
Merged
neuromechanist merged 1 commit intoOct 6, 2026
Merged
neuromechanist merged 1 commit into
neuromechanist merged 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
neuromechanist
merged commit Oct 6, 2026
17f8d4a
into
OpenScience-Collective:develop
10 checks passed
neuromechanist
added a commit
that referenced
this pull request
Oct 7, 2026
…gins (#584) The Unreleased section becomes 0.8.17, as the changelog's instructions say for a release, with a new empty Unreleased above it. The NWB documentation preview origins (#579) had no entry; they do now. Not code: the changelog only. Tested: the changelog renders as before and test_frontend_job_parity and the docs tests are unaffected.
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.
Refs #514.
Summary
Adds the Read the Docs PR preview origins of the six NWB docs PRs to the NWB community's
cors_origins, so reviewers can try the widget on the preview build before merging. Without this, a question asked from a preview gets "API key required", because the preview origin is not on the allowlist. This follows what BIDS does for its two docs PRs.They are exact origins, not a
*.readthedocs.buildwildcard, so no other Read the Docs project can use the NWB community's platform key. They are temporary: the config comment lists the PRs, and I will remove the entries once those are merged.The previews use the production backend, so this takes effect for reviewers once it is in production.
The worker allowlist is updated by
sync-worker-cors.ymlafter merge, as with #521.Tests
osa validate src/assistants/nwb/config.yamlpasses.pytest tests/test_assistants/test_community_yaml_generic.py -k nwb: 17 passed, 3 skipped.pytest -k cors -m "not network": 39 passed.