mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 14:16:26 +00:00
bd89d5c164
- Glob for */docs.rst in the modules.rst toctree to avoid needing to list each module's docs entry in three places. Globbing also automatically maintains alphabetical order. - Rename a few doc files to docs.rst. Change-Id: I4ff9a83184d326441b426afea6879a4a7b6740eb
32 lines
767 B
ReStructuredText
32 lines
767 B
ReStructuredText
.. _chapter-bloat:
|
|
|
|
.. default-domain:: cpp
|
|
|
|
.. highlight:: sh
|
|
|
|
--------
|
|
pw_bloat
|
|
--------
|
|
The bloat module provides tools to generate size report cards for output
|
|
binaries.
|
|
|
|
.. TODO(frolv): Explain how bloat works and how to set it up.
|
|
|
|
Documentation integration
|
|
=========================
|
|
Bloat reports are easy to add to documentation files. All ``pw_size_report``
|
|
targets output a ``.rst`` file containing a tabular report card. This file
|
|
can be imported directly into a documentation file using the ``include``
|
|
directive.
|
|
|
|
For example, the ``simple_bloat`` bloat report under ``//pw_bloat/examples``
|
|
is imported into this file as follows:
|
|
|
|
.. code:: rst
|
|
|
|
.. include:: examples/simple_bloat.rst
|
|
|
|
Resulting in this output:
|
|
|
|
.. include:: examples/simple_bloat.rst
|