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

Upgrade docs to qiskit_sphinx_theme 1.11 #70

Merged
merged 1 commit into from
May 15, 2023

Conversation

Eric-Arellano
Copy link
Collaborator

@Eric-Arellano Eric-Arellano commented May 15, 2023

Closes #67. I suspect the failure was coming from overriding HTML templates, which instead should come from qiskit_sphinx_theme.

This also removes three custom CSS files that are not relevant to qiskit_sphinx_theme.

Finally, it activates jQuery because Sphinx 6 no longer activates it by default and it is needed for qiskit_sphinx_theme.

Screenshot 2023-05-15 at 11 31 09 AM


html_theme_path = ['.', qiskit_sphinx_theme.get_html_theme_path()]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unnecessary, and qiskit_sphinx_theme.get_html_theme_path() is now deprecated.

pylint==2.7.1
reno>=3.2.0
qiskit-sphinx-theme>=1.6, <=1.10.3
qiskit-sphinx-theme~=1.11.1
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This pins to 1.11 so that your docs don't break overnight on you. We are trying to keep the theme stable, but it is undergoing rapid improvements currently, so it's safer to pin.

I will open PRs to update to future releases.

Comment on lines -30 to -32

[pycodestyle]
max-line-length = 100
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unused

Copy link
Collaborator

@eggerdj eggerdj left a comment

Choose a reason for hiding this comment

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

Thanks a lot! The changes look good to me. I'll approve but we might have to deal with a failing CI before we can merge.

@eggerdj eggerdj merged commit 66f064d into qiskit-community:main May 15, 2023
@Eric-Arellano Eric-Arellano deleted the fix-docs branch May 15, 2023 17:43
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.

Make docs compatible with qiskit_sphinx_theme 1.11.0
2 participants