-
Notifications
You must be signed in to change notification settings - Fork 117
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
Updated to use latest Sphinx version. #21
base: master
Are you sure you want to change the base?
Conversation
Hmm, since this is a breaking change I wonder if there's a way to add this as an option in the action, so anyone can override the sphinx version with whatever they prefer. |
I've noticed that actions/upload-artifact can be used with - name: Uploads the PDF build documentation
uses: actions/upload-artifact@v2
with:
path: docs/build/latex/toolbox.pdf By the looks of it, this correlates to the package releases. I'm unsure what package it would ultimately default to, but perhaps this is a solution. |
Right but a lot of people are pinned to |
Right. New release, perhaps? |
- fix broken Debian Buster base image - see ammaraskar#21
Work-around for failing update. Lacks `latexmk` otherwise. See - ammaraskar/sphinx-action#33 (comment) - ammaraskar/sphinx-action#21
* Snowmass: Restart & SM Day Restart news & Snowmass Day. * Fix Build (Buster now oldstable) Work-around for failing update. Lacks `latexmk` otherwise. See - ammaraskar/sphinx-action#33 (comment) - ammaraskar/sphinx-action#21
any news on this? |
In my last few projects I've resorted to using my own branch. Unfortunately there seems to be preference of maintaining the older version (and therefore not breaking old packages that use this as a dependency), over updating this project (and breaking a few packages that might use it). My take is simple. Create a release (v2) right now for Sphinx 2.4 (currently set), update Sphinx to its latest version at 4.3, and create a new release (v4) for Sphinx's version 4.3. Add a note the README with the specific error one would get in a repo which used 2.4, and simply tell them to add a |
I'm trying to understand how updating the image is considered a "breaking change"? For most users, the update won't break anything, they'll just get their docs built with a newer version, and probably benefit from the newer features provided by the upgraded version. That feels more like a positive than a negative, to me. There are a few users who might be negatively affected, but I suspect they're in the minority TBH. And if it causes problems, they can always switch to an older tag that works for them. It seems especially odd worrying about the people who are using |
All that being said, my idea in #40 for how to offer inputs:
sphinx4:
description:
Use a newer container image based on Sphinx 4.
required: false
default: false
runs:
- using: 'docker'
if: ${{ inputs.sphinx4 == false }}
image: 'Dockerfile'
- using: 'docker'
if: ${{ inputs.sphinx4 == true }}
image: 'Dockerfile.sphinx4' would hopefully allow user selection of the base image. (I guess I should go test that myself, now that I've mentioned it twice.) |
Unsure if this will break for some users. If not accepted, I recommend at least creating a new release with version 3 so that users may do: