add MkDocs configuration and build workflow for documentation#2957
add MkDocs configuration and build workflow for documentation#2957Borda wants to merge 1 commit into
Conversation
|
@FabianIsensee, how are you doing? Could you pls have a look? 🦩 |
|
@FabianIsensee I do appreciate your work (as you recently made a few commits, which makes me full of hope this repo is not stale yet), and you considered reviewing my contribution, assigning it to yourself, but curious as it has hung for a few months by now, if anything is going to happen, or shall I just close it 😕 |
|
Thanks for this PR! I like the idea of having proper hosted docs. One issue though: our development happens on an internal GitLab instance that mirrors all commits to GitHub. The mirror periodically overwrites GitHub's history with whatever is on GitLab. This means the git-auto-commit-action approach won't work. The site/ commit would get wiped on every mirror sync. The fix would be to deploy to GitHub Pages directly instead of committing site/ back into the repo. This requires two changes:
|
Motivation
This PR introduces MkDocs for building and hosting the project's documentation. Previously, documentation was stored as plain Markdown files in the
documentation/directory, which limited discoverability and navigation for users. By compiling these into a structured HTML site using MkDocs, we enhance user experience with features like search, themes, and organized sections (e.g., Getting Started, Advanced Topics). This makes the docs more accessible and professional, aligning with modern open-source standards.Impact
mkdocs.ymlsimplifies updates and ensures consistency.Simple Guide to Enable Deployment with GitHub Pages
gh-pagesbranch or deploys directly)..github/workflows/docs.yml) builds and deploys thesite/directory. If using thestefanzweifel/git-auto-commit-action, it should handle pushing to the repo.https://<username>.github.io/<repo-name>/to view the live docs. Update the workflow if needed to trigger on pushes tomain.