From cc0f7defdc72becc9bb306e82be0b0d50ed87078 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 17 Jan 2020 15:07:21 -0600 Subject: [CI:DOCS]Connect API docs and RTD Signed-off-by: baude --- contrib/cirrus/upload_release_archive.sh | 4 ++-- docs/source/Reference.rst | 2 ++ docs/source/_static/api.html | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 docs/source/_static/api.html diff --git a/contrib/cirrus/upload_release_archive.sh b/contrib/cirrus/upload_release_archive.sh index 2716c402c..a94a5cc82 100755 --- a/contrib/cirrus/upload_release_archive.sh +++ b/contrib/cirrus/upload_release_archive.sh @@ -19,8 +19,8 @@ then BUCKET="libpod-pr-releases" elif [[ -n "$CIRRUS_BRANCH" ]] then - # Only release non-development tagged commit ranges - if is_release + # Only release binaries for tagged commit ranges, unless working on docs + if is_release || [[ $CIRRUS_TASK_NAME =~ "docs" ]] then PR_OR_BRANCH="$CIRRUS_BRANCH" BUCKET="libpod-$CIRRUS_BRANCH-releases" diff --git a/docs/source/Reference.rst b/docs/source/Reference.rst index 9a771c87f..9933b0fbf 100644 --- a/docs/source/Reference.rst +++ b/docs/source/Reference.rst @@ -1,2 +1,4 @@ Reference ========= + +Check out our new [API documentation](api.html) \ No newline at end of file diff --git a/docs/source/_static/api.html b/docs/source/_static/api.html new file mode 100644 index 000000000..08f55b620 --- /dev/null +++ b/docs/source/_static/api.html @@ -0,0 +1,24 @@ + + + + ReDoc + + + + + + + + + + + + + -- cgit v1.2.3-54-g00ecf