Skip to content

Commit

Permalink
Clarify filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
blackary authored Jul 26, 2024
1 parent fd33fdb commit 9b30b04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ icon = ":books:"
url_path = "my_books" # You can override the default url path for a page
```

Example with sections:
Example with sections, `.stremalit/pages_sections.toml`:

```toml
[[pages]]
Expand Down Expand Up @@ -91,6 +91,9 @@ from st_pages import add_page_title, get_nav_from_toml

st.set_page_config(layout="wide")

# If you want to use the no-sections version, this
# defaults to looking in .streamlit/pages.toml, so you can
# just call `get_nav_from_toml()`
nav = get_nav_from_toml(".streamlit/pages_sections.toml")

st.logo("logo.png")
Expand Down

0 comments on commit 9b30b04

Please sign in to comment.