@@ -25,8 +25,8 @@ For example:
2525 " show_prev_next" : False ,
2626 " show_breadcrumbs" : True ,
2727 " additional_breadcrumbs" : [
28- (" Ansys" , " https://www.ansys.com/" ),
29- ],
28+ (" Ansys" , " https://www.ansys.com/" ),
29+ ],
3030 }
3131
3232 When you are on the documentation's homepage, the breadcrumb shows the homepage
@@ -118,10 +118,12 @@ This dictionary should contain the following keys:
118118#. ``host ``: The host name of your MeiliSearch instance. It is hosted at
119119 https://search.pyansys.com on port 443 (default).
120120 You can set this to an environment variable using
121- ``os.getenv() `` for added security.
121+ ``os.getenv() `` for added security. If no value is provided, the default
122+ public host for PyAnsys is used.
122123
123124#. ``api_key ``: The API key for your MeiliSearch instance.
124- You can also set this to an environment variable using ``os.getenv() ``.
125+ You can also set this to an environment variable using ``os.getenv() ``. If no
126+ value is provided, the default public API key for PyAnsys is used.
125127
126128#. ``index_uids ``: A dictionary that provides a mapping between the unique
127129 identifier (UID) of an index and its
@@ -155,8 +157,6 @@ Here is the example configuration of using MeiliSearch in
155157
156158 html_theme_options = {
157159 " use_meilisearch" : {
158- " host" : os.getenv(" MEILISEARCH_HOST_NAME" , " " ),
159- " api_key" : os.getenv(" MEILISEARCH_API_KEY" , " " ),
160160 " index_uids" : {
161161 " ansys-ansys-sphinx-theme-sphinx-docs" : " ansys-sphinx-theme" ,
162162 " pyansys-docs-all-public" : " PyAnsys" ,
0 commit comments