From 2e6f1128bb95165804be707d76bb7bb28dd5718e Mon Sep 17 00:00:00 2001 From: tooomm Date: Fri, 2 Jan 2026 14:38:25 +0100 Subject: [PATCH] Docs: Fix search help rendering and open external link in new tab (#6440) * Use HTML link to open webpage in new tab * Fix rendering for doxygen --- cockatrice/resources/help/deck_search.md | 4 +++- cockatrice/resources/help/search.md | 4 +++- doc/doxygen/extra-pages/index.md | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cockatrice/resources/help/deck_search.md b/cockatrice/resources/help/deck_search.md index c42e41c42..4e1c5c557 100644 --- a/cockatrice/resources/help/deck_search.md +++ b/cockatrice/resources/help/deck_search.md @@ -1,11 +1,13 @@ @page deck_search_syntax_help Deck Search Syntax Help ## Deck Search Syntax Help ------ + The search bar recognizes a set of special commands.
In this list of examples below, each entry has an explanation and can be clicked to test the query. Note that all searches are case insensitive. +
+
Display Name (The deck name, or the filename if the deck name isn't set):
[red deck wins](#red deck wins) (Any deck with a display name containing the words red, deck, and wins)
["red deck wins"](#%22red deck wins%22) (Any deck with a display name containing the exact phrase "red deck wins")
diff --git a/cockatrice/resources/help/search.md b/cockatrice/resources/help/search.md index 3b3f0cc93..6f25e4013 100644 --- a/cockatrice/resources/help/search.md +++ b/cockatrice/resources/help/search.md @@ -1,10 +1,12 @@ @page search_syntax_help Search Syntax Help ## Search Syntax Help ------ + The search bar recognizes a set of special commands similar to some other card databases.
In this list of examples below, each entry has an explanation and can be clicked to test the query. Note that all searches are case insensitive. +
+
Name:
[birds of paradise](#birds of paradise) (Any card name containing the words birds, of, and paradise)
["birds of paradise"](#%22birds of paradise%22) (Any card name containing the exact phrase "birds of paradise")
diff --git a/doc/doxygen/extra-pages/index.md b/doc/doxygen/extra-pages/index.md index c370a6fc2..b5c2b61e5 100644 --- a/doc/doxygen/extra-pages/index.md +++ b/doc/doxygen/extra-pages/index.md @@ -7,4 +7,4 @@ This is the **main landing page** of the Cockatrice documentation. - Go to the @subpage user_reference page - Review the @subpage developer_reference -Or check out the [Cockatrice Webpage](https://cockatrice.github.io/). +Or check out the Cockatrice Webpage.