Skip to content

Support for autosummary-style output with each method/property on a separate page #415

Open
@tswast

Description

@tswast

See internal issue b/401261155

Is your feature request related to a problem? Please describe.

For the bigframes docs, especially the pandas-related APIs in bigframes such a DataFrame, the number of methods on the same page is much too many. Just scrolling the table of contents for subheadings (properties/methods) takes multiple screen lengths.

The also makes SEO difficult. Even when Google finds the correct page (e.g. a search for "bigframes dataframe explode" contrast with a search for "pandas dataframe explode"), it doesn't usually include the header and even when it does it might not take you to the right spot because of how long it takes for the page to fully render.

Describe the solution you'd like

When I use autosummary to create a separate page per method, respect that choice and create a separate yml per method / page in the normal sphinx docs.

Describe alternatives you've considered

Could add some "autosummary" like option to generate a yml for each attribute for the whole package.

Could move away from docfx yaml and instead have sphinx generated pages hosted directly.

Additional context

General handwritten improvements: #156

PR to move to autosummary in bigframes: googleapis/python-bigquery-dataframes#1473

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions