//sphinxdocs/private:sphinx_docs_library.bzl

Implementation of sphinx_docs_library.

rule sphinx_docs_library(name, deps=[], prefix='', srcs=[], strip_prefix='')
Attributes:
  • name(Name)

    A unique name for this target.

    mandatory

  • deps(list[label]) (default [])

    Additional sphinx_docs_library targets to include. They do not have the prefix and strip_prefix attributes applied to them.

    optional

    Required providers: SphinxDocsLibraryInfo

  • prefix(str) (default “”)

    Prefix to prepend to file paths. Added after strip_prefix is removed.

    optional

  • srcs(list[label]) (default [])

    Files that are part of the library.

    optional

  • strip_prefix(str) (default “”)

    Prefix to remove from file paths. Removed before prefix is prepended.

    optional