File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ - uid : product-neutral-guides
2+ name : ' Client library help'
3+ items :
4+ -
5+ name : ' Getting Started'
6+ href : ' getting-started.md'
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ REPOROOT=$( git rev-parse --show-toplevel)
5+
6+ if [[ -z " $1 " ]]
7+ then
8+ declare -r VERSION=" 1.0.0"
9+ else
10+ declare -r VERSION=$1
11+ fi
12+
13+ DEVSITE_STAGING_BUCKET=docs-staging-v2
14+
15+ rm -rf $REPOROOT /docs/output
16+ mkdir -p $REPOROOT /docs/output
17+
18+ cp $REPOROOT /docs/devsite-help/* $REPOROOT /docs/output
19+ cd $REPOROOT /docs/output
20+
21+ # Create the docs metadata.
22+ docuploader create-metadata \
23+ --name help \
24+ --version $VERSION \
25+ --language python
26+
27+ # Upload the
28+ docuploader upload . \
29+ --staging-bucket=" $DEVSITE_STAGING_BUCKET " \
30+ --destination-prefix=" docfx-" \
31+ --metadata-file=" docs.metadata"
32+
33+ echo ' Done'
You can’t perform that action at this time.
0 commit comments