Skip to content

Commit

Permalink
Add docsearch (#1816)
Browse files Browse the repository at this point in the history
* [wip] add docsearch

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* add custom docsearch to conf.py

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* enable nb execution mode

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* fix env var name

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

---------

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>
  • Loading branch information
cosmicBboy authored Sep 23, 2024
1 parent dfc8d2f commit 93d2b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def linkcode_resolve(domain, info):
docsearch_api_key = os.getenv("DOCSEARCH_SEARCH_API_KEY")
docsearch_index_name = os.getenv("DOCSEARCH_INDEX_NAME", "pandera")
docsearch_search_parameters = {
"facetFilters": [f"version:{os.getenv('$READTHEDOCS_VERSION', 'stable')}"]
"facetFilters": [f"version:{os.getenv('READTHEDOCS_VERSION', 'stable')}"]
}


Expand Down

0 comments on commit 93d2b12

Please sign in to comment.