diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-02 02:45:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 02:45:23 -0700 |
commit | 36fd2fcaae757e8ac64c8ff7a66e4f480a075dcf (patch) | |
tree | 6b768d1ab61620e928e6a8654cd98d5f0779f94c /runtime/lua | |
parent | 80814d1535812ce2f0f667a73dfd6032cd63402b (diff) | |
download | rneovim-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