Skip to content

Commit

Permalink
fix: documenter with tables
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Aug 4, 2023
1 parent b770edc commit ffef6ea
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Code to reproduce the error.
- VSCode version version [e.g. 22]

**Screenshots**
If applicable, add screenshots to help explain your problem.
If applicable, add screenshots to help explain your problem. **Share the code as text, not as a screenshots!**

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion packages/colibri/src/documenter/doxygen_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function parse_doxygen(text: string) {
text_s_new += `${line.trim()}\n`;
}
else {
text_s_new += `${line.trim()} `;
text_s_new += `${line.trim()}\n`;
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def print_info(working_directory, developer_mode, edam_file, config_exec_file):
if tool_name == "modelsim":
vsim_path = which("vsim")
if vsim_path == None:
print("{MSG_INTRO} Error ModelSim path is not configured!")
print(f"{MSG_INTRO} Error ModelSim path is not configured!")
exit(-1)
vsim_dir = os.path.dirname(vsim_path).replace("\\", "/")
os.environ["MODEL_TECH"] = vsim_dir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ module {{ name }}_tb;
{{ indent[1] }}//Ports
{% for port_inst in port -%}
{% if port_inst['direction'] == "input" -%}
{{ indent[1] }}reg {{port_inst['type']}} {{port_inst['info']['name']}};
{{ indent[1] }}reg {% if port_inst['type'] != 'wire' and port_inst['type'] != 'reg' %}{{ port_inst['type'] }}{% endif %} {{port_inst['info']['name']}};
{% else -%}
{{ indent[1] }}wire {{port_inst['type']}} {{port_inst['info']['name']}};
{{ indent[1] }}wire {% if port_inst['type'] != 'wire' and port_inst['type'] != 'reg' %}{{ port_inst['type'] }}{% endif %} {{port_inst['info']['name']}};
{% endif -%}
{% endfor %}
{{ indent[1] }}{{ instance }}
Expand All @@ -78,9 +78,9 @@ module {{ name }}_tb;
{{ indent[1] }}//Ports
{% for port_inst in port -%}
{% if port_inst['direction'] == "input" -%}
{{ indent[1] }}reg {{port_inst['type']}} {{port_inst['info']['name']}};
{{ indent[1] }}reg {% if port_inst['type'] != 'wire' and port_inst['type'] != 'reg' %}{{ port_inst['type'] }}{% endif %} {{port_inst['info']['name']}};
{% else -%}
{{ indent[1] }}wire {{port_inst['type']}} {{port_inst['info']['name']}};
{{ indent[1] }}wire {% if port_inst['type'] != 'wire' and port_inst['type'] != 'reg' %}{{ port_inst['type'] }}{% endif %} {{port_inst['info']['name']}};
{% endif -%}
{% endfor %}
{{ indent[1] }}{{ instance }}
Expand Down
3 changes: 2 additions & 1 deletion packages/teroshdl/resources/release_notes/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
<br>
<br>

<h4 id="release-notes"> Minor changes v5.0.5 and v5.0.7</h4>
<h4 id="release-notes"> Minor changes v5.0.5 and v5.0.8</h4>
<p>
<ul>
<li> Auto detection of compilation order in simulations ⭐</li>
<li> Linter is executed from file directory, so it's possible to use relative include directories ⭐</li>
<li> Fix error in documenter with templates</li>
<li> Improve Python detection</li>
<li> Improve linter/formatter path detection</li>
<li> Fix bug VHDL component template</li>
Expand Down

0 comments on commit ffef6ea

Please sign in to comment.