diff --git a/solara/scope/__init__.py b/solara/scope/__init__.py index e1d20b801..c953026f8 100644 --- a/solara/scope/__init__.py +++ b/solara/scope/__init__.py @@ -50,7 +50,7 @@ def get_kernel_id(ipython_fallback=True) -> str: See [Understanding solara server](/docs/understanding/solara-server) for understanding the concept of virtual kernels and their lifetime. - This unique ID can be useful to to implement storing state, scoped to a kernel. See [the scope example](/examples/general/scopes) for an example. + This unique ID can be useful to to implement storing state, scoped to a kernel. See [the scope example](/examples/general/custom_storage) for an example. If `ipython_fallback` is `True` (default), this function will also work in IPython notebooks, where it will return the IPython kernel id. @@ -79,7 +79,8 @@ def get_session_id() -> str: See [Understanding solara server](/docs/understanding/solara-server#session) for more information about the Solara sessions. - This unique ID can be useful to to implement storing state, scoped to a browser session. See [the scope example](/examples/general/scopes) for an example. + This unique ID can be useful to to implement storing state, scoped to a browser session. See [the scope example](/examples/general/custom_storage) + for an example. """ import solara.server.kernel_context diff --git a/solara/website/pages/documentation/advanced/content/10-howto/20-layout.md b/solara/website/pages/documentation/advanced/content/10-howto/20-layout.md index 1842812ad..96770586f 100644 --- a/solara/website/pages/documentation/advanced/content/10-howto/20-layout.md +++ b/solara/website/pages/documentation/advanced/content/10-howto/20-layout.md @@ -33,7 +33,7 @@ def Page(): solara.Info("two per column on small screens, three per column on large screens") ``` -[Navigate here to watch this layout in a full browser window](/documentation/examples/fullscreen/layout_demo) +[Navigate here to watch this layout in a full browser window](/documentation/examples/fullscreen/layout-demo) The key takeaways are: diff --git a/solara/website/pages/documentation/examples/general/custom_storage.py b/solara/website/pages/documentation/examples/general/custom_storage.py index 6703cb846..ccb71e479 100644 --- a/solara/website/pages/documentation/examples/general/custom_storage.py +++ b/solara/website/pages/documentation/examples/general/custom_storage.py @@ -10,7 +10,7 @@ In case you want to store state/data scoped to a user, you can use a similar strategy, but use a unique identifier based on the user, instead of the session id. You can take a look at [Our oauth example](examples/general/login_oauth) or -[the authorization example](/examples/apps/authorization) for inspiration. +[the authorization example](/apps/authorization) for inspiration. """ from typing import Dict diff --git a/solara/website/pages/documentation/getting_started/content/04-tutorials/40-streamlit.md b/solara/website/pages/documentation/getting_started/content/04-tutorials/40-streamlit.md index 73548f034..82b75fba8 100644 --- a/solara/website/pages/documentation/getting_started/content/04-tutorials/40-streamlit.md +++ b/solara/website/pages/documentation/getting_started/content/04-tutorials/40-streamlit.md @@ -49,7 +49,7 @@ You will see: Because we do some styling and because the sidebar is already used up, our preview on this page looks slightly different. -[Navigate to /apps/tutorial-streamlit](/documentation/examples/fullscreen/tutorial_streamlit) to see this app fullscreen. +[Navigate to /apps/tutorial-streamlit](/apps/tutorial-streamlit) to see this app fullscreen. ### Running this example in the notebook