To install the latest version of portray simply run:
pip3 install portray
OR
poetry add portray
OR
pipenv install portray
see the Installation QuickStart for more instructions.
- dropped Python 3.7 support
- upgraded pdocs and other sub dependencies
- several small fixes
- mkdocs version bump and compatibility fix for 1.2.x
- Updated minimum version of mkdocs material to 7.0.0 to address security concerns on earlier versions.
- Fix incompatibility with latest version of mkdocs and portray on github pages command.
- Bump minimum version of pdocs as it has a bug rendering some doc strings.
- Fixed issue #60: Portray in_browser ignores port.
- Fixed issue #63: Custom "output_dir" ignored in pyproject.toml config.
- Added support for live reload.
- Added support for Google and Numpy doc string formats.
- Upgraded mkdocs-material & pymdown-extensions
- Bump pdocs dependency to include some package inclusion improvements.
- Speed up doc copying by only copying markdown files.
- Fixed Issue 43 - Automatically remap
-
to_
when attempting to auto-determine module name. - Added
extra_markdown_extensions
config option, to enable adding markdown extensions without having to redefine default set included by portray.
- Potentially backward compatibility breaking performance optimization: portray now only renders root project files + the specified documentation directory + any specified extra_dirs.
If a previously utilized file used to be auto included, but is no longer, you can force its inclusion by adding its directory to
extra_dirs.
For many projects, this change results in a significantly smaller output size and significantly faster documentation generation. - Implemented Issue 31 - Improved repository auto-discovery and formatting.
- Fixed Issue 33 - Improving usability and documentation of nav customization.
- Added many additional test cases - Reaching 100% test coverage.
- Added indicators that let users know what step is occurring during documentation generation.
- Fixed Issue 23 - A confirmed regression from moving to
pdocs
that caused root modules to not be auto included.
- Fixed a bug specifying the output dir for
as_html
command from the command line. - Updated to use Python3.6+ style variable annotations.
- Fixed a bug specifying modules from command line when no configuration file is present.
- General improvements to reference code documentation rendering
Potentially breaking dependency change release from pdoc3 to pdocs.
pyproject.toml
config section changes from[tool.portray.pdoc3]
to[tool.portray.pdocs]
- Type annotations are no longer toggleable but are rather always on.
Minor Feature release w/ Bug Fixes
- Added support for specifying modules directly from the CLI and API.
- Added auto module detect for simple setup.py files.
- Improved CLI subcommand documentation.
- Implemented Issue 12 - Clarify what a "project" is in documentation.
- Fixed Issue 2 - UnicodeEncodeError except when running portray.
- Fixed Issue 10 - Class methods rendered incorrectly.
- Fixed Issue 17 - Portray silently requires README.md file.
Bug fix release
- Fixed Issue 6 - Failed to open web-browser on startup.
- Fixed Issue 5 - Some links are missing a trailing slash.
- Fixed Issue 4 - Class references generate large code block.
Big thanks to Marcel Hellkamp (@defnull) for fixing these issues.
Initial API stable release of portray