Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docs: add search integration to Zensical #12605

Open
Labels
@humitos

Description

@humitos

We have a similar section in our MkDocs documentation, but I wasn't able to find how to disable the native search on Zensical and it triggers both modals, which is annoying.

Configure Read the Docs search~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~To configure your site to use:doc:`Read the Docs search</server-side-search/index>` instead of the default search:#. Add the following block of #"DOMContentLoaded",function(event) {// Trigger Read the Docs' search addon instead of Zensical defaultdocument.querySelector(".md-search").addEventListener("click", (e)=> {constevent=newCustomEvent("readthedocs-search-show");document.dispatchEvent(event);            });        });#. Include ``assets/javascript/readthedocs.js`` in your MkDocs configuration:    ..code-block::toml        :caption: zensical.toml        [project]        extra_javascript = ["assets/javascript/readthedocs.js"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp