Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70fb1a6

Browse files
jakeprojectsanntzer
authored andcommitted
Remove FAQ on 'Search' -- already referenced in search file (#15591)
* Remove FAQ on 'Search' -- already referenced in search file * Fix missing link
1 parent 7ea91b6 commit 70fb1a6

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

doc/_templates/search.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ <h1 id="search-documentation">{{ _('Search') }}</h1>
1313
words. Pages containing less words won't appear in the result
1414
list.{% endtrans %} If you want to limit your search to working code examples,
1515
include the keyword "codex" (mnemonic for <i>code example</i>) in your
16-
search, e.g., "codex ellipse";
17-
see <a href="{{ pathto('faq/howto_faq.html#search-examples') }}">search&nbsp;examples</a>.
16+
search, e.g., "codex ellipse".
1817
</p>
1918
<form action="" method="get">
2019
<input type="text" name="q" value="" />

doc/faq/howto_faq.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Contribute to Matplotlib documentation
630630
Matplotlib is a big library, which is used in many ways, and the
631631
documentation has only scratched the surface of everything it can
632632
do. So far, the place most people have learned all these features are
633-
through studying the examples (:ref:`how-to-search-examples`), which is a
633+
through studying the :ref:`examples-index`, which is a
634634
recommended and great way to learn, but it would be nice to have more
635635
official narrative documentation guiding people through all the dark
636636
corners. This is where you come in.
@@ -720,20 +720,3 @@ has written a nice `article
720720
on how to make html click maps with Matplotlib agg PNGs. We would
721721
also like to add this functionality to SVG. If you are interested in
722722
contributing to these efforts that would be great.
723-
724-
725-
.. _how-to-search-examples:
726-
727-
How to search for examples
728-
==========================
729-
730-
The nearly 300 code :ref:`examples-index` included with the Matplotlib
731-
source distribution are full-text searchable from the :ref:`search`
732-
page, but sometimes when you search, you get a lot of results from the
733-
:ref:`api-index` or other documentation that you may not be interested
734-
in if you just want to find a complete, free-standing, working piece
735-
of example code. To facilitate example searches, we have tagged every
736-
code example page with the keyword ``codex`` for *code example* which
737-
shouldn't appear anywhere else on this site except in the FAQ.
738-
So if you want to search for an example that uses an
739-
ellipse, :ref:`search` for ``codex ellipse``.

0 commit comments

Comments
 (0)