-
Notifications
You must be signed in to change notification settings - Fork 0
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
provide docs for any version #4
Comments
encountered a problem |
The problem is conflict between pydata-sphinx-theme and new Sphinx 6.0 release. Restrict sphinx<6 (for now). |
Added light & dark logos and remove restriction to avoid the problem reported above. |
Need a cache of documentation for previous versions. |
Looking at a structure such as:
Older versions may not have the dropdown to switch versions. (Because they do not use that theme, or some other reason(s).) |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="15; url='https://prjemian.github.io/pysumreg/'" />
</head>
<body>
<p>
Click <a href="https://prjemian.github.io/pysumreg/1.0.4/">here</a>
or wait 15 seconds to redirect automatically to documentation of
the latest release.
</p>
</body>
</html> |
Manually created the structure on |
Ran existing actions workflow to re-publish the standard way (clears the temporary structure). |
After building the html docs for a release, create a |
Need a script/something to use in the
Then use the GHA action to post this directory to |
Instead of rebuilding (or downloading an unzipping) all old documentation versions, consider downloading the existing |
|
Almost ready.
Still a problem. |
Other relevant pydata-sphinx-theme version switcher implementations: |
Review this trail of PRs: https://github.com/numpy/numpy/pulls?q=is%3Apr+switcher+is%3Aclosed |
For a simplified example, watch this project: https://github.com/prjemian/demo2301 |
demo2301 is ready, see https://prjemian.github.io/demo2301/1.0.0/index.html |
prototype for BCDA-APS/apstools#713
The text was updated successfully, but these errors were encountered: