You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/07/21 22:37:13 UTC

[incubator-teaclave-website] 02/03: Fix building issue

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

commit 7edd95beacced4d750ac7ee5226bbecfe6587bf0
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Wed Jul 21 15:36:37 2021 -0700

    Fix building issue
---
 site/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/site/Makefile b/site/Makefile
index 017e538..c1d9bcf 100644
--- a/site/Makefile
+++ b/site/Makefile
@@ -12,12 +12,14 @@ sgx-sdk-api-docs: teaclave-docs
 	@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
 
 client-sdk-python-docs: teaclave-docs
-	pdoc teaclave/sdk/python/teaclave.py -o .vuepress/dist/api-docs/client-sdk-python --html
+	pdoc teaclave/sdk/python/teaclave.py -o .vuepress/dist/api-docs/client-sdk-python
 	@echo "<meta http-equiv=refresh content=0;url=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)
 	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
 	@echo "<meta http-equiv=refresh content=0;url=`echo teaclave_client_sdk | cut -d '/' -f 2`/index.html>" > .vuepress/dist/api-docs/client-sdk-rust/index.html
 
 crate-docs:

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org