Update allowed docs versions and add backfill workflow#2312
Open
ndgrigorian wants to merge 3 commits into
Open
Update allowed docs versions and add backfill workflow#2312ndgrigorian wants to merge 3 commits into
ndgrigorian wants to merge 3 commits into
Conversation
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2312/index.html |
Collaborator
aaa1b8c to
d4df188
Compare
antonwolfy
reviewed
May 21, 2026
| git clean -dfx | ||
| popd | ||
| git reset --hard | ||
| - name: Publish docs |
Collaborator
There was a problem hiding this comment.
We use peaceiris/actions-gh-pages action in dpnp for that (.github/workflows/build-sphinx.yml in case you will find that helpful.
Collaborator
Author
There was a problem hiding this comment.
I'll take a look, may be good to reuse in the other docs workflow too
| runs-on: ubuntu-latest | ||
| timeout-minutes: 240 | ||
| permissions: | ||
| contents: write |
Collaborator
There was a problem hiding this comment.
Do we need actions: write to cancel any previous runs that are not completed for a given workflow?
| with: | ||
| access_token: ${{ github.token }} | ||
| - name: Add Intel repository | ||
| if: ${{ !github.event.pull_request || github.event.action != 'closed' }} |
Collaborator
There was a problem hiding this comment.
Why do we need to check if it's triggered for the PR if workflow_dispatch means only manual trigger, isn't it?
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.
This PR updates the allowed versions of dpctl docs in the dropdown, and adds a workflow to backfill old documentation versions.
This workflow is designed to allow passing a tag to the workflow and manually executing, creating and populating the folder for the tag