Skip to content

Commit c1ff001

Browse files
committed
fixed Makefile, hopefully
1 parent 67878e5 commit c1ff001

4 files changed

Lines changed: 7 additions & 13 deletions

File tree

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean-pyc clean-build clean
1+
.PHONY: clean-pyc clean-build clean docs
22
UNAME := $(shell uname)
33

44
RSC_API_KEYS=vetiver/tests/rsconnect_api_keys.json
@@ -61,10 +61,7 @@ coverage:
6161
$(BROWSER) htmlcov/index.html
6262

6363
docs doc documentation:
64-
$(MAKE) --directory=docs doc
65-
python -m quartodoc build
66-
python -m quartodoc interlinks
67-
quarto render
64+
$(MAKE) -C docs clean
6865

6966
release: dist
7067
twine upload dist/*

docs/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.quarto/
22
/_site/
3-
objects.json
3+
/objects.json
44
/_sidebar.yml
55
/reference

docs/Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Minimal makefile for Sphinx documentation
1+
# Minimal makefile for quartodoc documentation
22
#
33

44
# You can set these variables from the command line, and also
@@ -8,13 +8,11 @@ SPHINXBUILD ?= sphinx-build
88
SOURCEDIR = source
99
BUILDDIR = _build
1010

11-
# Put it first so that "make" without argument is like "make help".
12-
help:
13-
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14-
1511
.PHONY: help Makefile
1612

1713
# Catch-all target: route all unknown targets to Sphinx using the new
1814
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1915
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
16+
python -m quartodoc build
17+
python -m quartodoc interlinks
18+
quarto render

docs/objects.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)