Skip to content

Commit

Permalink
sc-81896-disable-search-page-redirect-on-all-docs-projects-except-pen…
Browse files Browse the repository at this point in the history
…nylane-oss (#85)

## Changes
- Make search on PennyLane.ai feature disabled by default and to be only
enabled explicitly in docs projects

## Related PR
- PennyLaneAI/pennylane#6816
  • Loading branch information
ashishks0522 authored Jan 15, 2025
1 parent 787166b commit 110f65f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
## Release 0.9.0 (development release)
## Release 0.9.0

### Contributors

This release contains contributions from (in alphabetical order):

[Ashish Kanwar Singh](https://github.com/ashishks0522).

### Bug Fixes
* Disabled the `search_on_pennylane_ai` configuration by default so that it can be enabled selectively in docs projects.
[#85](https://github.com/PennyLaneAI/pennylane-sphinx-theme/pull/85)

## Release 0.8.0

### Contributors
Expand Down
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"toc_global": True,
"relations": True,
"command_palette_enabled": False,
"search_on_pennylane_ai": False
}


Expand Down
2 changes: 1 addition & 1 deletion pennylane_sphinx_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ google_analytics_tracking_id =
extra_copyrights =

# Whether to redirect searches to https://pennylane.ai/search.
search_on_pennylane_ai = True
search_on_pennylane_ai = False

# Whether to enable the pennylane command palette.
command_palette_enabled = False
Expand Down

0 comments on commit 110f65f

Please sign in to comment.