summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJulen Landa Alustiza <Zokormazo@users.noreply.github.com>2024-02-07 12:26:42 +0100
committerGitHub <noreply@github.com>2024-02-07 12:26:42 +0100
commit8c9c02c975f07bb832a0891178b2113c6879d483 (patch)
tree48282b14b26537cdcfab3403bfc487e1bd774a5e /docs
parentPer-service metrics http server (diff)
downloadawx-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')
-rw-r--r--docs/docsite/conf.py14
-rw-r--r--docs/docsite/rst/rest_api/_swagger/swagger.py8
2 files changed, 11 insertions, 11 deletions
diff --git a/docs/docsite/conf.py b/docs/docsite/conf.py
index 2a733792ed..42926df97b 100644
--- a/docs/docsite/conf.py
+++ b/docs/docsite/conf.py
@@ -16,11 +16,11 @@ pubdate = datetime.strptime(pubdateshort, '%Y-%m-%d').strftime('%B %d, %Y')
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-#html_title = None
+# html_title = None
html_title = 'Ansible AWX community documentation'
# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
+# html_short_title = None
html_short_title = 'AWX community documentation'
htmlhelp_basename = 'AWX_docs'
@@ -54,8 +54,8 @@ release = 'AWX latest'
language = 'en'
-locale_dirs = ['locale/'] # path is example but recommended.
-gettext_compact = False # optional.
+locale_dirs = ['locale/'] # path is example but recommended.
+gettext_compact = False # optional.
rst_epilog = """
.. |atqi| replace:: *AWX Quick Installation Guide*
@@ -88,4 +88,8 @@ rst_epilog = """
.. |rhaap| replace:: Red Hat Ansible Automation Platform
.. |RHAT| replace:: Red Hat Ansible Automation Platform controller
-""" % (version, pubdateshort, pubdate)
+""" % (
+ version,
+ pubdateshort,
+ pubdate,
+)
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):