This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 53e859b  Add Teaclave TrustZone SDK (TA) api docs
53e859b is described below

commit 53e859be9506f175776eb9306f2186dddfd7c143
Author: Mingshen Sun <[email protected]>
AuthorDate: Mon Oct 11 17:11:49 2021 -0700

    Add Teaclave TrustZone SDK (TA) api docs
---
 sgx-sdk-api-docs/rust-toolchain |  1 +
 site/.vuepress/config.js        |  1 +
 site/Makefile                   | 12 ++++++++++--
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sgx-sdk-api-docs/rust-toolchain b/sgx-sdk-api-docs/rust-toolchain
new file mode 100644
index 0000000..148ed93
--- /dev/null
+++ b/sgx-sdk-api-docs/rust-toolchain
@@ -0,0 +1 @@
+nightly-2020-10-25
diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js
index 6200588..0f2282b 100644
--- a/site/.vuepress/config.js
+++ b/site/.vuepress/config.js
@@ -41,6 +41,7 @@ module.exports = {
                             { text: 'Teaclave Client SDK (Rust)', link: 
'https://teaclave.apache.org/api-docs/client-sdk-rust/', target: '_self', rel: 
'' },
                             { text: 'Teaclave Client SDK (Python)', link: 
'https://teaclave.apache.org/api-docs/client-sdk-python/', target: '_self', 
rel: '' },
                             { text: 'Teaclave SGX SDK', link: 
'https://teaclave.apache.org/api-docs/sgx-sdk/', target: '_self', rel: '' },
+                            { text: 'Teaclave TrustZone SDK (TA)', link: 
'https://teaclave.apache.org/api-docs/trustzone-sdk/optee-utee', target: 
'_self', rel: '' },
                             { text: 'Crates in Teaclave (Enclave)', link: 
'https://teaclave.apache.org/api-docs/crates-enclave/', target: '_self', rel: 
'' },
                             { text: 'Crates in Teaclave (App)', link: 
'https://teaclave.apache.org/api-docs/crates-app/', target: '_self', rel: '' },
                         ]
diff --git a/site/Makefile b/site/Makefile
index a5efa3d..e2abb23 100644
--- a/site/Makefile
+++ b/site/Makefile
@@ -11,12 +11,20 @@ sgx-sdk-api-docs: teaclave-docs
        cp -r ../sgx-sdk-api-docs/target/doc .vuepress/dist/api-docs/sgx-sdk
        @echo "<meta http-equiv=refresh content=0;url=`echo sgx_tstd | cut -d 
'/' -f 2`/index.html>" > .vuepress/dist/api-docs/sgx-sdk/index.html
 
+trustzone-sdk-api-docs: teaclave-docs
+       cd teaclave-trustzone-sdk && ./setup.sh
+       bash -c "cd teaclave-trustzone-sdk && source environment && cd 
optee-utee && xargo doc --target aarch64-unknown-optee-trustzone"
+       mkdir -p .vuepress/dist/api-docs/trustzone-sdk
+       cp -r 
teaclave-trustzone-sdk/optee-utee/target/aarch64-unknown-optee-trustzone/doc 
.vuepress/dist/api-docs/trustzone-sdk/optee-utee
+       @echo "<meta http-equiv=refresh content=0;url=`echo optee_utee | cut -d 
'/' -f 2`/index.html>" > 
.vuepress/dist/api-docs/trustzone-sdk/optee-utee/index.html
+
 client-sdk-python-docs: teaclave-docs
        pdoc teaclave/sdk/python/teaclave.py -o 
.vuepress/dist/api-docs/client-sdk-python
        @echo "<meta http-equiv=refresh content=0;url=python/teaclave.html>" > 
.vuepress/dist/api-docs/client-sdk-python/index.html
 
 client-sdk-rust-docs: teaclave-docs
        (cd teaclave && git submodule update --init third_party/rust-sgx-sdk)
+       rustup default nightly-2020-10-25
        cargo doc --no-deps --manifest-path teaclave/sdk/rust/Cargo.toml
        cp -r teaclave/sdk/rust/target/doc 
.vuepress/dist/api-docs/client-sdk-rust
        @rm -rf teaclave/third_party/rust-sgx-sdk
@@ -41,8 +49,8 @@ dev:
 preview:
        cd .vuepress/dist && python3 -m http.server
 
-build: teaclave-docs sgx-sdk-api-docs client-sdk-python-docs 
client-sdk-rust-docs crate-docs
+build: teaclave-docs sgx-sdk-api-docs trustzone-sdk-api-docs 
client-sdk-python-docs client-sdk-rust-docs crate-docs
        cp ../.asf.yaml .vuepress/dist
 
 clean:
-       rm -rf .vuepress/dist teaclave teaclave-sgx-sdk
+       rm -rf .vuepress/dist teaclave teaclave-sgx-sdk teaclave-trustzone-sdk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to