8000 add another function so we can skip and include in a test case · astropy/sphinx-automodapi@f75b44d · GitHub
[go: up one dir, main page]

Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

Commit f75b44d

Browse files
committed
add another function so we can skip and include in a test case
1 parent 57a8360 commit f75b44d

File tree

11 files changed

+19
-2
lines changed

11 files changed

+19
-2
lines changed

sphinx_automodapi/tests/cases/func_headings/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/cases/func_noheading/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/cases/func_nomaindocstring/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/cases/func_simple/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/cases/mixed_toplevel/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:toctree: api
55

66
add
7+
divide
78
multiply
89
subtract
910
.. currentmodule:: sphinx_automodapi.tests.example_module

sphinx_automodapi/tests/cases/mixed_toplevel_all_objects/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:toctree: api
55

66
add
7+
divide
78
multiply
89
subtract
910
.. currentmodule:: sphinx_automodapi.tests.example_module

sphinx_automodapi/tests/cases/mixed_toplevel_nodiagram/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:toctree: api
55

66
add
7+
divide
78
multiply
89
subtract
910
.. currentmodule:: sphinx_automodapi.tests.example_module

sphinx_automodapi/tests/cases/non_ascii/output/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/cases/source_dir/output/src/index.rst.automodsumm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
add
77
subtract
88
multiply
9+
divide

sphinx_automodapi/tests/example_module/functions.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A collection of useful functions
33
"""
44

5-
__all__ = ['add', 'subtract', 'multiply']
5+
__all__ = ['add', 'subtract', 'multiply', 'divide']
66

77

88
def add(a, b):
@@ -24,3 +24,10 @@ def multiply(c, d):
2424
Multiply two numbers
2525
"""
2626
return c * d
27+
28+
29+
def divide(c, d):
30+
"""
31+
Divide two numbers
32+
"""
33+
return c / d

0 commit comments

Comments
 (0)
0