diff options
author | Julen Landa Alustiza <Zokormazo@users.noreply.github.com> | 2024-02-07 12:26:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 12:26:42 +0100 |
commit | 8c9c02c975f07bb832a0891178b2113c6879d483 (patch) | |
tree | 48282b14b26537cdcfab3403bfc487e1bd774a5e /docs/docsite/rst | |
parent | Per-service metrics http server (diff) | |
download | awx-8c9c02c975f07bb832a0891178b2113c6879d483.tar.xz awx-8c9c02c975f07bb832a0891178b2113c6879d483.zip |
awxkit: allow to modify api base url (#14835)
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
Diffstat (limited to 'docs/docsite/rst')
-rw-r--r-- | docs/docsite/rst/rest_api/_swagger/swagger.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/docsite/rst/rest_api/_swagger/swagger.py b/docs/docsite/rst/rest_api/_swagger/swagger.py index 2fd2876f38..02391be6fb 100644 --- a/docs/docsite/rst/rest_api/_swagger/swagger.py +++ b/docs/docsite/rst/rest_api/_swagger/swagger.py @@ -35,12 +35,8 @@ def assets(app, exception): _, extension = os.path.splitext(asset) if extension in ('py', 'pyc'): continue - if not exception and os.path.exists( - os.path.join(app.outdir, '_static') - ): - copyfile( - os.path.join(here, asset), - os.path.join(app.outdir, '_static', asset)) + if not exception and os.path.exists(os.path.join(app.outdir, '_static')): + copyfile(os.path.join(here, asset), os.path.join(app.outdir, '_static', asset)) def setup(app): |