update tutorials (#11402)
This commit is contained in:
parent
18bbb39eef
commit
f9c3619eeb
3
Makefile
3
Makefile
|
@ -31,3 +31,6 @@ test: clean
|
|||
docs: clean
|
||||
pip install --quiet -r requirements/docs.txt
|
||||
python -m sphinx -b html -W --keep-going docs/source docs/build
|
||||
|
||||
update:
|
||||
git submodule update --init --recursive --remote
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0c325829101d5a6ebf32ed99bbf5b09badf04a59
|
||||
Subproject commit 290fb466de1fcc2ac6025f74b56906592911e856
|
|
@ -30,8 +30,8 @@ sys.path.append(os.path.join(PATH_RAW_NB, ".actions"))
|
|||
_SHOULD_COPY_NOTEBOOKS = True
|
||||
|
||||
try:
|
||||
from helpers import HelperCLI
|
||||
except Exception:
|
||||
from assistant import AssistantCLI
|
||||
except ImportError:
|
||||
_SHOULD_COPY_NOTEBOOKS = False
|
||||
warnings.warn("To build the code, please run: `git submodule update --init --recursive`", stacklevel=2)
|
||||
|
||||
|
@ -46,7 +46,9 @@ spec.loader.exec_module(about)
|
|||
|
||||
# -- Project documents -------------------------------------------------------
|
||||
if _SHOULD_COPY_NOTEBOOKS:
|
||||
HelperCLI.copy_notebooks(PATH_RAW_NB, PATH_HERE, "notebooks", patterns=[".", "course_UvA-DL", "lightning_examples"])
|
||||
AssistantCLI.copy_notebooks(
|
||||
PATH_RAW_NB, PATH_HERE, "notebooks", patterns=[".", "course_UvA-DL", "lightning_examples"]
|
||||
)
|
||||
|
||||
|
||||
def _transform_changelog(path_in: str, path_out: str) -> None:
|
||||
|
|
Loading…
Reference in New Issue