Skip to content

Commit 2eb1779

Browse files
committed
API docs: Module's general docs before submodule contents. Fixes robotframework#2275.
1 parent 975a3c7 commit 2eb1779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def create_autodoc(self):
3838
self._clean_directory(self.AUTODOC_DIR)
3939
print 'Genearting autodoc'
4040
call(['sphinx-apidoc', '--output-dir', self.AUTODOC_DIR, '--force',
41-
'--no-toc', '--maxdepth', '2', self.ROBOT_DIR])
41+
'--no-toc', '--maxdepth', '2', '--module-first', self.ROBOT_DIR])
4242

4343
def create_javadoc(self):
4444
self._clean_directory(self.JAVA_TARGET)

0 commit comments

Comments
 (0)