Closed mathieuboudreau closed 1 year ago
Ok, I found the proximate cause and a quick fix. I'll push the quick fix now, and keep investigating for a better fix.
The proximate cause: the Python package sphinx-book-theme
published a new release this weekend (v1.0.0), with breaking changes, so our build script is currently broken.
This was one of the few package version differences between a recent successful build and the current failing build.
The quick fix: temporarily pin sphinx-book-theme
's version to be less than 1.0.0.
A better fix will be to figure out what changed in the theme, why it's unhappy with our docs specifically, and update things accordingly.
The quick fix seems to be working, thankfully, so at least we can update the wiki again. I'll keep digging.
Great! Thanks for figuring out the problem @mguaypaq !
I was able to upgrade the theme, in these commits:
https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/ab9c69836482489a7d036151848536e76a7b617c https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/726bc36129393dfd852bae9ec095c3d0a135096d https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/5a8caf9e4f6d8a8245c0240ca953d75f6192dc5d
(plus a few extra commits to fix format warnings).
So now:
Hopefully I didn't break anything important during the change.
I made two small changes this morning,
https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/a478d4de0db5c762075193d1080c67a223d04def https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/80e6c6b8bf90648d8b26542d1dc6074d4a0911e6
and both builds fail due to something that appears to be unrelated.
Here is the GitActions log for the most recent one: https://github.com/neuropoly/intranet.neuro.polymtl.ca/actions/runs/4331076531/jobs/7562731150#step:5:175
This is the last error message:
It seems to be complainign about a file/setting that I didn't touch. I only see "sidebar-logo.html" in the config file but can't find the static file for it.