diff --git a/README.md b/README.md new file mode 100644 index 00000000..0a1b92e3 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## `cffu API` docs + +- [`Java API` docs: ![](https://img.shields.io/github/release/foldright/cffu?label=javadoc&color=339933&logo=microsoft-academic&logoColor=white)](https://foldright.io/cffu/apidocs/) +- [`Kotlin API` docs: ![](https://img.shields.io/github/release/foldright/cffu?label=dokka&color=339933&logo=kotlin&logoColor=white)](https://foldright.io/cffu/dokka/) diff --git a/index.html b/index.html new file mode 100644 index 00000000..e6077af6 --- /dev/null +++ b/index.html @@ -0,0 +1,187 @@ + + + + + + + cffu api docs + + + + +
+

cffu api docs

+
+ + + diff --git a/scripts/gen-site-index-html.sh b/scripts/gen-site-index-html.sh new file mode 100755 index 00000000..eb68662e --- /dev/null +++ b/scripts/gen-site-index-html.sh @@ -0,0 +1,17 @@ +#!/bin/bash +set -eEuo pipefail +cd "$(dirname "$(readlink -f "$0")")"/.. + +log_and_run() { + if [[ -t 1 ]]; then + printf '\e[1;33;44m%s\e[0m\n' "run command(PWD: $PWD): $*" + else + printf '%s\n' "run command(PWD: $PWD): $*" + fi + + time "$@" +} + + +# quarto render README.md -o index.html -s +pandoc README.md -o index.html -s --metadata title='cffu api docs'