Genja

Latest version: v24.3

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

Scan your dependencies

Page 1 of 2

24.3

Added

- A Makefile for running various project command line tools
- Sphinx for generating documentation which is hosted with Read the Docs
- A `genja clean` command to remove all HTML files and feed.json in the output directory

24.2

Added

- The `meta["url"]` is now available for page templates. This provides the URL for the page which can be used in things like [Open Graph](https://www.opengraph.xyz) meta tags.
- Example includes Open Graph meta tags in head section

23.12

Added

- A `recents` variable for the index template. This can be used to create a list on the home page for recent articles. See the example for a demonstration.

Changed

- Change from flake8 to ruff for linting and formating

23.3

Breaking changes are in this release so please upgrade from previous versions.

Added

- The `genja serve` command now runs a local server using the livereload package. This will automatically reload the website in the browser when changes to the Markdown files are saved.

Changed

- Folders in the input directory are considered categories instead of sections. Consequently, the index template must use the `page.category` variable instead of `page.section`.

23.2

Fixed

- In the example, use relative paths in Markdown and HTML templates
- Ensure relative paths are used within genja

Removed

- Remove the repo_name item from the config.json

23.1

Breaking changes in this release. Please upgrade from the previous version.

Added

- Configuration file `config.json` that defines the base URL, repository name, input directory, and output directory
- JSON feed to allow people to subscribe to the website
- Server for viewing the website in the default web browser

Changed

- Command line arguments are now `build` and `serve`

Removed

- Command line arguments `input` and `output`

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.