From 7c3f5ea139506a47b12ac06f265bad4a086b90a7 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Wed, 6 Dec 2017 16:01:52 +0100
Subject: [PATCH] Use basic_config on user guide

---
 doc/framework.rst | 2 +-
 setup.py          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/framework.rst b/doc/framework.rst
index 2865435..d1e070a 100644
--- a/doc/framework.rst
+++ b/doc/framework.rst
@@ -115,7 +115,7 @@ to provide the group name of the entry points:
 .. doctest:: entry_point
 
    >>> group = 'bob.extension.test_config_load'  # the group name of entry points
-   >>> file1 = 'resource_config'  # an entry point name
+   >>> file1 = 'basic_config'  # an entry point name
    >>> file2 = 'bob.extension.data.load_config' # module name
    >>> configuration = load([file1, file2], entry_point_group=group)
    >>> print("a = %d \nb = %d"%(configuration.a, configuration.b)) # doctest: +NORMALIZE_WHITESPACE
diff --git a/setup.py b/setup.py
index 74e2f1f..17c6f0b 100644
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,7 @@ setup(
       ],
       # some test entry_points
       'bob.extension.test_config_load': [
+        'basic_config = bob.extension.data.basic_config',
         'resource_config = bob.extension.data.resource_config',
       ],
     },
-- 
GitLab