[{"data":1,"prerenderedAt":29},["ShallowReactive",2],{"clay-page:\u002F4.x\u002Ffeatures\u002Fsearch":3},{"html":4,"toc":5,"description":25,"hero":26,"list":27,"socialImage":28},"\u003Ch1 id=\"search\">Search\u003C\u002Fh1>\n\u003Cp>Every Clay site has a full-text search, with nothing to set up and no external service. Clay builds the search index when it builds the site, and the browser loads it the first time someone searches.\u003C\u002Fp>\n\u003Ch2 id=\"opening-the-search\">\u003Ca class=\"heading-anchor\" href=\"#opening-the-search\" aria-label=\"Link to this section\" data-route=\"#opening-the-search\">#\u003C\u002Fa>Opening the search\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Shortcut\u003C\u002Fth>\n\u003Cth>Action\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Ckbd>Ctrl\u003C\u002Fkbd> + \u003Ckbd>K\u003C\u002Fkbd> or \u003Ckbd>⌘\u003C\u002Fkbd> + \u003Ckbd>K\u003C\u002Fkbd>\u003C\u002Ftd>\n\u003Ctd>Open or close the search\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ckbd>\u002F\u003C\u002Fkbd>\u003C\u002Ftd>\n\u003Ctd>Open the search (when not typing in a field)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ckbd>↑\u003C\u002Fkbd> \u003Ckbd>↓\u003C\u002Fkbd>\u003C\u002Ftd>\n\u003Ctd>Move through the results\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ckbd>⏎\u003C\u002Fkbd>\u003C\u002Ftd>\n\u003Ctd>Open the selected result\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ckbd>Esc\u003C\u002Fkbd>\u003C\u002Ftd>\n\u003Ctd>Clear the field; pressed again, close the search\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cp>The magnifying glass in the navbar opens it too. The bottom of the search shows these keys and how many results there are.\u003C\u002Fp>\n\u003Ch2 id=\"what-is-found\">\u003Ca class=\"heading-anchor\" href=\"#what-is-found\" aria-label=\"Link to this section\" data-route=\"#what-is-found\">#\u003C\u002Fa>What is found\u003C\u002Fh2>\n\u003Cp>The index covers every page, split into sections at each \u003Ccode>##\u003C\u002Fcode> and \u003Ccode>###\u003C\u002Fcode> heading. Results are grouped by page: the page title with its place in the docs, and below it the matching sections and text, with the matched words highlighted. A result leads straight to its section, not just to the page. After you open a result, the words stay marked on the page, and the page scrolls to the first match.\u003C\u002Fp>\n\u003Cp>Results are ranked by where the words appear, best first:\u003C\u002Fp>\n\u003Col>\n\u003Cli>page titles,\u003C\u002Fli>\n\u003Cli>section headings,\u003C\u002Fli>\n\u003Cli>folder names (the path above a result, like “Guides › Advanced”),\u003C\u002Fli>\n\u003Cli>the text,\u003C\u002Fli>\n\u003Cli>code blocks.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"filtering-by-section\">\u003Ca class=\"heading-anchor\" href=\"#filtering-by-section\" aria-label=\"Link to this section\" data-route=\"#filtering-by-section\">#\u003C\u002Fa>Filtering by section\u003C\u002Fh2>\n\u003Cp>Above the results, a chip for each top-level folder with matches shows how many there are, like \u003Cstrong>Guides 9\u003C\u002Fstrong>. Click one to see only its results; \u003Cstrong>All\u003C\u002Fstrong> shows them all again.\u003C\u002Fp>\n\u003Ch2 id=\"typing-and-typos\">\u003Ca class=\"heading-anchor\" href=\"#typing-and-typos\" aria-label=\"Link to this section\" data-route=\"#typing-and-typos\">#\u003C\u002Fa>Typing and typos\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Every word must match.\u003C\u002Fstrong> “github pages” finds sections with both words; if no section has all of them, Clay shows sections with any of them.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The last word is completed\u003C\u002Fstrong> while you type: “deplo” finds “deployment”.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Small typos are forgiven\u003C\u002Fstrong> in words of four letters or more: “confgiuration” finds “configuration”.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"recent-pages\">\u003Ca class=\"heading-anchor\" href=\"#recent-pages\" aria-label=\"Link to this section\" data-route=\"#recent-pages\">#\u003C\u002Fa>Recent pages\u003C\u002Fh2>\n\u003Cp>Before you type, the search lists the pages you opened from it recently. They are kept in your browser only, per site, and never sent anywhere.\u003C\u002Fp>\n\u003Ch2 id=\"versions-and-languages\">\u003Ca class=\"heading-anchor\" href=\"#versions-and-languages\" aria-label=\"Link to this section\" data-route=\"#versions-and-languages\">#\u003C\u002Fa>Versions and languages\u003C\u002Fh2>\n\u003Cp>Each \u003Ca href=\"\u002Fclay-example-repo\u002F4.x\u002Forganizing\u002Fversions\" data-route=\"\u002F4.x\u002Forganizing\u002Fversions\">version\u003C\u002Fa> and \u003Ca href=\"\u002Fclay-example-repo\u002F4.x\u002Forganizing\u002Ftranslations\" data-route=\"\u002F4.x\u002Forganizing\u002Ftranslations\">language\u003C\u002Fa> has its own index, and the search looks in the one you are reading: results never lead into another version or language.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-tip\">\n\u003Cp class=\"markdown-alert-title text-primary\">\u003Ci class=\"fa-solid fa-lightbulb mr-2\">\u003C\u002Fi>Tip\u003C\u002Fp>\n\u003Cp>Good headings make good search results. A section titled “Deploying to GitHub Pages” is found by everyone looking for it; one titled “Step 3” is not.\u003C\u002Fp>\n\u003C\u002Fdiv>\n",[6,10,13,16,19,22],{"id":7,"text":8,"level":9},"opening-the-search","Opening the search",2,{"id":11,"text":12,"level":9},"what-is-found","What is found",{"id":14,"text":15,"level":9},"filtering-by-section","Filtering by section",{"id":17,"text":18,"level":9},"typing-and-typos","Typing and typos",{"id":20,"text":21,"level":9},"recent-pages","Recent pages",{"id":23,"text":24,"level":9},"versions-and-languages","Versions and languages","Full-text search over every page and section, with typo tolerance, highlighted matches and keyboard shortcuts.",null,false,"\u002F_clay\u002Fsocial\u002F4.x\u002Ffeatures\u002Fsearch.png",1792666369485]