Repository navigation
ci: update docs publishing using myst-version-switcher-plugin #373
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shree-iyengar-dls
wants to merge
38
commits into
main
Choose a base branch
from
344_change_docs_publishing_ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+488
−614
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f92e77a
ci: update docs publishing using myst-version-switcher-plugin
fa1e221
ci: edit and update ci.yml.jinja file with new changes from ci.yml
1bfab01
chore: test a commit
f4300a8
chore: test a commit2
shree-iyengar-dls 8cf5f89
chore: delete _release.yml file
shree-iyengar-dls 63349e2
ci: remove type checking from tox in ci.yml
shree-iyengar-dls 1ef5fde
chore: add long description to pyproject.toml
shree-iyengar-dls 2e7e25f
chore: add readme to pyproject.toml
shree-iyengar-dls 5ce47c3
chore: remove dist as a requirement for release in ci.yml
shree-iyengar-dls 20e3ae6
add type-checking back to lint job
shree-iyengar-dls c42623a
chore:revert back some of ci yml jinja changes
shree-iyengar-dls 77f8fea
chore:remove extra endif
shree-iyengar-dls beb39c0
chore: cahnges to conf.py files
shree-iyengar-dls 98d9e5f
ci: remove dist job from ci.yml
shree-iyengar-dls cc2c0ba
chore: update uv lock and jinja file
shree-iyengar-dls cfffc41
ci: upgrade docs pipeline from v0.24 to v0.27.0
shree-iyengar-dls 4bc49b3
chore: remove a few package names from renovate
shree-iyengar-dls edafb0d
chore: formatting changes in pyproject.toml
shree-iyengar-dls 73821b8
remove if in renovate.json.jinja
shree-iyengar-dls ae89f4a
remove trailing comma
shree-iyengar-dls 71341f0
chore: rearrange order in renovate.json
shree-iyengar-dls 47f7612
ci: add install graphviz
shree-iyengar-dls 26df0ae
ci: add needs install graphviz to docs
shree-iyengar-dls 8e03b1e
ci: add install graphviz to ci.yml.jinja file
shree-iyengar-dls f2713ee
fix indentation
shree-iyengar-dls 65a4d76
remove install graphviz
shree-iyengar-dls 8fa32d3
chore: update to v 0.28
shree-iyengar-dls 4ce7295
style: change typo blueapi to python copier template
shree-iyengar-dls 3d934a5
ci: install graphviz for docs build
hyperrealist 5bd01b8
chore: allow devcontainer to use the TUN device
hyperrealist b6abd38
remove ending html from path
534c0f1
chore: remove obselete code in template contributing.md
shree-iyengar-dls 57b8110
chore: fix url
shree-iyengar-dls 10754f9
docs: update how-to page on building docs
shree-iyengar-dls 663b651
Update lockfile
OCopping 69b7987
remove _docs.yml
1e103fe
add back in code that had been incorrectly removed
shree-iyengar-dls 7b222a6
changes from PR review comments
shree-iyengar-dls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Publish | ||
|
|
||
| on: | ||
| # matches ci.yml's `name:`, NOT its filename | ||
| workflow_run: | ||
| workflows: [CI] | ||
| types: [completed] | ||
|
|
||
| # fork-PR previews and manual re-deploys | ||
| workflow_dispatch: | ||
| inputs: | ||
| pr: | ||
| description: "Fork PR to approve + preview (empty = re-deploy)" | ||
| required: false | ||
| default: "" | ||
|
|
||
| jobs: | ||
| publish: | ||
| # Run if the workflow has been manually dispatched or it was a | ||
| # successful CI run that did not come from a fork. | ||
| # Skip merge queue runs as they deploy the same commit as the PR commit | ||
| if: >- | ||
| (github.event_name == 'workflow_dispatch' || | ||
| (github.event.workflow_run.conclusion == 'success' && | ||
| github.event.workflow_run.event != 'merge_group' && | ||
| github.event.workflow_run.head_repository.full_name == github.repository)) | ||
| uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/publish-gh-pages.yml@v0.28.0 | ||
| with: | ||
| pr: ${{ inputs.pr }} | ||
| max-releases: "30" | ||
| max-prs: "20" | ||
| permissions: | ||
| contents: read | ||
| actions: read # gather cross-run docs artifacts | ||
| pages: write | ||
| id-token: write | ||
| statuses: write # record the fork-preview approval / preview link |
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
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
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
1 change: 0 additions & 1 deletion
1
template/{% if git_platform=="github.com" %}.github{% endif %}/pages
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/_release.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.