Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport fixes from Raven PR #86

Merged
merged 2 commits into from
May 22, 2020
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
5 changes: 3 additions & 2 deletions {{cookiecutter.project_repo_name}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ refresh-notebooks:
docs:
@echo "Generating docs with Sphinx ..."
@-bash -c '$(MAKE) -C $@ clean html'
@echo "Opening browser to: file:/$(APP_ROOT)/docs/build/html/index.html"
@-bash -c 'xdg-open $(APP_ROOT)/docs/build/html/index.html'
@echo "Open your browser to: file:/$(APP_ROOT)/docs/build/html/index.html"
## do not execute xdg-open automatically since it hangs travis and job does not complete
@echo "xdg-open $(APP_ROOT)/docs/build/html/index.html"

## Deployment targets

Expand Down
3 changes: 3 additions & 0 deletions {{cookiecutter.project_repo_name}}/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
"IPython.sphinxext.ipython_console_highlighting",
]

# We are using mock imports in readthedocs, so probably safer to not run the notebooks
nbsphinx_execute = 'never'

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down