Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 902ab76

Browse files
add gh pages
1 parent 6686a1f commit 902ab76

File tree

8 files changed

+416
-7
lines changed

8 files changed

+416
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
if: github.ref == 'refs/heads/master'
1818
with:
1919
github_token: ${{ secrets.GITHUB_TOKEN }}
20-
publish_dir: ./build
20+
publish_dir: ./public

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,4 @@ dmypy.json
147147
outputs
148148
marimo_notebooks
149149
*.csv
150-
*.parquet
151-
*.html
150+
*.parquet

export_notebook.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ notebook_name=${1%.py}
1414
dir_path=$(dirname "$notebook_name")
1515
notebook_base=$(basename "$notebook_name")
1616

17-
# Create build directory and subdirectories if they don't exist
18-
mkdir -p "build/$dir_path"
17+
# Create public directory and subdirectories if they don't exist
18+
mkdir -p "public/$dir_path"
1919

2020
# Export the notebook to HTML
2121
echo "Exporting $notebook_name.py to HTML..."
22-
uv run marimo export html "$notebook_name.py" -o "build/$notebook_name.html" --sandbox
22+
uv run marimo export html "$notebook_name.py" -o "public/$notebook_name.html" --sandbox
2323

2424
# Check if the export was successful
2525
if [ $? -eq 0 ]; then
26-
echo "Successfully exported $notebook_name.py to build/$notebook_name.html"
26+
echo "Successfully exported $notebook_name.py to public/$notebook_name.html"
2727
else
2828
echo "Error: Failed to export notebook"
2929
exit 1

public/data_science_tools/narwhals.html

Lines changed: 82 additions & 0 deletions
Large diffs are not rendered by default.

public/data_science_tools/pandas_api_on_spark.html

Lines changed: 82 additions & 0 deletions
Large diffs are not rendered by default.

public/data_science_tools/polars_vs_pandas.html

Lines changed: 82 additions & 0 deletions
Large diffs are not rendered by default.

public/data_science_tools/pyspark_parametrize.html

Lines changed: 82 additions & 0 deletions
Large diffs are not rendered by default.

public/llm/pydantic_ai_examples.html

Lines changed: 82 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)