Skip to content

Add overview of CI workflows to docs - #14484

Merged
larsoner merged 13 commits into
mne-tools:mainfrom
tsbinns:ci-overview
Nov 18, 2026
Merged

larsoner merged 13 commits into
mne-tools:mainfrom
tsbinns:ci-overview

Conversation

@tsbinns

@tsbinns tsbinns commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

@drammock A draft of the CI overview information for the docs.

Discussed w/ @larsoner and they suggested storing the info within the workflow files, as an additional way to limit drift between the file description and the actual role.

Then a sphinx extension collects this information during the docs build and writes it to a file.

Where the output of the overview is, what the exact description of each file is, what the format of the output is, etc., all of this I'm happy to adapt. Just wanted to get something out for what it could look like and how it could be implemented.

@tsbinns

tsbinns commented Nov 2, 2026

Copy link
Copy Markdown
Member Author

@larsoner

larsoner commented Nov 2, 2026

Copy link
Copy Markdown
Member

Nice!

We could bikeshed this to death but... Did you try a table?

If we don't use a table, maybe subheadings by CI type would make sense: Azure, CircleCI, GHA?

I'd suggest not making any changes until @drammock weighs in. Don't want you to have to go through a million iterations based on my half-baked whims 😄

But code-wise, rather than embedding this in a file that needs to be overwritten, I think it would be cleaner to do some sphinx magic. Maybe just a directive, assuming it would allow you to inject reST directly? I can look into this part if you hate sphinx

@drammock

drammock commented Nov 2, 2026

Copy link
Copy Markdown
Member

this is already a great step forward, thanks! I agree with @larsoner that a table would be easier to read. It would be extra cool if that table were sortable by clicking on different column headings (like some tables in Wikipedia are) but only if it's easy; don't spend too much time trying to get that to work.

@larsoner

larsoner commented Nov 2, 2026

Copy link
Copy Markdown
Member

@tsbinns

tsbinns commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Sure, happy to try a table. Will have a go with that html one.

@tsbinns

tsbinns commented Nov 4, 2026 •

Copy link
Copy Markdown
Member Author

Pushed some commits to format as a sortable and searchable table.

Will look at converting to a directive next.

@larsoner I never realised the computation times table had sortable columns because the <style scoped> wrapper hides the arrow icons in the columns. Is that intended behaviour?

@tsbinns
tsbinns marked this pull request as ready for review November 4, 2026 13:46
@larsoner

larsoner commented Nov 4, 2026

Copy link
Copy Markdown
Member

IIRC the scoping is intentional, but it's meant to scope to the entire table. I can take a quick look at the SG end

@larsoner

larsoner commented Nov 4, 2026

Copy link
Copy Markdown
Member

Pushed a tiny commit to use our own style name rather than SG's, and also remove the table-striped since in dark mode it made the text hard to see (conflict between the table looking for data-bs-theme and PST setting data-theme).

@larsoner larsoner left a comment

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.

Looks great!

Image

@drammock

drammock commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

summary of real-time disc. with @tsbinns:

  • add the commit-message override codes ([circle skip] etc) to this page too. Probably should remove them from their other location in dev guide, and link from there to this page (this could be follow-up PR)
  • add a couple footnotes to the table (e.g., linkcheck appears to run on every PR but it's actually just skipping)
  • maybe an opening paragraph just to say 'by the way any of these that run "on pushes to PRs" are required for PRs to be merged'
  • document somewhere that devs should update this table when they add/remove CIs. (maybe a README in .github/workflows? Maybe just at the top of this page?)

@tsbinns

tsbinns commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

@drammock Pushed some more changes to address the comments from discussion.

Will add the override info in a subsequent PR. Thought it would make sense to also include the info about labels to skip towncrier checks alongside that.

@larsoner
larsoner merged commit 23d9ca6 into mne-tools:main Nov 18, 2026
29 of 30 checks passed
@larsoner

Copy link
Copy Markdown
Member

Looks like comments have been addressed, thanks @tsbinns !

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants