website/documentation.toml (24 lines of code) (raw):

name = "Configuration for autogenerating API docs for Bean Machine" [settings] # This can be a list of strings if you want to document more than one module search = ["flowtorch"] github = "https://github.com/facebookincubator/flowtorch/blob/main/" [paths] # Paths are all relative to the *first* search module sidebar = "../website" sidebar_filename = "api.sidebar.js" # TODO: Base path for Docusaurus 2 content markdown = "../website/docs/api" # TODO: regular expression for sections that are visible initially: unfurled = "..." [filters] [filters.include] # If modules or symbols isn't defined then will include all by default # Multiple strings will be combined into a single regular expression with | modules = [ # Use triple quotes for string literals, useful for regular expressions '''flowtorch(\.\w+)*''', ] [filters.exclude] # If modules or functions isn't defined then will exclude none by default modules = '''flowtorch(\.\w+){2,}''' symbols = '''(\w+\.)+_.*'''