Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
a9a3fe57
Commit
a9a3fe57
authored
Feb 01, 2019
by
Michael Carilli
Browse files
Stashing work
parent
0b848f0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
docs/Makefile
docs/Makefile
+2
-10
No files found.
docs/Makefile
View file @
a9a3fe57
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# You can set these variables from the command line.
# You can set these variables from the command line.
SPHINXOPTS
=
SPHINXOPTS
=
SPHINXBUILD
=
sphinx-build
SPHINXBUILD
=
sphinx-build
SPHINXPROJ
=
PyTorch
SPHINXPROJ
=
NVIDIAAPEX
SOURCEDIR
=
source
SOURCEDIR
=
source
BUILDDIR
=
build
BUILDDIR
=
build
...
@@ -12,14 +12,6 @@ BUILDDIR = build
...
@@ -12,14 +12,6 @@ BUILDDIR = build
help
:
help
:
@
$(SPHINXBUILD)
-M
help
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
@
$(SPHINXBUILD)
-M
help
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
docset
:
html
doc2dash
--name
$(SPHINXPROJ)
--enable-js
--online-redirect-url
http://pytorch.org/docs/
--force
$(BUILDDIR)
/html/
# doc2dash --name
$(SPHINXPROJ)
--icon
$(SOURCEDIR)
/_static/img/nv-pytorch2.png
--enable-js
--online-redirect-url
http://pytorch.org/docs/
--force
$(BUILDDIR)
/html/
# Manually fix because Zeal doesn't deal well with `icon.png`-only at 2x resolution.
cp
$(SPHINXPROJ).docset/icon.png
$(SPHINXPROJ).docset/icon@2x.png
convert
$(SPHINXPROJ).docset/icon@2x.png
-resize
16x16
$(SPHINXPROJ).docset/icon.png
gh-pages
:
gh-pages
:
git checkout gh-pages
git checkout gh-pages
rm
-rf
build
rm
-rf
build
...
@@ -32,7 +24,7 @@ gh-pages:
...
@@ -32,7 +24,7 @@ gh-pages:
git add
-A
git add
-A
git commit
-m
"Generated gh-pages for
`
git log master
-1
--pretty
=
short
--abbrev-commit
`
"
&&
git push origin gh-pages
;
git checkout master
git commit
-m
"Generated gh-pages for
`
git log master
-1
--pretty
=
short
--abbrev-commit
`
"
&&
git push origin gh-pages
;
git checkout master
.PHONY
:
help Makefile
docset
.PHONY
:
help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment