forked from IDAES/examples-pse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yml
63 lines (62 loc) · 2.33 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Configuration file for build.py,
# a notebook and documentation builder
#
# Paths used for all sections
paths:
# where the Jupyter notebook source files are
source: src
# where the documentation (generated, hand-written) lives
output: docs
# the HTML output directory
html: _build/html
# Settings for running and converting Jupyter Notebooks
notebook:
# number of parallel 'workers' to run notebooks
num_workers: 7
# continue on errors (otherwise stop)
continue_on_error: true
# timeout
timeout: 1200
# if this is true, strip 'remove_cell' cells from the notebook as they
# are converted
strip: false
# where to put error files. special values: '__stdout__', '__stderr__'
error_file: notebook-errors.txt
# template file for the "_doc" wrapper RST file
template: docs/jupyter_notebook_sphinx.tpl
# List of directories to process. For each, source directory relative to
# paths.source and output directory relative to paths.output. The "match"
# string is a regular expression that acts as a filter: only files that
# have that expression (here a simple string) in them will be processed.
directories:
- source: Examples/Advanced/CustomUnitModels
- source: Examples/Advanced/CustomProperties
- source: Examples/Advanced/DataRecon
- source: Examples/Flowsheets
- source: Examples/Flowsheets/ngcc
- source: Examples/MatOpt
- source: Examples/SurrMod/Helmet
- source: Examples/SurrMod/PySMO
# - source: Examples/SurrMod/RIPE
# match: "RIPE_.*"
- source: Examples/Tools
- source: Examples/UnitModels/Operations
- source: Examples/UnitModels/Reactors
- source: Examples/Pecos
- source: Examples/DAE
- source: Tutorials/Advanced/ParamEst
- source: Tutorials/Basics
# Settings for building the notebook index page.
# These can be overridden with options to the script.
notebook_index:
input_file: notebook_index.yml
output_file: src/notebook_index.ipynb
# Settings for running Sphinx build
sphinx:
# Arguments that are given to 'sphinx-build' after arguments fixed in the code
args: "-b html -T {output} {output}/{html}"
# Error file for the sphinx errors (no special values)
error_file: sphinx-errors.txt
# Directory to create and use for linkchecker output
linkcheck_dir: lc