Pagegen

Latest version: v3.13.1

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

Scan your dependencies

Page 1 of 3

3.13.0

Added

- Added serve single page for previewing a page without building the entire site. Usage: pgn --serve <environment> --page <path to page>

Fixed

- Hide MarkupResemblesLocatorWarning from beautyfuilsoup

Changed

- Added new markup to convo ([left_here], [avatar]:<emoji or html img tag>, [name]:<Left name>, and reactions [<|>]<reactions/emojies> msg

3.12.1

Changed

- Removed match case to make script portable to >3.10 Python versions

Added

- Color (Ansi escape codes) in warning, notice and error messages

3.12.0

Added

- Markdown conversation markup extension <convo>

3.11.2

Changed

- Builtin shortcode image resizes within dimensions given, but now also maintaining aspect ratio. Images smaller than given dimensions are kept as is and there is now padding added to the image
- Page publish header can be set to either yyyy-mm-dd date or string False to disable publishing


Fixed

- authors.conf now works
- Installation of reStructuredText (pip install[rst]) fixed

3.11.0

Changed

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

Fixed

- Hot reload from browser now works again
- Build fail due to missing report_error import
- Refactoring (removed some imports)

Removed

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

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.