Skip to content

Commit 4893fac

Browse files
committed
use dox in raw mode
This will use the markdown parser, and the syntax highlighter available to Jekyll
1 parent 27d80d9 commit 4893fac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generated_data: plugins releases api-docs chaijs
1616
api-docs: clean-api-docs
1717
@mkdir -p _data
1818
@npm install chai@latest
19-
@./node_modules/.bin/dox < ./node_modules/chai/chai.js > _data/chai.json
19+
@./node_modules/.bin/dox --raw < ./node_modules/chai/chai.js > _data/chai.json
2020

2121
#
2222
# Generate the api docs

_layouts/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2>API Reference</h2>
6565
{% endfor %}
6666
{% if render %}
6767
<div id="method_{{ name | slugify }}" class="api_method_wrapper">
68-
{{ method.description.full }}
68+
{{ method.description.full | markdownify }}
6969
</div>
7070
{% endif %}
7171
{% endfor %}

0 commit comments

Comments
 (0)