Skip to content

Documentation "Search" for script section (ie. >D) does NOT show existing content #1449

Open

Description

@mi-hol

Example:

Searching for script section gives "no matching documents" despite the search string being shown in Table of Content on the right.
Maybe a configuration issue related to special characters like ">" is causing this issue?

Image

Activity

  1. added a commit that references this issue on Feb 2, 2025
    6e56a5e
  2. mi-hol commented on Feb 8, 2025

    @mi-hol
    ContributorAuthor

    PR #1460 uncovered an issue with theme mkdocs/material search being unsupported since 2020.
    Details are published in developer's blog post severe issues in theme "material"

    Today I had a reboot loop with the text: "FRC: Some settings have been reset (3)".
    I seemed to remember having read about this somewhere, but did not manage to find it.

    There is nothing worse than existing documentation that can't be found!

    Never had such a bad search experience with documentation using theme "Read the Docs"

    My journey:

    1. searching for exact wording =>0 hits

    Image

    1. Relaxing the wording =>0 hits

    Image

    1. allowing all words => just has way too many hits for being useful!

    Image

  3. sfromis commented on Feb 13, 2025

    @sfromis
    Collaborator

    Usually it works well if you have a good single search word like FRC, but no hits.

    Combined words can be searched like +boot +loop or "boot" "loop"
    (Boot loops are what causes Tasmota to reset features until able without crashing again)

  4. mi-hol commented on Feb 14, 2025

    @mi-hol
    ContributorAuthor

    Usually it works well if you have a good single search word like FRC

    Unfortunately nearly all "sections" in Tasmota scripting language are only 2 char long (i.e. ">B") but material-theme search requires 3 chars as minimum for search to work!

    @blakadder it seems you are the maintainer focusing on documentation, may I kindly ask for your view regarding future doc framework?

  5. blakadder commented on Feb 14, 2025

    @blakadder
    Contributor

    Usually it works well if you have a good single search word like FRC

    Unfortunately nearly all "sections" in Tasmota scripting language are only 2 char long (i.e. ">B") but material-theme search requires 3 chars as minimum for search to work!

    @blakadder it seems you are the maintainer focusing on documentation, may I kindly ask for your view regarding future doc framework?

    If you are you asking me if I intend to change the entire documentation framework to fit the needs of a single documentation page while Ctrl+F exists?

    No.

  6. sfromis commented on Feb 14, 2025

    @sfromis
    Collaborator

    To be clear, I was only responding to your troubles with searching for a sentence, not about the reasonably useless searching for >D when there is only one page to look into for such.

  7. mi-hol commented on Feb 14, 2025

    @mi-hol
    ContributorAuthor

    change the entire documentation framework to fit the needs of a single documentation page

    that was from my view just the last "nail in the coffin" of theme "material".
    It seems PR #1460 uncovering an issue with theme mkdocs/material search being unsupported since 2020. did go unnoticed.
    Details are published in developer's blog post severe issues in theme "material"

  8. mi-hol commented on Feb 15, 2025

    @mi-hol
    ContributorAuthor

    the reasonably useless searching for >D when there is only one page to look into for such.

    Could you perhaps put yourself "into the shoes of a newbie" trying to understand a Tasmota script found in a forum.
    Now considering that perspective, would you mind to elaborate on that?

  9. sfromis commented on Feb 15, 2025

    @sfromis
    Collaborator

    The point is that users searching for >D would not be "raw newbies", but come from a basis of wanting to use the scripter feature.

    Sure, the rudimentary docs search box is far from being a "real search engine", for such you still have https://www.google.com/search?q=tasmota+">d" to zone in on relevant pages. And ctrl-F inside pages, of course.

    More generally, while there is a Tasmota docs page about the scripter, it is not really great for wanting to understand a random script without already having spent a learning curve to get into the concepts of how the thing works. Meaning already knowing where the relevant docs page is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions