API Documentation and Component Inspection for Zope 3
This Zope 3 package provides fully dynamic API documentation of Zope 3 and registered add-on components. The package is very extensible and can be easily extended by implementing new modules.
Documentation is available at https://zopeappapidoc.readthedocs.io/
Drop support for Python 2.7, 3.5, 3.6.
Add support for Python 3.11.
Add support for Python 3.8, 3.9 and 3.10.
Drop support for Python 3.4.
Add support for Python 3.7.
The root Code documentation node no longer allows incidental traversal and documentation of unregistered root modules such as re and logging (builtins is special cased). These were not listed in the tables of contents or menus, and mostly served to slow down static exports. To document a root module, explicitly include it in ZCML with <apidoc:rootModule module="MODULE" />. See issue #20.
Fix codemodule.Module for modules that have a __file__ of None. This can be the case with namespace packages, especially under Python 3.7. See issue #17.
Rendering documentation for a class that has a __doc__ property no longer fails but produces a descriptive message. See issue 16.
Host documentation at https://zopeappapidoc.readthedocs.io/
Add argument to static-apidoc for loading a specific ZCML file. To use this feature, the ZCML file you specify needs to establish a working Zope 3 publication environment. The easiest way to do so is to include this line in the ZCML: <include package='zope.app.apidoc' file='static.zcml' condition='have static-apidoc' />. See PR #13.
Class Finder entries in live apidoc are now displayed on separate lines, like in static exports. See PR #14.
Class Finder search in static exports will search on Enter, not just when clicking “Find”. See PR #15.
__main__.py files are no longer imported by the code documentation module. See issue #22.
Cython functions registered as adapters on Python 2 no longer break page generation with an AttributeError. See issue 25.
Static exports no longer highlight lines in ZCML files. See issue #24.
Add support for Python 3.4, 3.5, 3.6 and PyPy.
The long-deprecated layer configuration was removed. It was only ever available if the deprecatedlayers ZCML feature was installed.
Modernize some of the templates. zope.app.apidoc can now be used with Chameleon 3.2 via z3c.pt and z3c.ptcompat.
Declared install dependency on zope.app.exception.
Docstrings are treated as UTF-8 on Python 2.
Handle keyword only arguments and annotations in function signatures on Python 3.
Change the default documentation format to restructuredtext for modules that do not specify a __docformat__. Previously it was structuredtext (STX).
Define __file__ in doctests to make them pass under Python 2.4.
Prefer the standard library’s doctest module to the one from zope.testing.
Remove unneeded dependencies zope.app.component and zope.app.container
Apply refactoring from #153309.
Fix LP bug 605057: ZCML links were no longer working (Guilherme Salgado)
Adapted tests for Python2.4
Updated tests to work with zope.publisher 3.12 (using zope.login).
Updated tests to work with latest zope.testing and use zope.browserpage in favor of zope.app.pagetemplate.
Updated the tests after moving IPossibleSite and ISite to zope.component.
Updated the tests after moving ITraverser back to zope.traversing.
Made the tests work again with the most recent Zope Toolkit KGS.
Update documentation file in zope.site from README.txt to site.txt.
The IContained interface moved to zope.location.interfaces. Make a test pass.
Explicitly defined default views.
Replace relative url links with absolute ones.
Added z3c packages to the code browser.
Made bin/static-apidoc principally working (publisher and webserver mode). There are still some files which are not correctly fetched.
Adapt principal registry book chapter to a new place, as it was moved from zope.app.security to zope.principalregistry.
Remove zcml slugs and old zpkg-related files.
When a module provides an interface or has an __all__ attribute, use one of those for the module documentation. Fixes LP #323375.
Undid broken link to savepoint.txt caused in 3.6.0. The latest version of the transaction package puts savepoint.txt in the tests subpackage.
Expanded the presentation of module documentation.
Class documentation now includes constructor information.
Use zope.container instead of zope.app.container.
Use zope.site instead of zope.app.component and zope.app.folder (in at least a few places).
savepoint.txt moved from ZODB’s test directory a level up – we follow.
Make compatible with new zope.traversing and zope.location.
Adapted transaction book chapters for new transaction egg. The README.txt was removed and savepoint.txt was moved. Also add chapter about dooming transactions (doom.txt).
Changed mailing list address to zope-dev at zope.org, because zope3-dev is retired now.
Cleaned up dependencies.
Avoid deprecation warnings for ZopeMessageFactory.
Avoid deprecation warnings.
Improved package meta-data.
Fixed the code to at least gracefully ignore unzipped eggs. Eventually we want to handle eggs well.
Initial release independent of the main Zope tree.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for zope.app.apidoc-5.0-py3-none-any.whl