aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-02 02:45:23 -0700
committerGitHub <noreply@github.com>2023-06-02 02:45:23 -0700
commit36fd2fcaae757e8ac64c8ff7a66e4f480a075dcf (patch)
tree6b768d1ab61620e928e6a8654cd98d5f0779f94c /runtime/lua
parent80814d1535812ce2f0f667a73dfd6032cd63402b (diff)
downloadrneovim-36fd2fcaae757e8ac64c8ff7a66e4f480a075dcf.tar.gz
rneovim-36fd2fcaae757e8ac64c8ff7a66e4f480a075dcf.tar.bz2
rneovim-36fd2fcaae757e8ac64c8ff7a66e4f480a075dcf.zip
docs(html): define anchors for search engine #23879
Problem: Selecting a search result from the Algolia Docsearch widget does not navigate to a page anchor. The docs HTML provides `<a name=…>` anchors _near_ the `<h1>`/`<h2>`/… headings, but Algolia Docsearch expects the anchors to be _defined on_ the headings. That's also "semantically" nicer. https://docsearch.algolia.com/docs/manage-your-crawls/ Solution: Set `id` on the heading element instead of placing `<a name=…>` nearby. related: 3913ebbfcde7 #23839
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions