Get ready to publish the docs with the preview.

This commit is contained in:
Olivier Goffart 2021-01-29 17:14:14 +01:00
parent a36edfffbe
commit 60c80f4e9a
2 changed files with 4 additions and 5 deletions

View file

@ -30,6 +30,5 @@ derive_more = "0.99.5"
[build-dependencies]
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]
# rustdoc-args = [ "--html-in-header", "sixtyfps-docs-integration.html" ]
[package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "sixtyfps-docs-integration.html" ]

View file

@ -4,7 +4,7 @@
-->
<script type="module">
"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) {
let canvas_id = 'canvas_' + Math.random().toString(36).substr(2, 9);