docs: Add initial LangGraph Cloud docs (#725)

* Create Deploy docs.

* Add LangGraph CLI docs.

* Update API concepts page.

* Create quick start page.

* first draft (#695)

* first draft

* fmt

* fmt

* Revert "fmt"

This reverts commit e599030ab5.

* Revert "fmt"

This reverts commit ec8fca977e.

* var change

* import lint

* changed locations

* second draft

* fmt

* Revert "fmt"

This reverts commit 68a1c5c872.

* double texting lint

* concepts (#704)

* concepts

* python sdk

* docs structure

* fmt

* fmt

* Small touch ups, rename Hosted LangGraph API to LangGraph Cloud. (#724)

* Fix small typos.

* Fix broken links in quick start page.

* Add LangGraph Cloud reference docs.

---------

Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com>
This commit is contained in:
Andrew Nguonly
2024-06-20 13:38:54 -07:00
committed by GitHub
co-authored by Isaac Francisco
parent 4a38dd45dc
commit f27d8e16ad
33 changed files with 5360 additions and 4 deletions
+7 -2
View File
@@ -8,6 +8,8 @@ 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"
cloud_sdk_dir = docs_dir / "deploy"
_MANUAL = {
"how-tos": [
@@ -96,6 +98,10 @@ def copy_notebooks():
continue
if any(path in _HOW_TOS for path in root.split(os.sep)):
dst_dir = how_tos_dir
elif 'sdk' in root.split(os.sep):
dst_dir = cloud_sdk_dir
elif 'cloud_examples' in root.split(os.sep):
dst_dir = cloud_how_tos_dir
else:
dst_dir = tutorials_dir
for file in files:
@@ -118,7 +124,6 @@ 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"
@@ -135,6 +140,7 @@ def copy_notebooks():
with open(dst_path, "w") as f:
f.write(content)
dst_dir = dst_dir_
# Top level notebooks are "how-to's"
# for file in examples_dir.iterdir():
# if file.suffix.endswith(".ipynb") and not os.path.isdir(
@@ -144,7 +150,6 @@ def copy_notebooks():
# dst_path = os.path.join(docs_dir, "how-tos", file.name)
# shutil.copy(src_path, dst_path)
if __name__ == "__main__":
clean_notebooks()
copy_notebooks()