Skip to content

Commit 68337b9

Browse files
authored
Update base container for website (#1584)
* Add dependencies for website * Add a shell script to build the website
1 parent d675489 commit 68337b9

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.devcontainer/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ RUN apt-get update \
1414
&& apt-get -y install --no-install-recommends build-essential npm \
1515
&& apt-get autoremove -y \
1616
&& apt-get clean -y \
17-
&& rm -rf /var/lib/apt/lists/*
17+
&& wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.549/quarto-1.4.549-linux-amd64.deb \
18+
&& dpkg -i quarto-1.4.549-linux-amd64.deb \
19+
&& rm -rf /var/lib/apt/lists/* quarto-1.4.549-linux-amd64.deb
1820
ENV DEBIAN_FRONTEND=dialog
1921

2022
# For docs
2123
RUN npm install --global yarn
2224
RUN pip install pydoc-markdown
25+
RUN pip install pyyaml
26+
RUN pip install colored

website/build_website.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# This script generates documentation using pydoc-markdown and renders the website using Quarto.
3+
#
4+
# Usage: bash build_website.sh
5+
#
6+
7+
# Generate documentation using pydoc-markdown
8+
pydoc-markdown
9+
10+
# Render the website using Quarto
11+
quarto render ./docs
12+
13+
# Process notebooks using a Python script
14+
python ./process_notebooks.py
15+
16+
# Start the website using yarn
17+
yarn start

0 commit comments

Comments
 (0)