Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9a3fe5

Browse files
Stashing work
1 parent 0b848f0 commit a9a3fe5

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

docs/Makefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,14 @@
44
# You can set these variables from the command line.
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
7-
SPHINXPROJ = PyTorch
7+
SPHINXPROJ = NVIDIAAPEX
88
SOURCEDIR = source
99
BUILDDIR = build
1010

1111
# Put it first so that "make" without argument is like "make help".
1212
help:
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-
2315
gh-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).

0 commit comments

Comments
 (0)