File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 57
57
templates_path = ['_templates' ]
58
58
59
59
# always execute notebooks
60
- nbsphinx_execute = 'always'
60
+ env_skip_execute = os .getenv ("SKIP_EXECUTE" )
61
+
62
+ if not env_skip_execute :
63
+ nbsphinx_execute = 'always'
64
+ else :
65
+ nb_execution_mode = "never"
61
66
62
67
# The suffix(es) of source filenames.
63
68
# You can specify multiple suffix as a list of string:
Original file line number Diff line number Diff line change @@ -40,6 +40,22 @@ to squash commits upon merge to have a clean history. *Please ensure
40
40
that your PR title and first post are descriptive, since these will be
41
41
used for a squashed commit message. *
42
42
43
+ Building Docs
44
+ -------------
45
+
46
+ The source for the documentation is in `pyro/docs ` and can be built via:
47
+
48
+ ```
49
+ make html
50
+ ```
51
+
52
+ By default, this will execute all of the notebooks that are used in the docs,
53
+ which can take time. To skip the execution, you can build as:
54
+
55
+ ```
56
+ make SKIP_EXECUTE=TRUE html
57
+ ```
58
+
43
59
Discussions
44
60
-----------
45
61
You can’t perform that action at this time.
0 commit comments