-
Notifications
You must be signed in to change notification settings - Fork 47
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
Errors introduced in 276: Rendering of figure and i, j index order #295
Comments
@erget Do you know why the figure does not render correctly? Is it a wrong file format?
I agree. I will correct the order. |
Haven't had time to investigate yet, but I can take a look tomorrow.
Thanks! |
The other new figure also does not seem to render. |
Yes, I'm seeing that no figures are rendering, it looks like there's an issue with the assets as referenced since it works when you build the docs locally. My hypothesis is that when the built HTML is pushed to the website, the static assets don't make it. Investigating now... |
Looks like this is correct, as the images make it into the PDF. So next to the i, j ordering we have a build issue here. |
@erget Thanks for investigating |
Analysis of build problemI'll also insert this into the issue description above. 1 of the problems here was the build process. I have fixed it and noted a further opportunity for improvement below. There are 2 build jobs that should have been uploading images next to the compiled docs, but neither of them were. They were
Probably it took a while to notice this because the PDF is completely self-contained, so it might have been that maintainers (e.g. myself) were looking at that doc rather than the HTML in order to sanity check builds, and relying on proper exit codes as confirmation that all was well. Not so with HTML, which uses external assets that need to exist alongside the files. This issue wasn't specific to #276 but since images had previously not been used in the Conventions there was no reason it would have been a problem. Both of these are now corrected. Opportunity for improvement:
@neumannd please let me know when you've committed your changes to the index ordering to finalise this PR. Feel free to use the PR I've already started. |
Last spring I made PR #251 to add the GitHub Action to make sure the doc build was checked on each PR. One reason I went with GitHub Actions over extending the existing Travis build is that it makes it relatively easy to generate previews for PRs in the form of downloadable artifacts. It would be relatively straight forward (famous last words 😃) to fully migrate the Travis build to GitHub Actions, and I would be happy to do that work. |
Hi @lesserwhirls , that sounds awesome! I fully support migrating the Travis build into GitHub actions - let's move discussion of this into a separate issue I'll shard out of here. |
The PR associated with this issue is now finalised and I have verified that it resolves both issues in the description. Barring objections, I will merge this PR on 2020-09-29. Thanks to all who've contributed! |
Title
Errors introduced in 276: Rendering of figure and i, j index order
Moderator
None needed because this is clearly a simple error:
Requirement Summary
The figure introduced in #276 doesn't render correctly.
Furthermore, @AndersMS has noticed that the ordering in the text regarding the order of indices
i
andj
are reversed in the figure - this should be harmonised as it was likely not intentional (@neumannd please correct if this is not right).Technical Proposal Summary
Benefits
All CF users - otherwise the document looks broken.
Status Quo
We have a broken image of what might be a misleading figure in the "next" draft
Associated pull request
#296
Detailed Proposal
1 of the problems here was the build process. I have fixed it and noted a further opportunity for improvement below.
There are 2 build jobs that should have been uploading images next to the compiled docs, but neither of them were. They were
after_success
job that builds the docs and uploads them togh-pages
Probably it took a while to notice this because the PDF is completely self-contained, so it might have been that maintainers (e.g. myself) were looking at that doc rather than the HTML in order to sanity check builds, and relying on proper exit codes as confirmation that all was well. Not so with HTML, which uses external assets that need to exist alongside the files. This issue wasn't specific to #276 but since images had previously not been used in the Conventions there was no reason it would have been a problem.
Both of these are now corrected.
Opportunity for improvement:
after_success
job in Travis only builds onmaster
and release tags. Thus we only see issues like this for those tags; we may want to have an experimental build branch for Travis, as I did in an ad-hoc way, if we keep the Travis builds.@neumannd could you give a hand since you have the source material for the figure?
The text was updated successfully, but these errors were encountered: