Skip to content

Commit 49e470e

Browse files
committed
[DOC] Fix doxygen
1 parent 76767aa commit 49e470e

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ lint: rcpplint jnilint
213213
doc: doxygen
214214

215215
doxygen:
216-
doxygen doc/Doxyfile
216+
doxygen docs/Doxyfile
217217

218218
# R related shortcuts
219219
rcpplint:

docs/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
_build/*
22
*.pyc
3+
doxygen

doc/Doxyfile docs/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ PROJECT_LOGO =
5858
# entered, it will be relative to the location where doxygen was started. If
5959
# left blank the current directory will be used.
6060

61-
OUTPUT_DIRECTORY = doc/doxygen
61+
OUTPUT_DIRECTORY = docs/doxygen
6262

6363
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
6464
# directories (in 2 levels) under the output directory of each output format and

docs/conf.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
4141
extensions = ['sphinx.ext.ifconfig']
4242

43-
# breathe_default_project = "format"
44-
#breathe_domain_by_extension = {"h" : "cpp"}
45-
46-
4743
# General information about the project.
4844
project = u'mxnet'
4945
author = u'%s developers' % project
@@ -301,6 +297,7 @@ def run_doxygen(folder):
301297
"""Run the doxygen make command in the designated folder."""
302298
try:
303299
retcode = subprocess.call("cd %s; make doxygen" % folder, shell=True)
300+
retcode = subprocess.call("cp -rf doxygen/html _build/html/doxygen", shell=True)
304301
if retcode < 0:
305302
sys.stderr.write("doxygen terminated by signal %s" % (-retcode))
306303
except OSError as e:

docs/how_to/new_op.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ extern "C" __global__ mykernel(float *x, float *y) {
139139
Finally, we launch the kernel with `self.fwd_kernel.push([x], [y], (1, 1, 1), (x.shape[0], 1, 1))`, where `(1, 1, 1)` and `(x.shape[0], 1, 1)` are the grid and block dimensions.
140140
141141
## C++/MShadow(CUDA)
142-
Please refer to [Developer Guide - Operators](https://mxnet.readthedocs.org/en/latest/developer-guide/operator.html) for detail.
142+
Please refer to [Developer Guide - Operators](https://mxnet.readthedocs.org/en/latest/system/operator.html) for detail.

0 commit comments

Comments
 (0)