MacHu-GWU / furo-sphinx-search

Enable search-as-you-type feature for docs hosted by RTD, for furo

Home Page:https://readthedocs-sphinx-search.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

furo-sphinx-search - Search as you type for Read the Docs

image

This repository is a fork of readthedocs-sphinx-search, and is currently modded for use in python-telegram-bot.

Modded features

  • Made the theme consistent with Furo. It works with both light and dark mode.
  • The theme is now more "material", with rounded corners and cards as results, along with tiny fixes.
  • Included the ability to perform an advanced search - Search by attributes, class, methods, parameters (requires sphinx-paramlinks, if you don't have this, the search filter for that just won't have any effect.), and general documentation.
  • The rtd_search parameter was removed, so no more pushing to history and a better UX.

Note that Advanced Search will work for pure python documentation. If you support for other domains than the python one, feel free to open an issue or a PR.

Installation

This package is not available via pip, so you'll have to install it manually:

pip install git+https://github.com/harshil21/furo-sphinx-search@main

or in your requirements.txt:

git+https://github.com/harshil21/furo-sphinx-search@main

The rest of the configuration process remains the same as the original package. Please refer to the original documentation.

Credits

License

This project is licensed under the terms of the MIT license (required to be same as upstream license).

About

Enable search-as-you-type feature for docs hosted by RTD, for furo

https://readthedocs-sphinx-search.readthedocs.io/

License:MIT License


Languages

Language:Python 45.0%Language:JavaScript 35.0%Language:CSS 18.8%Language:Shell 0.8%Language:Makefile 0.4%