From 40fcef3e41da1adb2881348cf4acec6432032459 Mon Sep 17 00:00:00 2001 From: Lucid One Date: Wed, 25 Apr 2018 21:01:26 -0400 Subject: [PATCH] Adding support for opensearch of documentation (#38593) --- docs/docsite/_static/opensearch.xml | 9 +++++++++ docs/docsite/rst/conf.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 docs/docsite/_static/opensearch.xml diff --git a/docs/docsite/_static/opensearch.xml b/docs/docsite/_static/opensearch.xml new file mode 100644 index 00000000000..9d0cb6d001f --- /dev/null +++ b/docs/docsite/_static/opensearch.xml @@ -0,0 +1,9 @@ + + Ansible + Search Ansible Documentation + UTF-8 + https://docs.ansible.com/favicon.ico + + https://docs.ansible.com/ansible/latest/search.html + diff --git a/docs/docsite/rst/conf.py b/docs/docsite/rst/conf.py index 2e93e7d7bcc..35c46b672c8 100644 --- a/docs/docsite/rst/conf.py +++ b/docs/docsite/rst/conf.py @@ -183,7 +183,7 @@ html_copy_source = False # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. -# html_use_opensearch = '' +html_use_opensearch = 'https://docs.ansible.com/ansible/latest/' # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). # html_file_suffix = ''