Skip to content

[ENH, DOC] Allow setting the navbar_max_depth and collapse_navbar - #605

Merged
choldgraf merged 3 commits into
executablebooks:masterfrom
x-ware-ltd:gbw-additional-theme-customisation
Oct 10, 2023
Merged

choldgraf merged 3 commits into
executablebooks:masterfrom
x-ware-ltd:gbw-additional-theme-customisation

Conversation

@gilbertbw

Copy link
Copy Markdown
Contributor

I was not able to figure out how to actually build the docs I wrote for this. I have manually tested that the two new settings work for me.

As this is just exposing functionality from pydata-sphinx-theme, I am not sure it needs tests written?

fixes #603

@welcome

welcome Bot commented Aug 23, 2022

Copy link
Copy Markdown

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.

Welcome to the EBP community! 🎉

choldgraf
choldgraf previously approved these changes Feb 4, 2023

@choldgraf choldgraf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me - sorry for missing it before, I think it's OK to avoid testing since we are just inheriting the feature from the pydata theme, as you mention!

@choldgraf

Copy link
Copy Markdown
Member

@gilbertbw I tried pushing to your branch to fix the merge conflict but got access denied - can you run a merge commit from master and then we can merge?

@choldgraf

Copy link
Copy Markdown
Member

another ping...

@gilbertbw

Copy link
Copy Markdown
Contributor Author

Sorry, I missed the notifications about this. I have merged in master as requested.

@Maetveis

Copy link
Copy Markdown

Hi, @choldgraf can I help somehow getting this merged? We'd like to use this option for the ROCm documentation (ROCm/rocm-docs-core#413).

@Maetveis

Copy link
Copy Markdown

I rebased the branch to current master, its available here: https://github.com/StreamHPC/sphinx-book-theme/tree/gbw-additional-theme-customisation. Should I make a PR?

@choldgraf

choldgraf commented Oct 10, 2023 •

Copy link
Copy Markdown
Member

I'll close and re-open this one, let's see how the tests look

@choldgraf choldgraf closed this Oct 10, 2023
@choldgraf choldgraf reopened this Oct 10, 2023
@choldgraf
choldgraf merged commit 436993f into executablebooks:master Oct 10, 2023
@welcome

welcome Bot commented Oct 10, 2023

Copy link
Copy Markdown

Congrats on your first merged pull request in this project! 🎉
congrats

Thank you for contributing, we are very proud of you! ❤️

@choldgraf

Copy link
Copy Markdown
Member

The change and the tests seem OK, though might fail since we haven't rebased on master. Since this one has been waiting a bit I'm just gonna merge and we can see how it impacts the tests and do a spot-fix if necessary. That's easier than opening a whole new PR

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.

Support additional sidebar customisation in pydata-sphinx-theme

3 participants