mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Use one shared html file for the syntax highlighting
Using Olivier's idea to check the meta tag, we can distinguish rustdoc from "the rest". The html is included in mdbook by directly by symlinking head.hbs.
This commit is contained in:
parent
8003c06f3a
commit
ad321c7735
8 changed files with 58 additions and 64 deletions
2
api/sixtyfps-cpp/docs/_templates/layout.html
vendored
2
api/sixtyfps-cpp/docs/_templates/layout.html
vendored
|
@ -2,5 +2,5 @@
|
|||
{% block scripts %}
|
||||
{{ super() }}
|
||||
{% include "../../../../docs/html/sixtyfps-docs-preview.html" %}
|
||||
{% include "../../../../docs/html/sixtyfps-docs-highlight-cpp.html" %}
|
||||
{% include "../../../../docs/html/sixtyfps-docs-highlight.html" %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue