File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# You can set these variables from the command line.
55SPHINXOPTS =
66SPHINXBUILD = sphinx-build
7- SPHINXPROJ = PyTorch
7+ SPHINXPROJ = NVIDIAAPEX
88SOURCEDIR = source
99BUILDDIR = build
1010
1111# Put it first so that "make" without argument is like "make help".
1212help :
1313 @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
1414
15- docset : html
16- doc2dash --name $(SPHINXPROJ ) --enable-js --online-redirect-url http://pytorch.org/docs/ --force $(BUILDDIR ) /html/
17- # doc2dash --name $(SPHINXPROJ) --icon $(SOURCEDIR)/_static/img/nv-pytorch2.png --enable-js --online-redirect-url http://pytorch.org/docs/ --force $(BUILDDIR)/html/
18-
19- # Manually fix because Zeal doesn't deal well with `icon.png`-only at 2x resolution.
20- cp $(SPHINXPROJ).docset/icon.png $(SPHINXPROJ).docset/
[email protected] 21- convert $(SPHINXPROJ).docset/
[email protected] -resize 16x16 $(SPHINXPROJ).docset/icon.png
22-
2315gh-pages :
2416 git checkout gh-pages
2517 rm -rf build
@@ -32,7 +24,7 @@ gh-pages:
3224 git add -A
3325 git commit -m " Generated gh-pages for ` git log master -1 --pretty=short --abbrev-commit` " && git push origin gh-pages ; git checkout master
3426
35- .PHONY : help Makefile docset
27+ .PHONY : help Makefile
3628
3729# Catch-all target: route all unknown targets to Sphinx using the new
3830# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
You can’t perform that action at this time.
0 commit comments