Welcome to the Salesforce Lightning Design System brought to you by Salesforce UX.
Handled by Algolia.
This process decribes indexing as a standalone process. Search indexing can also be done at time of site build by passing --make-index to the script: sh ./release.sh --make-index
To crawl and update the index, use the Docker method.
First, create the .env file.:
echo APPLICATION_ID=XXXXXX >> .env
echo API_KEY=0123456789 >> .env
Access the Algolia account, or ask someone who has access, to get the correct values.
Then install Docker Desktop as described here:
brew install --cask docker
Then launch the Docker app. Click next. It will ask for privileged access. Confirm. A whale icon should appear in the top bar. Click it, and wait for "Docker is running" to appear.
Then in terminal in the design-system-internal directory:
docker run -it --env-file=.env -e "CONFIG=$(cat ./searchconfig.json | jq -r tostring)" algolia/docsearch-scraper
$ claude mcp add design-system \
-- python -m otcore.mcp_server <graph>