[Checkins] [zopefoundation/ZConfig] 7b1216: using-logging doc: factor example confs into files...

GitHub noreply at github.com
Wed Mar 8 17:12:30 CET 2017


  Branch: refs/heads/jam-doc-logging
  Home:   https://github.com/zopefoundation/ZConfig
  Commit: 7b1216f0fa626f29399d12c16e4312a8a2627691
      https://github.com/zopefoundation/ZConfig/commit/7b1216f0fa626f29399d12c16e4312a8a2627691
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-03-08 (Wed, 08 Mar 2017)

  Changed paths:
    M ZConfig/tests/test_readme.py
    A doc/root-and-child-config.conf
    A doc/simple-root-config.conf
    M doc/using-logging.rst

  Log Message:
  -----------
  using-logging doc: factor example confs into files and enable testing

This makes the file shorter (but harder to read on its own since you
can't see the example configs anymore), but it avoids repeating
ourself when we load the configuration file in the examples.

Reading from a file is a better example anyway since that's what
usually happens.

Make test_readme.py also test this.




More information about the checkins mailing list