On Friday, 23 January 2015 at 17:03:17 UTC, aldanor wrote:
Since we are the ones who generate the docs, we can totally do this (in a simplest way, bake in the markers into the ddoc and generate a javascript hashmap to trace back to them).I turns out that's exactly how it's done on the rust website, poor man's index engine :)
http://doc.rust-lang.org/search-index.js -- DDOC can totally generate something like this, just a huge dict of markers. Once this is done, the client-side is quite easy.