Skip to content

Commit f45f28b

Browse files
committed
minor docs fix per mdboom
1 parent 6c5b91e commit f45f28b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/api.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,25 @@ Directory Structure::
118118

119119
.. code-block:: python
120120
121-
from astropy.config import ConfigurationItem
121+
from astropy import config as _config
122122
123123
SERVER = ConfigurationItem('Service_server', ['url1','url2'])
124124
125+
class Conf(_config.ConfigNamespace):
126+
"""
127+
Configuration parameters for `astroquery.template_module`.
128+
"""
129+
server = _config.ConfigItem(
130+
['http://dummy_server_mirror_1',
131+
'http://dummy_server_mirror_2',
132+
'http://dummy_server_mirror_n'],
133+
'Name of the template_module server to use.'
134+
)
135+
timeout = _config.ConfigItem(
136+
30,
137+
'Time limit for connecting to template_module server.'
138+
)
139+
125140
from .core import QueryClass
126141
127142
__all__ = ['QueryClass']

0 commit comments

Comments
 (0)