Skip to content

Rebuild OHW22 toctree - #246

Merged
abkfenris merged 6 commits into
oceanhackweek:sourcefrom
abkfenris:lost-resources
May 24, 2023
Merged

abkfenris merged 6 commits into
oceanhackweek:sourcefrom
abkfenris:lost-resources

Conversation

@abkfenris

@abkfenris abkfenris commented May 24, 2023 •

Copy link
Copy Markdown
Member

It looks like a page needs to be in an existing toctree, before Sphinx will build a toctree for it.

I've added it back to the primary toctree, but I've limited the number of entries that will display in the menu.

I've also gone and removed the duplicate search options from the menu while I was there.

Closes #245

It looks like a page needs to be in an existing toctree, before Sphinx will build a toctree for it.

I've added it back to the primary toctree, but I've limited the number of entries that will display in the menu.

I've also gone and removed the duplicate search options from the menu while I was there.

Closes oceanhackweek#245
@abkfenris
abkfenris requested a review from emiliom May 24, 2023 16:48
@netlify

netlify Bot commented May 24, 2023 •

Copy link
Copy Markdown

✅ Deploy Preview for oceanhackweek-preview ready!

Name Link
🔨 Latest commit 22c930b
🔍 Latest deploy log https://app.netlify.com/sites/oceanhackweek-preview/deploys/646e46e88bf2430008543aad
😎 Deploy Preview https://deploy-preview-246--oceanhackweek-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@emiliom

emiliom commented May 24, 2023

Copy link
Copy Markdown
Member

It looks like a page needs to be in an existing toctree, before Sphinx will build a toctree for it.

I've added it back to the primary toctree, but I've limited the number of entries that will display in the menu.

So, OHW22 is now in the top bar. It sounds like you intended to have header_links_before_dropdown effectively clip it, right? Maybe set header_links_before_dropdown to 2?

I've also gone and removed the duplicate search options from the menu while I was there.

Thank you! That's been a bit annoying. But, at least on the netlify preview, the search box is now gone.

Thanks!

@abkfenris

Copy link
Copy Markdown
Member Author

I think netlify was ignoring the search and the limits as it was using an old version of the theme.

@abkfenris

Copy link
Copy Markdown
Member Author

And it was using an old version of Python.

@abkfenris

Copy link
Copy Markdown
Member Author

And it doesn't support 3.10. Grr.

@abkfenris

Copy link
Copy Markdown
Member Author

Ok, now @emiliom it should be working.

@emiliom emiliom 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.

That looks great!! I like the "More" drop-down. Good to go.

@abkfenris
abkfenris merged commit 1aed871 into oceanhackweek:source May 24, 2023
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.

Resurface menu in OHW22 pages

2 participants