Skip to content

Commit

Permalink
docs: Add more guidance to Bazel docgen quickstart
Browse files Browse the repository at this point in the history
Change-Id: Icfbb5b2c5172c088cf082662a7abed04fb67f979
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/240877
Pigweed-Auto-Submit: Kayce Basques <[email protected]>
Reviewed-by: Ted Pudlik <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Lint: Lint 🤖 <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
Kayce Basques authored and CQ Bot Account committed Oct 8, 2024
1 parent 385019a commit 9fe59f4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/contributing/docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,30 @@ Build the docs
bazelisk build //docs/...
.. _contrib-docs-quickstart-build-tree:

Build the underlying sources directory
======================================
Use this command to verify that files are being copied over to
the expected location:

.. code-block:: console
bazelisk build //docs:docs/_sources
.. _contrib-docs-quickstart-build-sphinx:

Directly run Sphinx
===================
Use this command to mimic directly running ``sphinx-build``
from a non-Bazel context. For example, you could set a breakpoint
in your Sphinx extension, then run this command, then step through
the code with ``pdb``.

.. code-block:: console
bazelisk run //docs:docs.run
.. _contrib-docs-quickstart-preview:

---------------------------------
Expand Down

0 comments on commit 9fe59f4

Please sign in to comment.