Skip to content

Fix docs release workflow#262

Merged
nvaytet merged 4 commits intomainfrom
fix-docs-release-workflow
Mar 24, 2026
Merged

Fix docs release workflow#262
nvaytet merged 4 commits intomainfrom
fix-docs-release-workflow

Conversation

@nvaytet
Copy link
Copy Markdown
Member

@nvaytet nvaytet commented Mar 24, 2026

The change in the docs build
Screenshot_20260324_135717

was not propagated everywhere.

Here we fix it, and also change the docs-deploy.yml workflow to just build for a selected package.

@nvaytet nvaytet requested a review from MridulS March 24, 2026 12:58
on:
workflow_dispatch:
inputs:
package:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to use a choice type here (https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onworkflow_dispatchinputs) That way, the caller can't make a typo. But we would have to maintain the list as we add packages.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had a list before, so I think it would be ok to have a choice here? especially if it translates to a dropdown menu in the web ui?

Comment thread .github/workflows/docs-deploy.yml Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have 3 workflows that build docs, 2 of them also publish the docs to different places. Can we merge these into a reusable workflow and call that from CI, releases, and the web UI?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's what I felt when I was trying to fix this.
But I felt it would be complicated to get right first time, and I did not want this to block releases for the other packages.
So we can fix as a follow-up?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Can you open an issue?

nvaytet and others added 2 commits March 24, 2026 15:03
Co-authored-by: Jan-Lukas Wynen <jan-lukas.wynen@ess.eu>
@nvaytet
Copy link
Copy Markdown
Member Author

nvaytet commented Mar 24, 2026

Note that CI fails because I manually stopped it, wasn't worth using up more CI time for the latest commit.

@nvaytet nvaytet requested a review from jl-wynen March 24, 2026 15:02
@nvaytet nvaytet merged commit 555381b into main Mar 24, 2026
4 of 6 checks passed
@nvaytet nvaytet deleted the fix-docs-release-workflow branch March 24, 2026 17:02
jokasimr added a commit that referenced this pull request Apr 17, 2026
* feat: load 3D detector geometry

* feat: load monitor

* fix: same interface for loading old and new files + replace DetectorBank index with enum

* refactor: tofectomy

* fix

* docs: tweak wording

* feat: powder diffraction workflow for beer

* fix

* fix: remove theta masking during load

* docs: raw detector does not have scattering angle any more

* fix: remove unused two theta limits

* docs: naming

* fix

* refactor: self explanatory name

* docs: make separate quantity for wavelength definition chopper position

* docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants