Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/conf.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are those changes related to the trame backend?

Copy link
Collaborator Author

@jacanchaplais jacanchaplais Jul 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but they got merged in from the cherry pick on #9. That's why this should be merged after #13. (it will be in the history of main after #13 is merged)

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import re
import shutil
from pathlib import Path

from tesseract_streamlit import __version__

PARENT_DIR = Path(__file__).parent.resolve()

project = "tesseract-streamlit"
copyright = "2024, The tesseract-streamlit Team @ Pasteur Labs"
author = "The tesseract-streamlit Team @ Pasteur Labs"
Expand Down Expand Up @@ -55,3 +59,10 @@

html_theme = "furo"
html_static_path = ["static"]

# Copy example notebooks to docs/examples folder on every build
for example_dir in Path("../examples").glob("*/"):
# Copy the example directory to the docs folder
shutil.copytree(
example_dir, PARENT_DIR / "examples" / example_dir.name, dirs_exist_ok=True
)
2 changes: 2 additions & 0 deletions docs/examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*
!.gitignore
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@
self
api
```

```{toctree}
:caption: Examples
:maxdepth: 2
:hidden:

examples/vectoradd_jax/README.md
```
1,534 changes: 1,529 additions & 5 deletions production.uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"tesseract-core",
"jinja2",
"numpy",
"pyvista",
"pyvista[jupyter]",
"stpyvista",
"typing-extensions",
"requests",
Expand Down
Loading
Loading