Skip to content

Commit d5ca141

Browse files
committed
Fix way of docstring referencing to be complient with new sphinx [docs only]
1 parent 678a68d commit d5ca141

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

astroquery/atomic/core.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ def query_object(self, wavelength_range=None, wavelength_type=None,
123123
transitions of other elements.
124124
- A union of the values: One of the following:
125125
``'E1'``, ``'IC'``, ``'M1'``, ``'E2'``
126-
Refer to the documentation_ for the meaning of these values.
126+
Refer to [1]_ for the meaning of these values.
127127
128128
show_fine_structure : bool
129129
If `True`, the fine structure components will be included in
130-
the output. Refer to the documentation_ for more information.
130+
the output. Refer to [1]_ for more information.
131131
132132
show_auto_ionizing_transitions : bool
133133
If `True`, transitions originating from auto-ionizing levels
@@ -149,7 +149,9 @@ def query_object(self, wavelength_range=None, wavelength_type=None,
149149
result : `~astropy.table.Table`
150150
The result of the query as a `~astropy.table.Table` object.
151151
152-
.. _documentation: http://www.pa.uky.edu/~peter/atomic/instruction.html
152+
References
153+
----------
154+
.. [1] http://www.pa.uky.edu/~peter/atomic/instruction.html
153155
"""
154156
response = self.query_object_async(
155157
wavelength_range=wavelength_range, wavelength_type=wavelength_type,

0 commit comments

Comments
 (0)