Skip to content

Conversation

@ademidoff
Copy link
Member

This pull request improves the user experience and maintainability of the documentation site by enhancing external link handling and consolidating JavaScript functionality. The most important changes are the addition of an external link icon, automatic opening of external links in new tabs, and refactoring/removal of redundant JavaScript code.

External link enhancements:

  • Added a CSS rule in extra.css to display an external link icon next to external links, with theme-specific colors and print mode support.
  • Updated JavaScript to automatically open external links in a new tab for better usability.

JavaScript refactoring:

  • Merged the code from promptremover.js into a new consolidated file extra.js, which now handles both code block prompt removal and external link behavior.
  • Removed the now-redundant promptremover.js and updated the configuration to use extra.js instead. [1] [2]

@ademidoff ademidoff added the documentation Documentation changes label Nov 5, 2025
@ademidoff ademidoff marked this pull request as ready for review November 5, 2025 21:12
@ademidoff ademidoff requested a review from a team as a code owner November 5, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants