From c70a965bb3690cff28c71098fd8221928ee54886 2016-06-30 18:47:27
From: Matthias Bussonnier <bussonniermatthias@gmail.com>
Date: 2016-06-30 18:47:27
Subject: [PATCH] Add extra warnings in docs, and improve Makefile.

Have the shortcuts actually depends on what generate them.

---

diff --git a/docs/Makefile b/docs/Makefile
index 20ddd10..4f2a73b 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -87,7 +87,7 @@ source/api/generated/gen.txt:
 	$(PYTHON) autogen_api.py
 	@echo "Build API docs finished."
 
-autogen_shortcuts:
+autogen_shortcuts: autogen_shortcuts.py ../IPython/terminal/interactiveshell.py
 	$(PYTHON) autogen_shortcuts.py
 	@echo "Created docs for shortcuts"
 
diff --git a/docs/source/config/shortcuts/index.rst b/docs/source/config/shortcuts/index.rst
index 2d44634..9905f07 100755
--- a/docs/source/config/shortcuts/index.rst
+++ b/docs/source/config/shortcuts/index.rst
@@ -4,6 +4,12 @@ IPython shortcuts
 
 Available shortcut in IPython terminal.
 
+.. warnings::
+
+  This list is automatically generated, and may not hold all the available
+  shortcut. In particular, it may depends on the version of ``prompt_toolkit``
+  installed during the generation of this page.
+
 
 Single Filtered shortcuts
 =========================