Skip to content

Commit 461f826

Browse files
committed
feat: add example code injection
1 parent f3dda41 commit 461f826

File tree

9 files changed

+1971
-0
lines changed

9 files changed

+1971
-0
lines changed

docs-examples/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
debug/
4+
target/
5+
6+
# These are backup files generated by rustfmt
7+
**/*.rs.bk

docs-examples/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Docs examples
2+
3+
This folder exists to prove examples used in the documentation compile.
4+
5+
By running `./generate_user_guide.sh` at the root path, These examples are copied and injected within a new folder containing the whole documentation pages.
6+
7+
## Rust
8+
9+
The produced binary might or might not produce something useful, it's
10+
intended usage is to run `cargo check --workspace`.
11+
12+
## Javascript
13+
14+
Within the javascript folder, run `npm run build`.

docs-examples/inject_file/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tmp_*

0 commit comments

Comments
 (0)