Skip to content

Package autosummary #406

@itepifanio

Description

@itepifanio

I'm trying to generate autosummary docs of my library using a simple quartodoc config

project:
  type: website

website:
  title: "my doc"
  description: "my library does something cool"

quartodoc:
  package: my_package

But since I'm not directly exporting anything with __all__ the contents are always empty.

quartodoc:
  sections:
  - title: lighthouse_ml.app
    desc: 'Lighthouse ML App.


      Run as `python -m my_package`. See the project README for details.'
    contents: []
  package: my_package

My expectation was that quartodoc would walk over all my modules and generate all the content if anything was specified. There's some additional configuration to do that? Or do I have to explicitly tell my init files to export the objects via __all__ = ['MyClass'] to make it work?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions