Skip to content

Commit b161f73

Browse files
Fixed docs/Makefile (#226)
Co-authored-by: Dmitriy Suponitskiy <[email protected]>
1 parent aec8efe commit b161f73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ help:
1313

1414
.PHONY: help Makefile
1515

16+
# I got the following warning running "make html":
17+
# WARNING: html_static_path entry '_static' does not exist
18+
# The _static folder in a Sphinx project is used to store custom static files. We must either
19+
# suppress the warning by creating the folder or remove the entry from conf.py ("html_static_path = []").
20+
# Creating the folder may be safer.
21+
html:
22+
@mkdir -p _static
23+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
24+
1625
# Catch-all target: route all unknown targets to Sphinx using the new
1726
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1827
%: Makefile

0 commit comments

Comments
 (0)