Skip to content

Commit bd2364a

Browse files
authored
Move item to correct location (#192)
The `ClassWithStringEllipsis` could not be found, as it was in the incorrect "module". Enabled `matlab_show_property_default_value`.
1 parent f5c6795 commit bd2364a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

tests/test_docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
sys.path.insert(0, os.path.abspath(os.path.join("..", "..")))
1111
matlab_src_dir = os.path.abspath("..")
12+
matlab_show_property_default_value = True
1213

1314
extensions = ["sphinx.ext.autodoc", "sphinxcontrib.matlab"]
1415
primary_domain = "mat"

tests/test_docs/index.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,15 @@ A MATLAB class with strings using single and double quotes.
273273
.. autoclass:: ClassWithStrings
274274
:members:
275275

276+
277+
Class with string ellipsis
278+
++++++++++++++++++++++++++
279+
A class that tests the lexer.
280+
281+
.. autoclass:: ClassWithStringEllipsis
282+
:members:
283+
284+
276285
ClassWithDummyArguments
277286
+++++++++++++++++++++++
278287

@@ -412,12 +421,6 @@ A Matlab unittest class
412421
:members:
413422
:show-inheritance:
414423

415-
Class with string ellipsis
416-
~~~~~~~~~~~~~~~~~~~~~~~~~~
417-
A class that tests the lexer.
418-
419-
.. autoclass:: ClassWithStringEllipsis
420-
:members:
421424

422425

423426

0 commit comments

Comments
 (0)