Skip to content

Finding API documentation via the website search #2055

@alexander-held

Description

@alexander-held

Summary

I was trying to find whether return_result_obj is documented on the website. This is a bit tricky to find, as it can be passed to e.g. pyhf.infer.mle.fit but comes in through the mixin for the optimizer, where it is indeed documented: https://pyhf.readthedocs.io/en/v0.7.0/_generated/pyhf.optimize.mixins.OptimizerMixin.html#pyhf.optimize.mixins.OptimizerMixin.minimize.

When I search for return_result_obj in the search bar on the top left of the page, I only see a link to the source code however. Is it possible to also expose the API documentation there?

Documentation Page Link

https://pyhf.readthedocs.io/en/v0.7.0/search.html?q=return_result_obj&check_keywords=yes&area=default

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation relatedneeds-triageNeeds a maintainer to categorize and assignuser requestRequest coming form a pyhf user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions