Skip to content

Commit

Permalink
Merge pull request #6 from zyf722/develop
Browse files Browse the repository at this point in the history
chore: bump version to 0.4.1
  • Loading branch information
zyf722 authored Nov 14, 2023
2 parents f25ad84 + cc7d16d commit aff1018
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 120 deletions.
20 changes: 20 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changes

## [0.4.1] - 2023-11-14
### Added
- Add documentation page for changelog.

### Changed
- Update dependency: `Flask` >=2.3.3

## [0.4.0] - 2023-09-15
### Added
- Add dependency: `stransi` ^0.3.0
- Add documentation page on Read the Docs

### Fixed
- Fix ANSI escape codes in Werkzeug logging

### Changed
- Upgrade dependency: `rich` ^13.5.2
- Refactor and overhaul the codebase
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

intersphinx_mapping = {
"python": ("http://docs.python.org/3", None),
"flask": ("https://flask.palletsprojects.com/en/latest", None),
"flask": ("https://flask.palletsprojects.com/en/3.0.x/", None),
"rich": ("https://rich.readthedocs.io/en/latest", None),
"werkzeug": ("https://werkzeug.palletsprojects.com/en/latest", None),
"werkzeug": ("https://werkzeug.palletsprojects.com/en/3.0.x/", None),
}

autodoc_typehints = "description"
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ Flask-Rich is a Flask extension that implements the [Rich](https://pypi.org/proj
configuration.md
flask-commands.md
reference.md
changelog.md
```
2 changes: 1 addition & 1 deletion docs/source/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def create_app:
return app
```

After registering, the `RichApplication` class shall do all the work for you. Just use the Flask {py:attr}`flask.Flask.logger` object to log rich texts.
After registering, the {py:class}`~flask_rich.core.RichApplication` class shall do all the work for you. Just use the Flask {py:attr}`flask.Flask.logger` object to log rich texts.
Loading

0 comments on commit aff1018

Please sign in to comment.