Skip to content

A programming framework for agentic AI

Update base container for website (#1584)

gagb68337b955393
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 5bf2d4c27..0e24c6cd5 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -14,9 +14,13 @@ RUN apt-get update \
&& apt-get -y install --no-install-recommends build-essential npm \
&& apt-get autoremove -y \
&& apt-get clean -y \
- && rm -rf /var/lib/apt/lists/*
+ && wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.549/quarto-1.4.549-linux-amd64.deb \
+ && dpkg -i quarto-1.4.549-linux-amd64.deb \
+ && rm -rf /var/lib/apt/lists/* quarto-1.4.549-linux-amd64.deb
ENV DEBIAN_FRONTEND=dialog
# For docs
RUN npm install --global yarn
RUN pip install pydoc-markdown
+RUN pip install pyyaml
+RUN pip install colored
diff --git a/website/build_website.sh b/website/build_website.sh
new file mode 100644
index 000000000..92b39844c
--- /dev/null
+++ b/website/build_website.sh
@@ -0,0 +1,17 @@
+#
+# This script generates documentation using pydoc-markdown and renders the website using Quarto.
+#
+# Usage: bash build_website.sh
+#
+
+# Generate documentation using pydoc-markdown
+pydoc-markdown
+
+# Render the website using Quarto
+quarto render ./docs
+
+# Process notebooks using a Python script
+python ./process_notebooks.py
+
+# Start the website using yarn
+yarn start