Skip to content

Commit a2981a5

Browse files
author
phernandez
committed
chore: update example projects
1 parent 7b2ac4c commit a2981a5

File tree

7 files changed

+944
-2
lines changed

7 files changed

+944
-2
lines changed

docs/markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def parse_jinja_markdown(file_path: Path):
7070

7171
md = create_markdown(examples=examples)
7272
html_content = md.convert(stripped_content)
73-
toc = md.toc
73+
toc = md.toc # pyright: ignore [reportAttributeAccessIssue]
7474

7575
# Render the template with context
7676
template = templates.env.from_string(html_content)

examples/django/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ requires-python = ">=3.10"
66
packages = ["example"]
77

88
dependencies = [
9+
"basic-components[utils]>=0.1.0",
910
"Django>=4.2.0,<5.0.0",
1011
"jinjax[whitenoise]>=0.47",
1112
]

examples/django/uv.lock

Lines changed: 398 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/fastapi/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies = [
1414
"arel>=0.3.0",
1515
"websockets>=13.1",
1616
"watchfiles>=0.24.0",
17+
"basic-components>=0.1.0",
1718
]
1819

1920
[build-system]

examples/fastapi/uv.lock

Lines changed: 155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/flask/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ requires-python = ">=3.10"
66
packages = ["example"]
77

88
dependencies = [
9+
"basic-components[utils]>=0.1.0",
910
"Flask>=3.0.0",
1011
"jinjax>=0.47",
1112
]
@@ -15,4 +16,4 @@ requires = ["hatchling"]
1516
build-backend = "hatchling.build"
1617

1718
[tool.hatch.build.targets.wheel]
18-
packages = ["example"]
19+
packages = ["example"]

0 commit comments

Comments
 (0)