Closed Lescurel closed 1 month ago
The pull request introduces several changes aimed at enhancing the documentation workflow using MkDocs. Key modifications include updates to the GitHub Actions workflow for publishing documentation, the addition of a Dockerfile for a Python environment, and changes to the .gitignore
and Makefile
to accommodate new documentation build processes. Additionally, configuration files have been updated to define output and source directories, and a new domain entry has been added for the documentation site.
File | Change Summary |
---|---|
.github/workflows/documentation.yml | Updated workflow triggers, build command, and job dependencies for documentation publishing. |
.gitignore | Added site/ directory to be ignored. |
Makefile | Added dev-docs target for building and serving documentation; corrected indentation for dev-test . |
docs/CNAME | Deleted file specifying the custom domain. |
docs/Dockerfile | Introduced a Dockerfile for setting up a Python environment for MkDocs. |
docs/mkdocs.yml | Modified to include site_dir and docs_dir , and corrected indentation in the navigation structure. |
docs/requirements.txt | Added dependency for mkdocs==1.6.1 . |
docs/src/CNAME | Added custom domain docs.makeradmin.se for the documentation site. |
π In the garden where the docs do grow,
A new path for publishing, now we know.
With Docker and MkDocs, our work's a delight,
A hop and a skip, our docs shine bright!
So letβs raise a cheer, for the changes today,
For a clearer, smoother, documentation way! πΌ
update-docker-images.sh (1)
``` Learnt from: emanuelen5 PR: makerspace/makeradmin#552 File: update-docker-images.sh:38-43 Timestamp: 2024-10-05T17:06:02.618Z Learning: Within the `update_all_refs_to_latest_digest` function in `update-docker-images.sh`, the list of files to update should remain hard-coded because the images and tags are strictly correlated to the source code and update files in the source tree. ```
update-docker-images.sh (1)
`42-42`: **LGTM! Addition of docs/Dockerfile is appropriate.** The inclusion of `docs/Dockerfile` in the list of files to update is consistent with the PR objective of moving the documentation setup to the `docs` directory. This change ensures that the Docker image digest in the new `docs/Dockerfile` will be updated along with other Dockerfiles and the docker-compose.yml file. This modification maintains the practice of hard-coding the list of files to update, which is appropriate as these files are directly correlated with the source code and update processes.
./site
to.gitignore
to avoid unwanted files to the repoSummary by CodeRabbit
New Features
Bug Fixes
Chores
.gitignore
to exclude generated files.Documentation