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
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@
templates_path = ['_templates']

# always execute notebooks
nbsphinx_execute = 'always'
env_skip_execute = os.getenv("SKIP_EXECUTE")

if not env_skip_execute:
nbsphinx_execute = 'always'
else:
nb_execution_mode = "never"

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
Expand Down
16 changes: 16 additions & 0 deletions docs/source/help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@ to squash commits upon merge to have a clean history. *Please ensure
that your PR title and first post are descriptive, since these will be
used for a squashed commit message.*

Building Docs
-------------

The source for the documentation is in `pyro/docs` and can be built via:

```
make html
```

By default, this will execute all of the notebooks that are used in the docs,
which can take time. To skip the execution, you can build as:

```
make SKIP_EXECUTE=TRUE html
```

Discussions
-----------

Expand Down
Loading