Conversation
…t they are rendered in the docs
8ab9000 to
e451e66
Compare
… coordinate_system is a runtime parameter
…stent with cmake-ubuntu.yaml
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a documentation build pipeline for MiTo by combining Doxygen (C++ API extraction) with Sphinx+Breathe (HTML site generation), and adds tutorial pages that embed example source code and captured outputs.
Changes:
- Added Doxygen + Sphinx (ReadTheDocs theme) configuration and build artifacts for generating API docs.
- Added Sphinx pages for geometry/fem modules and a tutorials section with 5 tutorial pages.
- Added CI workflow + script to build/run tutorials, generate
_tutorial_outputs, and build/deploy docs to GitHub Pages.
Reviewed changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| lib/mito/geometry/GeometricSimplex.h | Small change in parametrization assembly (origin handling) while prepping docs-friendly comments. |
| lib/mito/fem/FunctionSpace.h | Converted class header comment to Doxygen-style (@brief, @tparam). |
| lib/mito/fem/FemField.h | Converted class header comment to Doxygen-style (@brief, @tparam). |
| docs/source/index.rst | Added documentation site landing page and toctree structure. |
| docs/source/geometry.rst | Added module index page rendering key geometry classes via Breathe. |
| docs/source/fem.rst | Added module index page rendering key FEM classes via Breathe. |
| docs/source/tutorials.rst | Added tutorials index and local build instructions. |
| docs/source/tutorial_1_functions.rst | Added tutorial page embedding tutorial source and captured output. |
| docs/source/tutorial_2_tensors.rst | Added tutorial page embedding tutorial source and captured output. |
| docs/source/tutorial_3_fields.rst | Added tutorial page embedding tutorial source and captured output. |
| docs/source/tutorial_4_divergence_theorem_2d.rst | Added tutorial page embedding tutorial source and captured output (plus artifacts section). |
| docs/source/tutorial_5_divergence_theorem_2d_in_3d.rst | Added tutorial page embedding tutorial source and captured output. |
| docs/source/conf.py | Added Sphinx configuration (extensions, Breathe, theme, highlighting). |
| docs/requirements.txt | Added Python dependencies for building Sphinx docs. |
| docs/README.md | Added documentation build README for developers. |
| docs/Makefile | Added Sphinx make targets for local docs builds. |
| docs/Doxyfile | Added Doxygen configuration to generate XML consumed by Breathe. |
| .github/workflows/docs.yaml | Added CI workflow to build/run tutorials, build docs, and deploy to GitHub Pages. |
| .github/scripts/build_and_run_tutorials.sh | Added script to build/run each tutorial and collect outputs/artifacts for Sphinx inclusion. |
| .gitignore | Ignored generated Doxygen/Sphinx outputs and tutorial output artifacts produced in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 20 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request sets up the base code documentation infrastructure:
fem.rst,geometry.rst) and formatted comments/docstrings forFunctionSpaceandFemFieldso that they are rendered in the docs