Skip to content

Commit d1fc3a3

Browse files
author
William Grant
committed
troubleshooting RTD yaml 8
1 parent f4a2ad6 commit d1fc3a3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.readthedocs.yaml

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

1112
python:
1213
install:

docs/Makefile

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

36
# You can set these variables from the command line, and also
47
# from the environment for the first two.
@@ -15,7 +18,7 @@ help:
1518
.PHONY: help clean apidocs Makefile
1619

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

2023
clean:
2124
-rm -rf "$(BUILDDIR)"/*

0 commit comments

Comments
 (0)