--- toc: false title: Setting up Search keywords: fastai sidebar: home_sidebar summary: "Using Google Custom Search" description: "Using Google Custom Search" nb_path: "nbs/99_search.ipynb" ---
If you want to include Search functionality on your docs site, you need to set up a Google Custom Search, and then link it to your nbdev project. Here's all the steps you need to follow (replace anything in {} with the value your have in settings.ini:
{owner}.github.io/{lib_name}), and in "Name of the search engine" type "{lib_name} docs". Then click "CREATE"docs/_config.yml in your project. (If you don't already have this file, run nbdev_build_lib to create it, once you've set up your settings.ini)cse.xml file in a text editor, and delete everything from the line starting with <LookAndFeel onwards (including that line)cse.xml from, click Upload XML file and upload the updated cse.xml file you just save.