Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 576 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 576 Bytes

Technical Notes Site

Start

pnpm install
pnpm dev

Index Algolia Locally

add .env file in root directly

APPLICATION_ID=
# the admin api key
API_KEY=

then run

docker run --platform linux/amd64 -it --env-file=.env -e "CONFIG=$(cat ./algolia.json | jq -r tostring)" algolia/docsearch-scraper

notice in algolia.json, the lang settings must be the same as in .vitepress/config.mts. for example, en-US

Edit Top Navigation Bar

.vitepress/navConfig.mts

References

Markdown Guide