Skip to content

Update apidoc for Sphinx 7. Relates to #4085 #4617

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

Closed
wants to merge 1 commit into from
Closed

Update apidoc for Sphinx 7. Relates to #4085 #4617

wants to merge 1 commit into from

Conversation

dh3968mlq
Copy link

Documentation PR

  • [Y] I've seen the doc/README.md file
  • [Y] This change runs in the current version of Plotly on PyPI and targets the doc-prod branch OR it targets the master branch

(Other items in the documentation PR checklist not applicable)

Description

This PR includes suggested changes to apidoc for upgrading Sphinx to the current version (7). See #4085

The currently used sphinx_bootstrap_theme appears no longer actively maintained, and does not appear to function adequately on Sphinx 7, so this PR uses sphinx_rtd_theme, which includes sidebar navigation and whose layout is closer to other plotly documentation (See images at bottom of this comment)

No changes to content have been made, apart from adopting a different plotly logo.

For review, the apidoc corresponding to this PR is (for the time being) deployed at https://plotly-apidoc-alpha-sphinx7-e1bad215977b.herokuapp.com/. I'd welcome comments of any kind or suggestions for further changes.

Environment

I believe this will successfully build on Sphinx 3 (the version currently in the CI), but if the PR is accepted I'm hoping system maintainers will be able to update the CI to use Sphinx 7. I think this change may be considerably simplified by building the API doc in a separate virtual environment from the other doc builds, and to this end I have added doc/apidoc/requirements.txt. (I've successfully done this in my own CircleCI account, and can provide yaml for this if that would be useful)

Change in appearance

Old

apidoc-bootstrap-2024-05-30 lores

New

apidoc-rtd-2024-05-30 lores

@gvwilson gvwilson requested a review from LiamConnors July 19, 2024 18:08
@dh3968mlq dh3968mlq closed this by deleting the head repository Jul 31, 2024
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.

2 participants