diff --git a/docs/how-to/source_to_doc_links.rst b/docs/how-to/source_to_doc_links.rst index 13b722bee..c52c765c7 100644 --- a/docs/how-to/source_to_doc_links.rst +++ b/docs/how-to/source_to_doc_links.rst @@ -25,7 +25,7 @@ For other languages (C++, Rust, etc.), use the appropriate comment syntax. Scanning Source Code for Links ------------------------------ -In you ``BUILD`` files, you specify which source files to scan +In your ``BUILD`` files, you specify which source files to scan with ``filegroup`` or ``glob`` or whatever Bazel mechanism you prefer. Finally, pass the scan results to the ``docs`` rule as ``scan_code`` attribute.