diff --git a/docs/config/all.py b/docs/config/all.py
index <HASH>..<HASH> 100644
--- a/docs/config/all.py
+++ b/docs/config/all.py
@@ -32,7 +32,7 @@ languages = ['en', 'es', 'fr']
 
 # The GitHub branch name for this version of the docs
 # for edit links to point at.
-branch = 'master'
+branch = '2.x'
 
 # Current version being built
 version = '2.x'
Fix edit docs links pointing to non-existent branch.