Skip to content

Commit c567ccb

Browse files
committed
fix docs docker + docs type annotation
1 parent 2e59dd2 commit c567ccb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8
1+
FROM python:3.9
22

33
WORKDIR /app/
44

@@ -29,9 +29,9 @@ RUN pip install -e .[all]
2929

3030
# Build the Docs
3131
# --------------
32-
ADD docs/main.py ./docs/
32+
ADD docs/app.py ./docs/
33+
ADD docs/examples.py ./docs/
3334
ADD docs/source ./docs/source
34-
ADD examples ./examples
3535

3636
RUN pip install -r requirements/build-docs.txt
3737
RUN sphinx-build -b html docs/source docs/build

docs/source/_exts/widget_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import re
24
from pathlib import Path
35
from typing import Any

0 commit comments

Comments
 (0)