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 7457162  Generate doc for client sdk (python)
7457162 is described below

commit 74571621d7818efd865f5eb057dee828643f4dea
Author: Mingshen Sun <[email protected]>
AuthorDate: Mon Jun 8 19:53:49 2020 -0700

    Generate doc for client sdk (python)
---
 site/.vuepress/config.js | 8 +++++++-
 site/Makefile            | 6 +++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js
index edcf379..1ecc9f2 100644
--- a/site/.vuepress/config.js
+++ b/site/.vuepress/config.js
@@ -13,9 +13,15 @@ module.exports = {
             { text: 'Community', link: '/community/' },
             { text: 'Contributors', link: '/contributors/' },
             { text: 'Documentation', link: '/docs/my-first-function/' },
-            { text: 'SGX SDK', link: 
'https://teaclave.apache.org/docs/sgx-sdk/', target: '_self', rel: '' },
             { text: 'Blog', link: '/blog/' },
             {
+                text: 'SDK',
+                items: [
+                    { text: 'Teaclave Client SDK (Python)', link: 
'https://teaclave.apache.org/docs/client-sdk-python/', target: '_self', rel: '' 
},
+                    { text: 'Teaclave SGX SDK', link: 
'https://teaclave.apache.org/docs/sgx-sdk/', target: '_self', rel: '' },
+                ]
+            },
+            {
                 text: 'Repository',
                 items: [
                     { text: 'Teaclave', link: 
'https://github.com/apache/incubator-teaclave'},
diff --git a/site/Makefile b/site/Makefile
index 93a0709..410dcc9 100644
--- a/site/Makefile
+++ b/site/Makefile
@@ -11,6 +11,10 @@ sgx-sdk-docs: teaclave-docs
        cp -r ../sgx-sdk-docs/target/doc .vuepress/dist/docs/sgx-sdk
        @echo "<meta http-equiv=refresh content=0;url=`echo sgx_tstd | cut -d 
'/' -f 2`/index.html>" > .vuepress/dist/docs/sgx-sdk/index.html
 
+client-sdk-python-docs: teaclave-docs
+       pdoc teaclave/sdk/python/teaclave.py -o 
.vuepress/dist/docs/client-sdk-python --html
+       @echo "<meta http-equiv=refresh content=0;url=teaclave.html>" > 
.vuepress/dist/docs/client-sdk-python/index.html
+
 teaclave-docs:
        git clone https://github.com/apache/incubator-teaclave.git teaclave || 
cd teaclave && git pull
        vuepress build
@@ -22,7 +26,7 @@ dev:
 preview:
        cd .vuepress/dist && python3 -m http.server
 
-build: teaclave-docs sgx-sdk-docs
+build: teaclave-docs sgx-sdk-docs client-sdk-python-docs
        cp ../.asf.yaml .vuepress/dist
 
 clean:


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

Reply via email to