summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorPiotr Mitros <piotr@mitros.org>2018-03-01 08:53:11 -0500
committerAdam Paszke <adam.paszke@gmail.com>2018-03-01 14:53:11 +0100
commit7b33ef4cffed0dcd5c2506c4db1b2624736a22a3 (patch)
treef0377b79ec13e0353ac11f7e3a7ccc41dc8e0dc7 /docs/Makefile
parent4afd62db099f8e967a30aea66c1f345b5cbc99e2 (diff)
downloadpytorch-7b33ef4cffed0dcd5c2506c4db1b2624736a22a3.tar.gz
pytorch-7b33ef4cffed0dcd5c2506c4db1b2624736a22a3.tar.bz2
pytorch-7b33ef4cffed0dcd5c2506c4db1b2624736a22a3.zip
Documentation cleanup for activation functions (#5457)
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 71e359aa8b..210cbc7400 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -12,6 +12,9 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+figures:
+ python source/scripts/build_activation_images.py
+
docset: html
doc2dash --name $(SPHINXPROJ) --icon $(SOURCEDIR)/_static/img/pytorch-logo-flame.png --enable-js --online-redirect-url http://pytorch.org/docs/ --force $(BUILDDIR)/html/
@@ -23,5 +26,5 @@ docset: html
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
+%: Makefile figures
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)