stacks-network / docs

Unleash Bitcoin's full potential with decentralized apps and smart contracts. The documentation covers key aspects of the Stacks network and technology and provides tutorials and other helpful content for developers.
https://docs.stacks.co
Creative Commons Zero v1.0 Universal
156 stars 235 forks source link

Search not linking to correct pages #1573

Closed obycode closed 1 year ago

obycode commented 1 year ago

Describe the issue There seems to be a problem with the links from the search (Cmd-K) on the Clarity docs. When it should link to https://docs.stacks.co/docs/clarity/language-functions#unwrap for example, it instead is linking to https://docs.stacks.co/docs/write-smart-contracts/clarity-language/language-functions#unwrap

wileyj commented 1 year ago

I think i undertand what happened here - using algolia open source indexer, there's no way to re-index on demand since it runs via cron (etc). When the docs site was updated, it quite literally broke most of the existing index and it simply took a little time for the refresh to happen.

luckily, changes like that merge are not common - i'm also looking at some options to give us more control over the search index as well