Skip to content

Commit

Permalink
docs: Move bug directive
Browse files Browse the repository at this point in the history
Bug: 386380020
Change-Id: I2696dcf119ad6f26d15aedd46915e6a7de63a344
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256693
Reviewed-by: Ted Pudlik <[email protected]>
Docs-Not-Needed: Kayce Basques <[email protected]>
Lint: Lint 🤖 <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Kayce Basques <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
Kayce Basques authored and CQ Bot Account committed Jan 6, 2025
1 parent dbf07bb commit bfe2c77
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ sphinx_docs_library(
# TODO: https://pwbug.dev/377679855 - Rename this to "docs" after merging.
name = "not_prefixed",
srcs = [
"_extensions/bug.py",
"_extensions/sitemap.py",
"automated_analysis.rst",
"bazel_compatibility.rst",
Expand Down
1 change: 1 addition & 0 deletions docs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pw_doc_group("core_docs") {
"$dir_pw_build/py/pw_build/generate_python_wheel_cache.py",
"$dir_pw_build/python.gni",
"$dir_pw_build/python_gn_args.gni",
"_extensions/bug.py",
"_extensions/sitemap.py",
"layout/layout.html",
"run_doxygen.py",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def pygments_monkeypatch_style(mod_name, cls):
sys.path.append(f'{pw_root}/docs/_extensions')

extensions = [
"pw_docgen.sphinx.bug",
"bug", # Custom extension to normalize Pigweed bug links.
"pw_docgen.sphinx.google_analytics", # Enables optional Google Analytics
"pw_docgen.sphinx.kconfig",
"pw_docgen.sphinx.module_metadata",
Expand Down
1 change: 0 additions & 1 deletion pw_docgen/py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ py_library(
srcs = [
"pw_docgen/__init__.py",
"pw_docgen/sphinx/__init__.py",
"pw_docgen/sphinx/bug.py",
"pw_docgen/sphinx/google_analytics.py",
"pw_docgen/sphinx/kconfig.py",
"pw_docgen/sphinx/module_metadata.py",
Expand Down
1 change: 0 additions & 1 deletion pw_docgen/py/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pw_python_package("py") {
"pw_docgen/docserver.py",
"pw_docgen/seed.py",
"pw_docgen/sphinx/__init__.py",
"pw_docgen/sphinx/bug.py",
"pw_docgen/sphinx/google_analytics.py",
"pw_docgen/sphinx/kconfig.py",
"pw_docgen/sphinx/module_metadata.py",
Expand Down

0 comments on commit bfe2c77

Please sign in to comment.