forked from IDAES/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add front matter and test Github Actions (IDAES#12)
* Initial content * added missed dir * saving work eh * Try to get pytest to work for us now * Debug conda env var * try again * try again * more debug info * marker file * Drop python 3.11 * Better logging and preprocessing * Added artifact upload * Log format * Added pytest report log as artifact * fooling more with the artifacts * Try to get reporting to run on failed tests * Update actions to those supporting node 16 * Don't bother with pytest report log * moved ngcc-soec to archive and added some pytest.ini options * modified copyright header see Issue IDAES#7 * removed soec notebook from ToC since it's now in archive * fixed omlt version * added some exclude patterns for docs * taking out omlt version again (mistake) * Move back ngcc_soec so it's tested * Forgot to add back to toc * Correct some docs * New CSVs * Temporarily moved HDA with distillation flowsheet to archive/ * NGCC SOEC restored * improved docs * bugfix spurious preprocessing * some missing index files * Tweaks to table of contents * Added comment about the active index * bugfix * Adding RTD integration * Added get-extensions to RTD(?) * added petsc, changed fail-on-warning to false * fixed link * wording * cleaned up scripts * add a PATH export * try again PATH * autochanged * don't execute * add 'conf' command * adding in generated _doc files * play with RTD script * cat some info * Use cache not doc files * no more catting info * refactored deps for readthedocs * Better conf updates, esp for RTD * Better help and behavior * Added cache_file option for conf * Added cache file option * remove generated file * moving failing notebooks to archive * exclude exercise cells from docs * changes * MD links * outputs * add JupyterBook requirements * take out dev requirements (namely tensorflow!) * add jupyterbook requirements (keep dev) * reduced tolerance for water utilization value assert (to 1e-2) * create held dir, update docs, move notebooks * link target for copyright headers subsection * don't need target! * updated for moved notebook * added missing noauto tag * black formatting
- Loading branch information
Showing
130 changed files
with
40,133 additions
and
3,260 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: readthedocs/actions | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
# Execute this action only on PRs that touch | ||
# documentation files. | ||
# paths: | ||
# - "docs/**" | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
pull-request-links: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: readthedocs/actions/preview@v1 | ||
with: | ||
project-slug: idaes-examples | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.8" | ||
jobs: | ||
pre_build: | ||
# Generate variations on the base notebook files, in particular one for docs. | ||
- "idaesx pre" | ||
# Generate the Sphinx configuration for this Jupyter Book, so it builds. | ||
- "jupyter-book config sphinx idaes_examples/notebooks/" | ||
|
||
# Create the _doc notebooks | ||
- idaesx pre -v | ||
# Use cached data instead of notebook execution (will use saved '*_doc.ipynb' files) | ||
# This also updates the Sphinx configuration (conf.py) | ||
- idaesx conf --execute cache --cache-file nbcache --timeout 600 --sphinx --show | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- dev | ||
- jb | ||
|
||
sphinx: | ||
builder: html | ||
fail_on_warning: true | ||
fail_on_warning: false |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
The Institute for the Design of Advanced Energy Systems Integrated Platform | ||
Framework (IDAES IP) was produced under the DOE Institute for the | ||
Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2022 | ||
by the software owners: The Regents of the University of California, through | ||
Lawrence Berkeley National Laboratory, National Technology & Engineering | ||
Solutions of Sandia, LLC, Carnegie Mellon University, West Virginia University | ||
Research Corporation, et al. All rights reserved. | ||
Design of Advanced Energy Systems (IDAES). | ||
|
||
Please see the files COPYRIGHT.md and LICENSE.md for full copyright and | ||
license information. | ||
Copyright (c) 2018-2023 by the software owners: The Regents of the | ||
University of California, through Lawrence Berkeley National Laboratory, | ||
National Technology & Engineering Solutions of Sandia, LLC, Carnegie Mellon | ||
University, West Virginia University Research Corporation, et al. | ||
All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md | ||
for full copyright and license information. |
Oops, something went wrong.