@@ -48,7 +48,7 @@ def warn(self, msg, loc):
48
48
am_replacer_str = """
49
49
This comes before
50
50
51
- .. automodapi:: astropy_helpers.sphinx.ext .tests.test_automodapi
51
+ .. automodapi:: sphinx_automodapi .tests.test_automodapi
52
52
{options}
53
53
54
54
This comes after
@@ -57,29 +57,29 @@ def warn(self, msg, loc):
57
57
am_replacer_basic_expected = """
58
58
This comes before
59
59
60
- astropy_helpers.sphinx.ext .tests.test_automodapi Module
60
+ sphinx_automodapi .tests.test_automodapi Module
61
61
-------------------------------------------------------
62
62
63
- .. automodule:: astropy_helpers.sphinx.ext .tests.test_automodapi
63
+ .. automodule:: sphinx_automodapi .tests.test_automodapi
64
64
65
65
Functions
66
66
^^^^^^^^^
67
67
68
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
68
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
69
69
:functions-only:
70
70
:toctree: api/
71
71
72
72
Classes
73
73
^^^^^^^
74
74
75
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
75
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
76
76
:classes-only:
77
77
:toctree: api/
78
78
79
79
Class Inheritance Diagram
80
80
^^^^^^^^^^^^^^^^^^^^^^^^^
81
81
82
- .. automod-diagram:: astropy_helpers.sphinx.ext .tests.test_automodapi
82
+ .. automod-diagram:: sphinx_automodapi .tests.test_automodapi
83
83
:private-bases:
84
84
:parts: 1
85
85
{empty}
@@ -104,22 +104,22 @@ def test_am_replacer_basic():
104
104
am_replacer_noinh_expected = """
105
105
This comes before
106
106
107
- astropy_helpers.sphinx.ext .tests.test_automodapi Module
107
+ sphinx_automodapi .tests.test_automodapi Module
108
108
-------------------------------------------------------
109
109
110
- .. automodule:: astropy_helpers.sphinx.ext .tests.test_automodapi
110
+ .. automodule:: sphinx_automodapi .tests.test_automodapi
111
111
112
112
Functions
113
113
^^^^^^^^^
114
114
115
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
115
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
116
116
:functions-only:
117
117
:toctree: api/
118
118
119
119
Classes
120
120
^^^^^^^
121
121
122
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
122
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
123
123
:classes-only:
124
124
:toctree: api/
125
125
@@ -145,29 +145,29 @@ def test_am_replacer_noinh():
145
145
am_replacer_titleandhdrs_expected = """
146
146
This comes before
147
147
148
- astropy_helpers.sphinx.ext .tests.test_automodapi Module
148
+ sphinx_automodapi .tests.test_automodapi Module
149
149
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
150
150
151
- .. automodule:: astropy_helpers.sphinx.ext .tests.test_automodapi
151
+ .. automodule:: sphinx_automodapi .tests.test_automodapi
152
152
153
153
Functions
154
154
*********
155
155
156
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
156
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
157
157
:functions-only:
158
158
:toctree: api/
159
159
160
160
Classes
161
161
*******
162
162
163
- .. automodsumm:: astropy_helpers.sphinx.ext .tests.test_automodapi
163
+ .. automodsumm:: sphinx_automodapi .tests.test_automodapi
164
164
:classes-only:
165
165
:toctree: api/
166
166
167
167
Class Inheritance Diagram
168
168
*************************
169
169
170
- .. automod-diagram:: astropy_helpers.sphinx.ext .tests.test_automodapi
170
+ .. automod-diagram:: sphinx_automodapi .tests.test_automodapi
171
171
:private-bases:
172
172
:parts: 1
173
173
{empty}
@@ -195,7 +195,7 @@ def test_am_replacer_titleandhdrs():
195
195
am_replacer_nomain_str = """
196
196
This comes before
197
197
198
- .. automodapi:: astropy_helpers.sphinx.ext .automodapi
198
+ .. automodapi:: sphinx_automodapi .automodapi
199
199
:no-main-docstr:
200
200
201
201
This comes after
@@ -204,15 +204,15 @@ def test_am_replacer_titleandhdrs():
204
204
am_replacer_nomain_expected = """
205
205
This comes before
206
206
207
- astropy_helpers.sphinx.ext .automodapi Module
207
+ sphinx_automodapi .automodapi Module
208
208
--------------------------------------------
209
209
210
210
211
211
212
212
Functions
213
213
^^^^^^^^^
214
214
215
- .. automodsumm:: astropy_helpers.sphinx.ext .automodapi
215
+ .. automodsumm:: sphinx_automodapi .automodapi
216
216
:functions-only:
217
217
:toctree: api/
218
218
@@ -236,7 +236,7 @@ def test_am_replacer_nomain():
236
236
am_replacer_skip_str = """
237
237
This comes before
238
238
239
- .. automodapi:: astropy_helpers.sphinx.ext .automodapi
239
+ .. automodapi:: sphinx_automodapi .automodapi
240
240
:skip: something1
241
241
:skip: something2
242
242
@@ -246,15 +246,15 @@ def test_am_replacer_nomain():
246
246
am_replacer_skip_expected = """
247
247
This comes before
248
248
249
- astropy_helpers.sphinx.ext .automodapi Module
249
+ sphinx_automodapi .automodapi Module
250
250
--------------------------------------------
251
251
252
- .. automodule:: astropy_helpers.sphinx.ext .automodapi
252
+ .. automodule:: sphinx_automodapi .automodapi
253
253
254
254
Functions
255
255
^^^^^^^^^
256
256
257
- .. automodsumm:: astropy_helpers.sphinx.ext .automodapi
257
+ .. automodsumm:: sphinx_automodapi .automodapi
258
258
:functions-only:
259
259
:toctree: api/
260
260
:skip: something1,something2
@@ -279,7 +279,7 @@ def test_am_replacer_skip():
279
279
am_replacer_invalidop_str = """
280
280
This comes before
281
281
282
- .. automodapi:: astropy_helpers.sphinx.ext .automodapi
282
+ .. automodapi:: sphinx_automodapi .automodapi
283
283
:invalid-option:
284
284
285
285
This comes after
0 commit comments