Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y texlive-latex-extra texlive-fonts-recommended texlive-science dvipng cm-super libosmesa6-dev libgl1-mesa-dev
sudo apt-get install -y texlive-latex-extra texlive-fonts-recommended texlive-science dvipng cm-super libosmesa6-dev libgl1-mesa-dev libopenmpi-dev openmpi-bin

- name: Install uv
uses: astral-sh/setup-uv@v4
Expand All @@ -49,8 +49,8 @@ jobs:
- name: Build Sphinx docs
env:
PYVISTA_OFF_SCREEN: "true"
PYTHONPATH: "${{ github.workspace }}"
run: uv run python main.py --docs
PYTHONPATH: "${{ github.workspace }}/src"
run: uv run sphinx-build -b html docs/source docs/build/html

- name: Upload artifact
if: github.ref == 'refs/heads/main'
Expand Down
4 changes: 2 additions & 2 deletions Experiments/01-kernels/README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
01 - Choise of Kernel: Numpy vs Numba
======================
01 - Choice of Kernel: NumPy vs Numba
======================================

Description
-----------
Expand Down
4 changes: 2 additions & 2 deletions Experiments/01-kernels/plot_kernels.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Visualization of kernel experiments
===========================
Visualization of Kernel Experiments
====================================

Comprehensive analysis and visualization of NumPy vs Numba kernel benchmarks.
"""
Expand Down
5 changes: 4 additions & 1 deletion Experiments/04-validation/compute_validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
"""
Solver Validation: Run solver across configurations and save results.
Solver Validation
=================

Run solver across configurations and save results.
"""

from Poisson import run_solver, get_project_root
Expand Down
10 changes: 1 addition & 9 deletions docs/source/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,7 @@ Computational Kernels
=====================

The package provides two implementations of the Jacobi iteration kernel through the :mod:`Poisson.kernels` module.

.. .. autosummary::
.. :toctree: generated
..
.. jacobi_step_numpy
.. jacobi_step_numba

NumPy and Numba kernel implementations are available through the :class:`NumPyKernel` and :class:`NumbaKernel` classes.
See the :doc:`generated/Poisson.kernels` module documentation for details.
NumPy and Numba kernel implementations are available through the ``NumPyKernel`` and ``NumbaKernel`` classes.

Problem Setup
=============
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"show-inheritance": True,
}

# Mock heavy runtime dependencies
# autodoc_mock_imports = ["numba", "pyarrow", "matplotlib"] # Disabled - causing import issues
# Mock heavy runtime dependencies that may not be available during docs build
autodoc_mock_imports = ["mpi4py", "h5py", "numba"]

# -- Numpydoc configuration --------------------------------------------------

Expand Down
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,8 @@ def main():
# Handle documentation commands

if args.docs:
build_docs()
if not build_docs():
sys.exit(1)


if __name__ == "__main__":
Expand Down