Skip to content

Commit 679a7be

Browse files
author
William Grant
committed
new makefile, excluding tests from docs
1 parent 640dab3 commit 679a7be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Minimal makefile for Sphinx documentation
2-
3-
2+
SHELL = /bin/bash
3+
# SHELL = /bin/zsh
4+
.SHELLFLAGS = -O globstar -c # enable globstar operator
45

56
# You can set these variables from the command line, and also
67
# from the environment for the first two.
78
SPHINXOPTS ?=
89
SPHINXBUILD ?= sphinx-build
910
SOURCEDIR = .
1011
BUILDDIR = _build
11-
APIBUILDDIR = api
12+
APIBUILDDIR = api
1213
MODULEDIR = ../typed_python
13-
1414
# Put it first so that "make" without argument is like "make help".
1515
help:
1616
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1717

1818
.PHONY: help clean apidocs Makefile
1919

2020
apidocs:
21-
@sphinx-apidoc -fo "$(APIBUILDDIR)" "$(MODULEDIR)"
21+
@sphinx-apidoc -fo "$(APIBUILDDIR)" "$(MODULEDIR)" $(MODULEDIR)/**/*test*
2222

2323
clean:
2424
-rm -rf "$(BUILDDIR)"/*

0 commit comments

Comments
 (0)