mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-07 09:25:15 +00:00
[#809,!469] Sphinx generation fix.
This commit is contained in:
@@ -113,7 +113,7 @@ API Reference
|
||||
|
||||
# command syntax
|
||||
rst += 'Command syntax:\n\n'
|
||||
rst += '.. code-block:: \n\n'
|
||||
rst += '::\n\n'
|
||||
if 'cmd-syntax' in func:
|
||||
cmd_syntaxes = [func['cmd-syntax']]
|
||||
if isinstance(cmd_syntaxes, dict):
|
||||
@@ -139,7 +139,7 @@ API Reference
|
||||
|
||||
# response syntax
|
||||
rst += 'Response syntax:\n\n'
|
||||
rst += '.. code-block:: \n\n'
|
||||
rst += '::\n\n'
|
||||
if 'resp-syntax' in func:
|
||||
resp_syntaxes = [func['resp-syntax']]
|
||||
if isinstance(resp_syntaxes, dict):
|
||||
|
Reference in New Issue
Block a user