2
0
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:
Tomek Mrugalski
2019-08-07 16:54:47 +02:00
parent 4860c401ec
commit 97a99db76a
3 changed files with 5 additions and 5 deletions

View File

@@ -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):