From fccf38a564ada2a2a910708ab61feaa6b57dcb90 Mon Sep 17 00:00:00 2001 From: Malik Date: Mon, 20 Jan 2025 23:03:00 -0700 Subject: [PATCH 1/3] fix error in doc and clean up output of doc compile --- docs/source/calibration_bsd.rst | 1 - docs/source/conf.py | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/calibration_bsd.rst b/docs/source/calibration_bsd.rst index fdedd7f..58b772e 100644 --- a/docs/source/calibration_bsd.rst +++ b/docs/source/calibration_bsd.rst @@ -157,7 +157,6 @@ Calibrate against the target data obtained with ternary breakup and coalescence .. |figures-cal-tern-corn| image:: ../assets/calibration/tutorial_bsd/Surr_opt_ternary_corner.png :width: 49.5% :alt: Parameter PDF obtained with the surrogate forward model with ternary target data -.. container:: figures-cal-tern Calibrate against the target data obtained with binary breakup and coalescence diff --git a/docs/source/conf.py b/docs/source/conf.py index be385be..441aa8b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,6 +1,8 @@ # Configuration file for the Sphinx documentation builder. import os import sys +import sphinx.util.logging +sphinx.util.logging.getLogger('sphinx').setLevel('ERROR') # Need this so sphinx can find lumache.py. Change is .py files are elsewhere than root. sys.path.insert(0, os.path.abspath("../..")) @@ -35,6 +37,7 @@ # 'autoapi.extension', # 'sphinxcontrib.apidoc', ] + # bibtex_bibfiles = ["references.bib"] # autoapi_type = 'python' # autoapi_dirs = ['../../bird'] From bd600cae7da34e5ea5af15e839df02fb203876b1 Mon Sep 17 00:00:00 2001 From: Malik Date: Mon, 20 Jan 2025 23:03:43 -0700 Subject: [PATCH 2/3] fix compile doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a890f9..c7a4eaa 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ pip install nrel-bird ## Installation of BiRD OpenFOAM solver (for developers and users) 1. Activate your OpenFOAM-9 environment (`source /etc/rc`) -2. cd `OFsolvers/birdmultiphaseEulerFoam/` -3. `./Allwmake` +2. `cd OFsolvers/birdmultiphaseEulerFoam/` +3. Compile `./Allwmake` ## Documentation From c0d01610cb2ffe2790dd38a6178f62db470a4971 Mon Sep 17 00:00:00 2001 From: Malik Date: Tue, 21 Jan 2025 09:00:50 -0700 Subject: [PATCH 3/3] format --- docs/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 441aa8b..24c8880 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,8 +1,10 @@ # Configuration file for the Sphinx documentation builder. import os import sys + import sphinx.util.logging -sphinx.util.logging.getLogger('sphinx').setLevel('ERROR') + +sphinx.util.logging.getLogger("sphinx").setLevel("ERROR") # Need this so sphinx can find lumache.py. Change is .py files are elsewhere than root. sys.path.insert(0, os.path.abspath("../.."))