You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from zope.configuration import config
>>> print(config.IDirectiveInfo['schema'].getDoc())
Directive handler
The dotted name of the directive handler
:Implementation: :class:`zope.configuration.config.DirectiveSchema`
:Read Only: False
:Required: True
:Default Value: None
.. rubric:: Value Type
:Implementation: :class:`zope.schema.InterfaceField`
:Read Only: False
:Required: True
:Default Value: None
Which produces a warning: (though the documentation is still printed):
$ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/htmlRunning Sphinx v1.8.1loading pickled environment... donebuilding [mo]: targets for 0 po files that are out of datebuilding [html]: targets for 0 source files that are out of dateupdating environment: [] 0 added, 2 changed, 0 removedreading sources... [100%] api/zopeconfiguredocstring of zope.configuration.config.IDirectiveInfo.schema:9: WARNING: Field list ends without a blank line; unexpected unindent.
The text was updated successfully, but these errors were encountered:
…present
Jason Madden (11):
Back to development: 4.8.1
Document IFromBytes in Sphinx.
Merge pull request #73 from zopefoundation/doc-IFromBytes
Make NativeString[Line] into distinct types.
Fix Field.getDoc() when value_type or key_type are present
Merge pull request #75 from zopefoundation/issue74
Merge pull request #77 from zopefoundation/issue76
Make DottedName accept leading underscores.
Add change note. [skip ci]
Merge pull request #78 from zopefoundation/dottedname_allow_underscore
Preparing release 4.9.0
4.9.0 (2018-09-24)
==================
- Make ``NativeString`` and ``NativeStringLine`` distinct types that
implement the newly-distinct interfaces ``INativeString`` and
``INativeStringLine``. Previously these were just aliases for either
``Text`` (on Python 3) or ``Bytes`` (on Python 2).
- Fix ``Field.getDoc()`` when ``value_type`` or ``key_type`` is
present. Previously it could produce ReST that generated Sphinx
warnings. See `issue 76 <https://github.com/zopefoundation/zope.schema/issues/76>`_.
- Make ``DottedName`` accept leading underscores for each segment.
- Add ``PythonIdentifier``, which accepts one segment of a dotted
(NEWS truncated at 15 lines)
Noticed in zope.configuration:
Which produces a warning: (though the documentation is still printed):
The text was updated successfully, but these errors were encountered: