docs: Move presubmit demo into presubmit module

This moves the pw_presubmit demo GIF into the presubmit module, so that
the pw_presubmit docs can import it without requiring the core Pigweed
docs.

Change-Id: I76b306ea3b7adb59fa111534a025f218b6b7cd08
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/17629
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f27450e..e24d963 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -136,7 +136,7 @@
 $ pw presubmit --program quick
 ```
 
-![pigweed presubmit demonstration](docs/images/pw_presubmit_demo.gif)
+![pigweed presubmit demonstration](pw_presubmit/docs/pw_presubmit_demo.gif)
 
 Running `pw presubmit` manually will default to running the `full` presubmit
 program.
diff --git a/README.md b/README.md
index ddda493..0938a5b 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@
 configurations defined by your project. `pw format` leverages existing tools
 like `clang-format`, and it’s simple to add support for new languages.
 
-![pw presubmit demo](docs/images/pw_presubmit_demo.gif)
+![pw presubmit demo](pw_presubmit/docs/pw_presubmit_demo.gif)
 
 ## `pw_env_setup` - Cross platform embedded compiler setup
 
diff --git a/docs/BUILD.gn b/docs/BUILD.gn
index 739a981..209adf2 100644
--- a/docs/BUILD.gn
+++ b/docs/BUILD.gn
@@ -19,7 +19,6 @@
 pw_doc_group("core_docs") {
   inputs = [
     "images/pw_env_setup_demo.gif",
-    "images/pw_presubmit_demo.gif",
     "images/pw_status_test.png",
     "images/pw_watch_build_demo.gif",
     "images/pw_watch_on_device_demo.gif",
diff --git a/pw_presubmit/BUILD.gn b/pw_presubmit/BUILD.gn
index abf0562..d9f95ab 100644
--- a/pw_presubmit/BUILD.gn
+++ b/pw_presubmit/BUILD.gn
@@ -19,6 +19,7 @@
 pw_doc_group("docs") {
   sources = [ "docs.rst" ]
   inputs = [
+    "docs/pw_presubmit_demo.gif",
     "py/pw_presubmit/cli.py",
     "py/pw_presubmit/presubmit.py",
   ]
diff --git a/pw_presubmit/docs.rst b/pw_presubmit/docs.rst
index 427f15c..4be12a9 100644
--- a/pw_presubmit/docs.rst
+++ b/pw_presubmit/docs.rst
@@ -23,7 +23,7 @@
 configurations defined by your project. ``pw format`` leverages existing tools
 like ``clang-format``, and it’s simple to add support for new languages.
 
-.. image:: ../docs/images/pw_presubmit_demo.gif
+.. image:: docs/pw_presubmit_demo.gif
    :alt: ``pw format`` demo
    :align: left
 
diff --git a/docs/images/pw_presubmit_demo.gif b/pw_presubmit/docs/pw_presubmit_demo.gif
similarity index 100%
rename from docs/images/pw_presubmit_demo.gif
rename to pw_presubmit/docs/pw_presubmit_demo.gif
Binary files differ