Skip to content

docs: update theme 1.3#11330

Closed
dgarcia360 wants to merge 1 commit intoscylladb:masterfrom
dgarcia360:docs-update-theme-1.3
Closed

docs: update theme 1.3#11330
dgarcia360 wants to merge 1 commit intoscylladb:masterfrom
dgarcia360:docs-update-theme-1.3

Conversation

@dgarcia360
Copy link
Copy Markdown
Contributor

@dgarcia360 dgarcia360 commented Aug 19, 2022

Related issue scylladb/sphinx-scylladb-theme#548

ScyllaDB Sphinx Theme 1.3 is now released 🥳

We’ve added better redirects support and introduced numerous UI updates.

You can read more about all notable changes here.

How to test this PR

  1. Clone this PR. For more information, see Cloning pull requests locally.

  2. Enter the docs folder, and run:

make preview
  1. Open http://localhost:5500 with your favorite browser. The doc should render without errors, and the version should be Sphinx Theme version (see the footer) must be 1.3.x:

image

@dgarcia360
Copy link
Copy Markdown
Contributor Author

@annastuchlik @tzach please review

Update conf.py
@dgarcia360 dgarcia360 force-pushed the docs-update-theme-1.3 branch from 2e7e934 to eb431d1 Compare August 19, 2022 12:45
@annastuchlik
Copy link
Copy Markdown
Collaborator

@dgarcia360 I'm not sure we can merge this PR. Can we discuss the following?

  • When I run make preview the build succeeds and the landing page looks OK, but running run multiversion returns errors and the page is not rendered properly or not rendered at all.
  • The hide_version_dropdown and hide_versions_dropdown options are missing from the conf.py file in this PR.

@dgarcia360
Copy link
Copy Markdown
Contributor Author

@annastuchlik I could not reproduce the errors:

gh repo clone scylladb/scylladb
cd scylladb
gh pr checkout 11330
cd docs
make multiversionpreview

Renders:

image

Could you please share the error logs?

The hide_version_dropdown and hide_versions_dropdown options are missing from the conf.py file in this PR.

In this repository, we want to show the dropdown even if there is only "master" version, so we don't need the option hide_version_dropdown (defaults to empty array) nor hide_version_dropdown (defaults to false).

@annastuchlik annastuchlik added the documentation Requires documentation label Sep 15, 2022
@tzach
Copy link
Copy Markdown
Contributor

tzach commented Sep 15, 2022

Looks good to me

@annastuchlik annastuchlik self-requested a review September 15, 2022 09:15
Copy link
Copy Markdown
Collaborator

@annastuchlik annastuchlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Requires documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants