Skip to content

Commit

Permalink
Include project version in site documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Brush committed May 16, 2018
1 parent 7e3b750 commit b0f0e00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ deploy:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) \
-D version=$(PROJECT_VERSION) -D release=$(PROJECT_VERSION) $(O)
mvn -f ../pom.xml site -DskipTests=true
mkdir -p $(BUILDDIR)/html
cp -r ../target/site/apidocs $(BUILDDIR)/html/apidocs

0 comments on commit b0f0e00

Please sign in to comment.