Docs for st.navigation expanded parameter#14451
Docs for st.navigation expanded parameter#14451lukasmasuch merged 2 commits intostreamlit:developfrom
st.navigation expanded parameter#14451Conversation
|
Thanks for contributing to Streamlit! 🎈 Please make sure you have read our Contributing Guide. You can find additional information about Streamlit development in the wiki. The review process:
We're receiving many contributions and have limited review bandwidth — please expect some delay. We appreciate your patience! 🙏 |
stnavigation expanded parameterst.navigation expanded parameter
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
This PR updates the st.navigation docstring documentation for the expanded parameter to clarify when the sidebar navigation can collapse and how changes to expanded behave across reruns.
Changes:
- Clarifies that the
expandedcollapse/expand behavior only applies when the sidebar has additional content below the nav menu. - Rewords the descriptions of
expanded=False,expanded=True, and integer values, including rerun behavior whenexpandedchanges.
|
@lukasmasuch I can't merge any of the docs PR anymore since I'm an external contributor. Please go ahead and merge them. If theses are after a release cut, they can be cherry picked. |
Describe your changes
Docs only.
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.