Skip to content

Conversation

@Bgreen23
Copy link
Contributor

@Bgreen23 Bgreen23 commented Feb 23, 2021

This PR adds an array to the layout file. To collapse a section add the caption text to the array.
Ex: var collapsedSections = ['Learning PyTorch', 'Audio'];
In that example, the Learning PyTorch and Audio sections will be collapsed and all other sections will be expanded by default

@netlify
Copy link

netlify bot commented Feb 23, 2021

Deploy preview for pytorch-tutorials-preview ready!

Built with commit b4f9fea

https://deploy-preview-1372--pytorch-tutorials-preview.netlify.app

@ydcjeff
Copy link

ydcjeff commented Mar 1, 2021

@brianjo @Bgreen23 the latest pytorch tutorials site still has left nav bar collapsed even after collapsedSections is null.

gaoteng-git pushed a commit to gaoteng-git/tutorials that referenced this pull request Mar 2, 2021
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants