mirror of
https://github.com/containers/podman.git
synced 2025-07-03 17:27:18 +08:00
[CI:DOCS]Connect API docs and RTD
Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -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"
|
||||
|
@ -1,2 +1,4 @@
|
||||
Reference
|
||||
=========
|
||||
|
||||
Check out our new [API documentation](api.html)
|
24
docs/source/_static/api.html
Normal file
24
docs/source/_static/api.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ReDoc</title>
|
||||
<!-- needed for adaptive design -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
||||
|
||||
<!--
|
||||
ReDoc doesn't change outer page styles
|
||||
-->
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<redoc spec-url='https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml'></redoc>
|
||||
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user