Skip to content

Commit f4a2ad6

Browse files
author
William Grant
committed
troubleshooting RTD yaml 7
1 parent d835219 commit f4a2ad6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ build:
66
python: "3.10"
77
jobs:
88
pre_build:
9-
- sphinx-apidoc -fo docs/api typed_python typed_python/**/*test*
10-
9+
- cd docs && make apidocs && cd ..
1110

1211
python:
1312
install:

docs/Makefile

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

63
# You can set these variables from the command line, and also
74
# from the environment for the first two.
@@ -18,7 +15,7 @@ help:
1815
.PHONY: help clean apidocs Makefile
1916

2017
apidocs:
21-
@sphinx-apidoc -fo "$(APIBUILDDIR)" "$(MODULEDIR)" $(MODULEDIR)/**/*test*
18+
@sphinx-apidoc -fo "$(APIBUILDDIR)" "$(MODULEDIR)" $(MODULEDIR)/*test* $(MODULEDIR)/*/*test*
2219

2320
clean:
2421
-rm -rf "$(BUILDDIR)"/*

0 commit comments

Comments
 (0)