docs-se

Generates indexes from markdown files.

Required

Commands

```shell tiny-docs-se 0.1.0 Build sqlite db indexes from markdown files

USAGE: tiny-docs-se build --path --locale --version

OPTIONS: -h, --help Print help information -l, --locale locale -p, --path -v, --version version ```

shell RUST_LOG=debug cargo run -- build -p example/cn/v1.0 -l cn -v v1.0

```shell tiny-docs-se 0.1.0 Run a search server for web

USAGE: tiny-docs-se server [OPTIONS]

OPTIONS: -h, --help Print help information -p, --port port [default: 3030] -V, --version Print version information ```

shell curl -X POST 127.0.0.1:3030 -H "Content-Type: application/json" -d '{"search": "rust", "locale": "cn", "version": "v1.0"}'

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.