Skip to content

Commit

Permalink
fix(docs): fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Mar 28, 2024
1 parent ce4a3a0 commit 0e1d755
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions solara/scope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e1d755

Please sign in to comment.