racket / racket/scribble

Search box only works from the main page (local docs, minimal install?)

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
250
Forks
102
Avg merge
11d 11h
Merged PRs (30d)
1

Description

A while ago (I think at least since 6.9, possibly even 6.8), the search box stopped working, except on the main documentation page.

If I go to file:///home/georges/.racket/snapshot/doc/index.html, type number? in the search box and press enter, I get redirected to file:///home/georges/.racket/snapshot/doc/search/index.html?q=number%3F and everything works fine.

If I go to one of the results, e.g. file:///home/georges/.racket/snapshot/pkgs/racket-doc/scribblings/reference/doc/search/index.html?q=number%3F, and from there type number? in the search box and press enter, I get redirected to file:///home/georges/.racket/snapshot/pkgs/racket-doc/scribblings/reference/doc/search/index.html?q=number%3F, which does not exist.

This happens both on Chromium (Linux) and Firefox (Linux). If that matters, I have a minimal install, so all documentation is installed in ~/.racket.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the local documentation URLs in the report, starting at doc/index.html and then a result under pkgs/racket-doc/scribblings/reference/. Compare the search form behavior on the main page with the result page; done means submitting a search from a result page reaches an existing search page with the query.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.