changed locations

This commit is contained in:
isaac hershenson
2024-06-18 15:41:01 -07:00
parent 6492cdbc05
commit 0b9594b497
10 changed files with 4 additions and 2 deletions
+1
View File
@@ -1 +1,2 @@
*.ipynb
site/
+3 -2
View File
@@ -8,6 +8,7 @@ examples_dir = root_dir / "examples"
docs_dir = root_dir / "docs/docs"
how_tos_dir = docs_dir / "how-tos"
tutorials_dir = docs_dir / "tutorials"
cloud_how_tos_dir = docs_dir / "deploy/how-tos"
_MANUAL = {
"how-tos": [
@@ -116,7 +117,7 @@ def copy_notebooks():
)
print(f"Overriding: {src_path} to {dst_path}")
break
'''
# Avoid double nesting.
dst_path = dst_path.replace("tutorials/tutorials", "tutorials").replace(
"how-tos/how-tos", "how-tos"
@@ -141,7 +142,7 @@ def copy_notebooks():
# src_path = os.path.join(examples_dir, file)
# dst_path = os.path.join(docs_dir, "how-tos", file.name)
# shutil.copy(src_path, dst_path)
'''
if __name__ == "__main__":
clean_notebooks()