Skip to content

Commit e059ae2

Browse files
authored
Add the autosummary generated files to .gitignore and 'make clean' (#363)
1 parent 35671a4 commit e059ae2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ build/
33
.vscode/
44
node_modules/
55
__pycache__/
6-
*.pyc
6+
*.pyc
7+
spec/**/generated

spec/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ BUILDDIR = _build
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15-
.PHONY: help Makefile
15+
.PHONY: help Makefile clean
1616

1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21+
22+
clean:
23+
-rm -rf $(BUILDDIR)
24+
-rm -rf "$(SOURCEDIR)/API_specification/generated"

0 commit comments

Comments
 (0)