Disable some pages in sidebar

I want to ignore some of the pages in the sidebar. I read the documentation where, in config.toml, you can set showSidebarNavigation = false, but this disables the entire sidebar. Does Streamlit have any method to hide specific pages from the sidebar?

Hey @Kevin10, are you using the old multipage app way by using a pages/ directory or the new st.navigation command? With the new st.navigation command, I believe you would be able to add / remove pages dynamically. It might be worth trying out!