Skip to content

Add visible search button to documentation navbar - #33

Merged
bruAristimunha merged 3 commits into
developfrom
copilot/add-search-bar-functionality
Nov 24, 2025
Merged

bruAristimunha merged 3 commits into
developfrom
copilot/add-search-bar-functionality

Conversation

Copilot AI commented Nov 24, 2025 •

Copy link
Copy Markdown
Contributor

The documentation search was only accessible via Ctrl+K keyboard shortcut with no visible UI element, making it undiscoverable for most users.

Changes

Added the pydata-sphinx-theme's search-button.html component to the navbar configuration:

# docs/source/conf.py
html_theme_options = {
    # ...
    "navbar_end": ["search-button.html", "navbar-icon-links"],
    # ...
}

Screenshots

Before: No visible search affordance
Current navbar

After: Search button (magnifying glass) now visible in navbar
With search button

In use: Clicking opens search dialog
Search dialog

Keyboard shortcut (Ctrl+K) remains functional.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.python.org
    • Triggering command: /home/REDACTED/.local/bin/sphinx-build sphinx-build -b html --keep-going source build/html (dns block)
  • docs.scipy.org
    • Triggering command: /home/REDACTED/.local/bin/sphinx-build sphinx-build -b html --keep-going source build/html (dns block)
  • matplotlib.org
    • Triggering command: /home/REDACTED/.local/bin/sphinx-build sphinx-build -b html --keep-going source build/html (dns block)
  • mne.tools
    • Triggering command: /home/REDACTED/.local/bin/sphinx-build sphinx-build -b html --keep-going source build/html (dns block)
  • numpy.org
    • Triggering command: /home/REDACTED/.local/bin/sphinx-build sphinx-build -b html --keep-going source build/html (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Search bar within the webpage</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add search bar to the webpage Add visible search button to documentation navbar Nov 24, 2025
Copilot AI requested a review from bruAristimunha November 24, 2025 15:17
@bruAristimunha
bruAristimunha marked this pull request as ready for review November 24, 2025 22:37
@bruAristimunha
bruAristimunha merged commit 9501d96 into develop Nov 24, 2025
@bruAristimunha
bruAristimunha deleted the copilot/add-search-bar-functionality branch November 24, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search bar within the webpage

2 participants