IntegrationsSphinx
Add AI Search to your Sphinx docs
What is Sphinx
Sphinx is a documentation platform often used for Python projects.
Get an API key
- Go to the Inkeep Dashboard
- Select your project under Projects
- Go to the Integrations tab
- Click on Create integration
- Select Web
- Provide a Name and URL (optional) for the integration
- Click on Create
- Click the Example < /> button to get your API key and view suggested settings
Load the script files
Add the below scripts to the conf.py
file:
Create the addInkeep.js script
Create an addInkeep.js
file in your _static
folder.
Now, create a container and configure the search bar component.
Configure the component
Container element
Create a searchbox.html
file in source/_templates
and paste in the below::
Note
This Inkeep SearchBar
widget will replace the default search bar used on the website.
For a full list of customizations, check out the Search Bar documentation.