Skip to content

Commit

Permalink
Fix bad linebreaks in markdown files generated
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond Yang committed Jun 12, 2018
1 parent fd7b65f commit 587498e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/Functions.md
Expand Up @@ -32,9 +32,9 @@ This version of the function has been available since version 8 of the default O
#### Nodes

<dl>
<dt>node0</dt>: <br/><dd>Input(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dt>node0: </dt><br/><dd>Input(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dd>Output(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dt>node1</dt>: <br/><dd>Input(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
<dt>node1: </dt><br/><dd>Input(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
<dd>Output(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
</dl>

Expand Down
4 changes: 2 additions & 2 deletions docs/FunctionsChangelog.md
Expand Up @@ -29,9 +29,9 @@ This version of the function has been available since version 8 of the default O
#### Nodes

<dl>
<dt>node0</dt>: <br/><dd>Input(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dt>node0: </dt><br/><dd>Input(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dd>Output(s):</dd><dd> w;</dd><dd> x;</dd><br/>
<dt>node1</dt>: <br/><dd>Input(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
<dt>node1: </dt><br/><dd>Input(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
<dd>Output(s):</dd><dd> y_1;</dd><dd> b;</dd><br/>
</dl>

2 changes: 1 addition & 1 deletion onnx/defs/gen_doc.py
Expand Up @@ -214,7 +214,7 @@ def display_function(function, versions, domain=""): # type: (FunctionProto, Li
if function.nodes:
s += '<dl>\n'
for node in function.nodes:
s += '<dt>{}</dt>: <br/>'.format(node.name)
s += '<dt>{}: </dt><br/>'.format(node.name)
s += '<dd>Input(s):</dd>'
for input in node.inputs:
s += '<dd> {};</dd>'.format(input)
Expand Down

0 comments on commit 587498e

Please sign in to comment.