docs: move assets to correct path

This commit is contained in:
Amaan Qureshi 2024-12-25 15:28:05 -05:00
parent 694d636322
commit dda45cfbb6
11 changed files with 8 additions and 208 deletions

View file

@ -52,7 +52,7 @@ fn main() {
fn web_playground_files_present() -> bool {
let paths = [
"../docs/assets/js/playground.js",
"../docs/src/assets/js/playground.js",
"../lib/binding_web/tree-sitter.js",
"../lib/binding_web/tree-sitter.wasm",
];

View file

@ -33,7 +33,7 @@ macro_rules! optional_resource {
};
}
optional_resource!(get_playground_js, "docs/assets/js/playground.js");
optional_resource!(get_playground_js, "docs/src/assets/js/playground.js");
optional_resource!(get_lib_js, "lib/binding_web/tree-sitter.js");
optional_resource!(get_lib_wasm, "lib/binding_web/tree-sitter.wasm");