cyd0806 commited on
Commit
28c1eaa
·
verified ·
1 Parent(s): 1fb5635

Upload apex-master/docs/Makefile with huggingface_hub

Browse files
Files changed (1) hide show
  1. apex-master/docs/Makefile +32 -0
apex-master/docs/Makefile ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ SPHINXPROJ = NVIDIAAPEX
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ gh-pages:
16
+ git checkout gh-pages
17
+ rm -rf build
18
+ rm -rf source
19
+ git checkout master -- .
20
+ make html
21
+ rm -rf ../_modules ../_sources ../_static
22
+ mv -fv build/html/* ../
23
+ rm -rf build
24
+ git add -A
25
+ git commit -m "Generated gh-pages for `git log master -1 --pretty=short --abbrev-commit`" && git push origin gh-pages ; git checkout master
26
+
27
+ .PHONY: help Makefile
28
+
29
+ # Catch-all target: route all unknown targets to Sphinx using the new
30
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
31
+ %: Makefile
32
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)