From 63dd1d4f34c1cee129e44ca0ed99b864fee454b1 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Thu, 12 Oct 2023 21:43:38 +0800 Subject: [PATCH] Add donate info and fix docs logo --- README.md | 7 +++++++ docs/_templates/sidebarintro.html | 14 ++++++++++++-- docs/conf.py | 5 +++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28cb289..da0f9dd 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ CKEditor integration for Flask, including image upload, code syntax highlighting * [Examples](https://github.com/helloflask/flask-ckeditor/tree/master/examples) +## Donate + +If you find Flask-CKEditor useful, please consider +[donating today](https://opencollective.com/flask-ckeditor/donate). Your donation keeps +Flask-CKEditor maintained and updated with CKEditor. + + ## License This project is licensed under the MIT License (see the `LICENSE` file for details). diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 72eeaca..5505425 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -6,10 +6,20 @@

About

+

Donate

+ +

If you find Flask-CKEditor useful, please consider donating today:

+ + + + + +

Your donation keeps Flask-CKEditor maintained and updated with CKEditor.

+

Useful Links

diff --git a/docs/conf.py b/docs/conf.py index feafbef..82db5a3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -84,7 +84,7 @@ # documentation. # html_theme_options = { - 'github_user': 'greyli', + 'github_user': 'helloflask', 'index_logo': 'flask-ckeditor.png', 'github_fork': 'helloflask/flask-ckeditor', } @@ -111,7 +111,8 @@ # Output file base name for HTML help builder. htmlhelp_basename = 'Flask-CKEditordoc' - +html_favicon = '_static/bootstrap-flask-favicon.png' +html_logo = '_static/flask-ckeditor-small.png' # -- Options for LaTeX output ------------------------------------------------