mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Get ready to publish the docs with the preview.
This commit is contained in:
parent
a36edfffbe
commit
60c80f4e9a
2 changed files with 4 additions and 5 deletions
|
@ -30,6 +30,5 @@ derive_more = "0.99.5"
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
rustc_version = "0.3"
|
rustc_version = "0.3"
|
||||||
|
|
||||||
# Currently disabled because it does not look good and it depends on external URL which are not stable yet
|
[package.metadata.docs.rs]
|
||||||
# [package.metadata.docs.rs]
|
rustdoc-args = [ "--html-in-header", "sixtyfps-docs-integration.html" ]
|
||||||
# rustdoc-args = [ "--html-in-header", "sixtyfps-docs-integration.html" ]
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
-->
|
-->
|
||||||
<script type="module">
|
<script type="module">
|
||||||
"use strict";
|
"use strict";
|
||||||
import * as sixtyfps from 'https://sixtyfps.io/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
import * as sixtyfps from 'https://sixtyfps.io/releases/0.0.5/wasm-interpreter/sixtyfps_wasm_interpreter.js';
|
||||||
|
|
||||||
async function render_or_error(source, div) {
|
async function render_or_error(source, div) {
|
||||||
let canvas_id = 'canvas_' + Math.random().toString(36).substr(2, 9);
|
let canvas_id = 'canvas_' + Math.random().toString(36).substr(2, 9);
|
||||||
|
@ -57,4 +57,4 @@
|
||||||
}
|
}
|
||||||
fix_markdown_links()
|
fix_markdown_links()
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue