Complexity

Latest version: v0.9.1

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

Scan your dependencies

Page 1 of 3

0.9.1

++++++++++++++++++

* Depend on Jinja2 >= 2.4, not == 2.7.

0.9.0

++++++++++++++++++

* CONFIG CHANGE: Configuration is now via a `complexity.yml` file inside the
project, instead of a `complexity.json` file.
* Support for an `unexpanded_templates` config option (23).
* Support for non-HTML files in `templates/` (or whatever you set
`templates_dir` to be).

See http://complexity.readthedocs.org/en/latest/advanced_usage.htmlconfig-using-complexity-yml
for more info.

0.8.0

++++++++++++++++++

* USAGE CHANGE: At the command line, Complexity no longer takes an output_dir
argument. It now assumes that your output_dir is `www/` by default, but you
can customize it in `complexity.json`.
* Support for configuration via `complexity.json`: you can specify any or all
of the following key/value pairs:

- `output_dir`
- `templates_dir`
- `assets_dir`
- `context_dir`

See http://complexity.readthedocs.org/en/latest/advanced_usage.htmlconfig-using-complexity-json
for more info.

0.7

++++++++++++++++

A couple of small but important renames. If you rely on either of the following
defaults, you will need to rename them in your Complexity project.

* Directory parameter for .json files to be turned into context data has been
renamed from `json_dir` to `context_dir`.
* Default context directory value `json/` has been changed to `context/`.

Sometimes you want your .json files to be turned into context variables, and
sometimes you don't. This rename alleviates confusion when working with
non-context .json files.

0.6

++++++++++++++++

* Support for multi-level template directories. (Upgrade to at least 0.6 if
you want to have folders within folders and beyond in `templates/`.)
* Skip non-HTML files in `templates/` rather than raising `NonHTMLFileException`.

0.5

++++++++++++++++

* Improved static site generation API - better parameters are used.
* Files in the root of `assets/` (or the asset directory) now get copied over to the output.
* Much more documentation.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.