spyder-ide / spyder-docs

Documentation for Spyder, the Scientific Python Development Environment
https://docs.spyder-ide.org
MIT License
33 stars 283 forks source link

PR: Move tour images out of _static to ensure they are unique per-version #287

Closed CAM-Gerlach closed 2 years ago

CAM-Gerlach commented 2 years ago

Pull Request

Pull Request Checklist

Description of Changes

Moves the tour images from doc/_static/images to doc/images so they don't get shared across all docs versions with sphinx-multiversion.

Note: I'll need to fix the images being different when merging to master.

Issue(s) Resolved

Fixes #268

CAM-Gerlach commented 2 years ago

I can confirm this works locally as well as on the preview, but the only way to actually test it on the production branches and confirm thus is to merge it to 4.x and then master, so going ahead with it.

CAM-Gerlach commented 2 years ago

Sphinx-multiversion still is copying the assets from the active branch to all branches, instead of from each branch. Trying to figure out a way around that...