File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 files: ^(src|tests)/
5858{% endif %}
5959{% if preferred_linter == 'pylint' %}
60- # Analyze the src code style and report code that doesn't adhere.
60+ # Analyze the src code style and report code that doesn't adhere.
6161 - repo: local
6262 hooks:
6363 - id: pylint
Original file line number Diff line number Diff line change 44# You can set these variables from the command line, and also
55# from the environment for the first two.
66SPHINXOPTS ?= -T -E -d _build/doctrees -D language=en
7- EXCLUDENB ?= -D exclude_patterns="notebooks/*"
7+ {% - if include_notebooks %}
8+ EXCLUDENB ?= -D exclude_patterns="notebooks/*"
9+ {% - endif %}
810SPHINXBUILD ?= sphinx-build
911SOURCEDIR = .
1012BUILDDIR = ../_readthedocs/
1113
12- .PHONY : help no-nb no-notebooks clean Makefile
14+ .PHONY: help clean Makefile {% if include_notebooks %} no-nb no-notebooks{% endif %}
1315
1416# Put it first so that "make" without argument is like "make help".
1517help:
1618 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1719
20+ {% - if include_notebooks %}
21+
1822# Build all Sphinx docs locally, except the notebooks
1923no-nb no-notebooks:
2024 @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(EXCLUDENB) $(O)
25+ {% - endif %}
2126
2227# Cleans up files generated by the build process
2328clean:
You can’t perform that action at this time.
0 commit comments