How to make a page that is in pages directory not be displayed in sidebar

I have 5 pages in pages directory and I dont want one of the pages to be shown in the sidebar navigation menu(one that is created whenever a page is added in multipage streamlit app). Cause I want the page to be accessed only by clicking a link in the other page.

You will probably have to implement a custom navigation menu using st.page_link. Check this tutorial from the docs:

1 Like