docs: migrate to MkDocs for site generation (#5227)

This commit is contained in:
Oleg Lobanov
2025-06-28 19:34:34 +02:00
committed by GitHub
parent 464b644adf
commit 6072540c3e
25 changed files with 281 additions and 8 deletions

19
Dockerfile.site.dev Normal file
View File

@@ -0,0 +1,19 @@
FROM squidfunk/mkdocs-material
# Install inotify-tools for watching file changes
RUN apk add --no-cache inotify-tools
WORKDIR /build
COPY site/requirements.txt /build/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port for mkdocs serve
EXPOSE 8000
# Copy the watch script and make it executable
COPY scripts/watch.sh /usr/local/bin/watch.sh
RUN chmod +x /usr/local/bin/watch.sh
# The entrypoint will run the initial setup and then start the server.
ENTRYPOINT ["/usr/local/bin/watch.sh"]