huggingface / huggingface/doc-builder

Searching with ctrl+F for collapsed parameter or text is hard

Open
#215 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
144
Forks
59
Avg merge
2d 5h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
Sorry for creating many issues, they are by no means urgent, just nice to have.

When searching with ctrl+F for e.g. parameters that are collapsed in the doc (for example `problem_type` in https://huggingface.co/docs/transformers/main_classes/configuration), browsers (Firefox, Chromium) redirect to a place that is not relevant. I think it redirects to the place where the parameter would be if not collapsed (after clicking on "Expand 11 parameters", it is the right place).

This makes it hard to search collapsed parameters with ctrl+F in the doc.

**Describe the solution you'd like**
Not sure, probably redirect to the place where we have "Expand 11 parameters"? Not sure how doable that is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.