diff --git a/docs/source/generate_commands.py b/docs/source/generate_commands.py
index <HASH>..<HASH> 100755
--- a/docs/source/generate_commands.py
+++ b/docs/source/generate_commands.py
@@ -1,7 +1,7 @@
 import sys
 import os
 HERE = os.path.dirname(__file__)
-sys.path.append(os.path.join(HERE, '..', '..', '..'))
+sys.path.insert(0, os.path.join(HERE, '..', '..'))
 from alot.commands import *
 from alot.commands import COMMANDS
 import alot.buffers
diff --git a/docs/source/generate_configs.py b/docs/source/generate_configs.py
index <HASH>..<HASH> 100755
--- a/docs/source/generate_configs.py
+++ b/docs/source/generate_configs.py
@@ -1,7 +1,7 @@
 import sys
 import os
 HERE = os.path.dirname(__file__)
-sys.path.append(os.path.join(HERE, '..', '..', '..'))
+sys.path.insert(0, os.path.join(HERE, '..', '..'))
 from alot.commands import COMMANDS
 from configobj import ConfigObj
 from validate import Validator
Fix path in docs generating scripts

The path to the present development version of alot should be prepended to
sys.path in order to shadow other versions of alot installed on the system.
Also it should be a directory from which the alot module is loadable.  That is
the root of the git repository and not one level above this.

This was overlooked in #<I>.