From d6057008068c339c811efc8ea3d78fe6776f88d6 Mon Sep 17 00:00:00 2001 From: Godefroid Chapelle Date: Tue, 14 May 2019 10:49:36 +0200 Subject: [PATCH] Polish --- docs/zdgbook/GettingStarted.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/zdgbook/GettingStarted.rst b/docs/zdgbook/GettingStarted.rst index 78323febee..2218686318 100644 --- a/docs/zdgbook/GettingStarted.rst +++ b/docs/zdgbook/GettingStarted.rst @@ -158,7 +158,7 @@ code to ``src/poll/__init__.py``. __import__('pkg_resources').declare_namespace(__name__) -Next, we need to add the minimum meta data required for the package +Next, we need to add the minimum metadata required for the package in `setup.py`. :: @@ -175,15 +175,15 @@ in `setup.py`. "Zope"], ) -We need to add two more files to be recognized by Zope. First, -define this call-back function in ``src/poll/main/__init__.py``. +We need to edit two more files to be recognized by Zope. First, +define the ``initialize`` callback function in ``src/poll/main/__init__.py``. :: def initialize(registrar): pass -And in the ZCML file (``src/poll/main/configure.zcml``) add these +And, in the ZCML file (``src/poll/main/configure.zcml``), add these few lines. ::