commit | 8f3538f3d5701bba3f6fe85e6ab4340d407e6903 | [log] [tgz] |
---|---|---|
author | Richard Levasseur <rlevasseur@google.com> | Thu Oct 17 22:52:47 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Oct 18 05:52:47 2024 +0000 |
tree | 481ade4b3be8e5caed4381add250c7d25d403654 | |
parent | 0e600586aea596a488902ce90938b36ce7e9f6d5 [diff] |
sphinxdocs: fix rendering of args in directives with empty doc (#2313) This fixes a bug where tag-classes/functions that didn't have a doc string, but did have arguments/attributes, would render the args/attrs immediately after the directive line, which made them get interpreter as direction options (settings that apply to the overall directive) instead of doc fields nested within the directive (separate block-level elements that get rendered). To fix, update the code to ensure there's a newline between the directive line and subsequent arg/attr lines. Also adds tests for this.
This repository is the home of the core Python rules -- py_library
, py_binary
, py_test
, py_proto_library
, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.