Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function _getBreadcrumbs(item, linkUrl) {

const _displayItem = (item, searchTerms) => {
const docBuilder = DOCUMENTATION_OPTIONS.BUILDER;
const docUrlRoot = DOCUMENTATION_OPTIONS.URL_ROOT;
const docUrlRoot = DOCUMENTATION_OPTIONS.URL_ROOT || "";
const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX;
const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX;
const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
Expand Down Expand Up @@ -326,7 +326,7 @@ const Search = {
// maybe skip this "word"
// stopwords array is from language_data.js
if (
stopwords.indexOf(queryTermLower) !== -1 ||
stopwords.has(queryTermLower) ||
queryTerm.match(/^\d+$/)
)
return;
Expand Down
8 changes: 1 addition & 7 deletions docs/_templates/components/search-field.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,9 @@
[
['content-editing', 'Content Editing for Plone'],
['mastering-plone', 'Mastering Plone development'],
['volto_customization','Volto customization for JavaScript beginners'],
['volto-customization','Volto customization for JavaScript beginners'],
['customizing-volto-light-theme','Customizing Volto Light Theme'],
['voltohandson','Volto Hands-On (beginner)'],
['voltoaddons','Volto add-ons'],
['effective-volto','Effective Volto (advanced)'],
['testing','Testing'],
['theming','Plone 6 Classic UI Theming'],
['plone-deployment','Deployment'],
['workflow','Workflow'],
['migrations','Migration best practice'],
['contributing', 'Contributing to Plone'],
] %}
Expand Down