* Use link from webpage. Closes #14476

* Update doc generation tests

* Update RST test
This commit is contained in:
Jake Leahy 2022-11-22 06:59:06 +11:00 • committed by GitHub
commit 753868f16c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -255,7 +255,7 @@ proc dosearch(value: cstring): Element =
var stuff: Element
{.emit: """
var request = new XMLHttpRequest();
request.open("GET", "theindex.html", false);
request.open("GET", document.getElementById("indexLink").href, false);
request.send(null);
var doc = document.implementation.createHTMLDocument("theindex");