Hi Takeshi,

Thanks, that looks like a good solution too - there's only a few pages to
apply it to.

Regards,
Daniel

On Thu, 8 Apr 2021 at 16:40, Komiya Takeshi <[email protected]> wrote:

> Hi,
>
> You can specify nosearch option to the arbitrary pages using
> bibliographic fields:
>
> https://www.sphinx-doc.org/en/master/usage/restructuredtext/field-lists.html#special-metadata-fields
>
> But there are no options to ignore files all at once.
>
> Thanks,
> Takeshi KOMIYA
>
> 2021年4月9日(金) 0:27 Daniel Evans <[email protected]>:
> >
> > Hello,
> >
> > We have a codebase mainly containing user-facing documentation for a set
> of command line tools, but which also contains a smaller section of
> developer API documentation.
> >
> > When searching the documentation for information on a tool, Sphinx often
> ranks several results for developer API above the user-facing
> documentation, which rather annoys users.
> >
> > Is there a reasonably simple way to prevent the developer documentation
> pages (which are contained in a single directory) from being listed in
> search results? Is there some configuration option like "'search_ignore':
> 'developer/*'"?
> >
> > (An obvious alternative is to have two separate sets of documentation,
> perhaps with intersphinx links, given the two fairly separate use cases)
> >
> > Regards,
> > Daniel
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sphinx-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/ca06082a-010c-44f1-8f2b-c2dece4380ecn%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sphinx-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sphinx-users/-6nDi63xAZI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/CAFmkQAM4hrxGLCcbbqMVc2ezVp-evCWmzfQYD76g3vgK910eBQ%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CANnaQaYr_qpU%2B3gR%3DM5eNUoDnFUvGEHnSeZfkTb3gKojoNJigg%40mail.gmail.com.

Reply via email to