From 7a9fd62e0e3c6e55cd932cb1b27c447994309663 Mon Sep 17 00:00:00 2001
From: Sean Madsen <sean@seanmadsen.com>
Date: Mon, 26 Jun 2017 00:41:15 -0600
Subject: [PATCH] Document the auto-docs process

---
 docs/documentation/index.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/documentation/index.md b/docs/documentation/index.md
index 8e36bc84..d783bfef 100644
--- a/docs/documentation/index.md
+++ b/docs/documentation/index.md
@@ -149,6 +149,21 @@ If you'd like to move a page, take the following steps:
 !!! note
     Page redirection *won't work locally* (when previewing with `mkdocs serve`), but it *will* work once the guide is published on docs.civicrm.org. The redirection is implemented as part of our [docs-publisher](https://lab.civicrm.org/documentation/docs-publisher) app.
 
+
+## Auto-generated documentation {:#auto-gen}
+
+Some guides may have auto-generated content, which is summarized here.
+
+### In the Developer Guide {:#auto-gen-dev}
+
+This Developer Guide has an automatically-generated [list of all hooks](/hooks/list.md). To re-create this list, run the following command from the root level of the repository:
+
+```
+./bin/tools generate:hooks-list
+```
+
+Our editing workflow currently requires someone to manually run this command after and commit its changes whenever hooks files are edited.
+
 ## Content attribution guidelines {:#attribution}
 
 All CiviCRM documentation content is licensed [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/). This means that if you want to copy content out of our docs and use it elsewhere, you're welcome to do so as long as your give attribution to the author. 
-- 
GitLab