Pagegen

Latest version: v4.0.0

Safety actively analyzes 714772 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

4.0.0

New major version supports incremental building, caching of build process and has a plugin architecture.

Previous sites will need significant changes, probably rewrites/ tor work with this version.

3.11.0

Added

- extras/_pagegen_bash_completion
- If fzy or fzf installed calling pagegen command with no arguments gives list of content files to choose for editing
- Calling pagegen with a single path will create the path if not existing and open it for editing
- Plugin for vim, extras/vim-plugin. Copy this directory to ~/.vim/pack/plugins/start/pagegen to start using. Complete tags, open files etc, see extras/vim-plugin/doc/pagegen.txt for help
- Major refactor of modules for looser coupling


Changed

- Pagegen command renamed to pgn!!
- Markdown is now default markup, must specify in page headers 'Markup: rst' to use reStructuredText


Fixed

- Sitemap exclude header must now be set explicitly in all pages, it is no longer inherited by the page children
- Page header 'Strip extension' now is only applied if header 'Preserve file name' is False
- Search now indexes search terms that are alphanumeric, previously only alpabetic search terms where index
- Double dashes(--) in url are replaced with a single dash (-)
- Hot reload from browser now works again
- Build fail due to missing report_error import
- Refactoring (removed some imports)


Removed

- SASS support has been removed, CSS ftw

3.9.2

Added

- extras/_pagegen_bash_completion
- If fzy or fzf installed calling pagegen command with no arguments gives list of content files to choose for editing
- Calling pagegen with a single path will create the path if not existing and open it for editing
- Plugin for vim, extras/vim-plugin. Copy this directory to ~/.vim/pack/plugins/start/pagegen to start using. Complete tags, open files etc, see extras/vim-plugin/doc/pagegen.txt for help
- Major refactor of modules for looser coupling

Fixed

- Sitemap exclude header must now be set explicitly in all pages, it is no longer inherited by the page children
- Page header 'Strip extension' now is only applied if header 'Preserve file name' is False
- Search now indexes search terms that are alphanumeric, previously only alpabetic search terms where index
- Double dashes(--) in url are replaced with a single dash (-)

Removed

- SASS support has been removed, CSS ftw

3.8.5

Added

- strip_extensions site.conf setting removes defined file extensions in generated output. Extensions may be comma separated
- Better error message when two or more Tags are used with differing capitalization
- Tag count available in site.tags dict
- Option index_backlinks, if True site.backlinks becomes available in templates, use site.backlinks[page.base_url] to list all pages that link to page
- Error message now contains file that caused template rendering to fail

Fixed

- pagegen command line argument --production <version> now works, fixes https://github.com/oliverfields/pagegen/issues/14
- If using strip extensions and filenames had no extensions, would fail
- Page titles containing \ are now properly escaped in search-index
- Page next and previous links bug where if parent was excluded, none of its children where included either

3.8.0

Removed

- Page Category functionality, it was basically same as tags, so removed duplicate code

Fixed

- Incompatibility with markdown version after 3.3.6, so locked pip package to last known working version. Fixes https://github.com/oliverfields/pagegen/issues/15

3.7.2

Fixed

- Parsing of headers in files now work with values containing colons

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.