Update DocMaker Dockerfile with fixed Typst and Vale installation, add GUIDEBOOK directory with initial documentation

This commit is contained in:
2025-10-16 09:17:21 -05:00
parent cf0a36071e
commit 7fad76ea9d
5 changed files with 75 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ RUN cargo install mdbook mdbook-pdf
# Install Typst
RUN curl -L https://github.com/typst/typst/releases/latest/download/typst-x86_64-unknown-linux-musl.tar.xz \
| tar xJ -C /tmp && cp /tmp/typst /usr/local/bin && chmod +x /usr/local/bin/typst
| tar xJ -C /tmp && cp /tmp/typst-x86_64-unknown-linux-musl/typst /usr/local/bin && chmod +x /usr/local/bin/typst
# Install Marp CLI
RUN npm install -g @marp-team/marp-cli
@@ -50,11 +50,11 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# Install vale for advanced style and grammar checking
RUN curl -L https://github.com/errata-ai/vale/releases/latest/download/vale_Linux_64-bit.tar.gz \
RUN curl -L https://github.com/errata-ai/vale/releases/download/v3.12.0/vale_3.12.0_Linux_64-bit.tar.gz \
| tar xz -C /tmp && cp /tmp/vale /usr/local/bin && chmod +x /usr/local/bin/vale
# Install text statistics tool for reading time estimation
RUN pip3 install mdstat
RUN pip3 install mdstat textstat
# Install additional text processing tools
RUN apt-get update && apt-get install -y \