Skip to content
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

Remove random-gallery #85

Merged
merged 1 commit into from
May 13, 2023
Merged

Conversation

jarrodmillman
Copy link
Contributor

@jarrodmillman jarrodmillman commented May 13, 2023

See scikit-image/scikit-image@d662017

As far as I can tell, this is cruft and should be removed.

@lagru lagru merged commit 6d76fcc into scikit-image:main May 13, 2023
1 check passed
@stefanv
Copy link
Member

stefanv commented May 13, 2023

No, this was the random gallery image on the front page. Front page rendering is now also broken for the header. Please revert.

lagru added a commit that referenced this pull request May 13, 2023
This reverts commit 6d76fcc which
broke the header rendering and the random gallery example on
the front page [1].

[1] #85 (comment)
@lagru
Copy link
Member

lagru commented May 13, 2023

Reverted in 0315c27. I'll revert the appropriate parts in scikit-image/scikit-image#6933 next. Sorry for the mistake.

lagru added a commit to lagru/scikit-image that referenced this pull request May 13, 2023
This script was removed in scikit-image#6933 [1] even though it is still in use on our
front page [2]! Therefore revert this particular change of scikit-image#6933.

[1] scikit-image#6933
[2] scikit-image/skimage-web#85
@lagru
Copy link
Member

lagru commented May 13, 2023

See scikit-image/scikit-image#6935.

jarrodmillman pushed a commit to scikit-image/scikit-image that referenced this pull request May 15, 2023
* Revert removal of random gallery script

This script was removed in #6933 [1] even though it is still in use on our
front page [2]! Therefore revert this particular change of #6933.

[1] #6933
[2] scikit-image/skimage-web#85

* Merge random.js generation into sphinx_extensions.py

Previously, `gallery_random.py` would generate the appropriate
`random.js` file with the `source/_static` as the target folder after
Sphinx itself was done. However, this meant that `random.js` would not
be included in our CI's build artifacts (locally it's included if
sphinx is run a second time).

Inclusion in skimage_extensions.py with a trigger on the Sphinx event
"build-finished" ensures that the appropriate output path can be
determined from Sphinx's configuration.

This inclusion seems to have been broken at least since 2020-08-15 [2].

[2] http://web.archive.org/web/20200815074104/https://scikit-image.org/
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.

None yet

3 participants