From eb47b09a42ba8333ee02c868e8310ab1488ffc08 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sat, 11 May 2024 09:30:28 +0800 Subject: [PATCH] doc: remove badge section in README --- README.md | 17 ----------------- includes/sample.jinja | 18 ------------------ 2 files changed, 35 deletions(-) diff --git a/README.md b/README.md index 436d64e9..4776ad7a 100644 --- a/README.md +++ b/README.md @@ -94,23 +94,6 @@ pipx install pre-commit==3.7.0 5. That's it! Feel free to focus on the coding within `src` folder. -## 🛡 Badge - -Badge for markdown: - -```markdown -[![Serious Scaffold Python](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json)](https://serious-scaffold.github.io/ss-python) -``` - -Badge for restructuredtext: - -```restructuredtext -.. image:: https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json - :target: serious-scaffold.github.io/ss-python -``` - -It will look like this: [![Serious Scaffold Python](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json)](https://serious-scaffold.github.io/ss-python) - ## 📜 License MIT License, for more details, see the [LICENSE](https://github.com/serious-scaffold/ss-python/blob/main/LICENSE) file. diff --git a/includes/sample.jinja b/includes/sample.jinja index 6b6b948b..5c73b342 100644 --- a/includes/sample.jinja +++ b/includes/sample.jinja @@ -1,6 +1,4 @@ [% macro readme_content() -%] -[% from pathjoin("includes", "variable.jinja") import logo_badge with context -%] -[% from pathjoin("includes", "variable.jinja") import logo_badge_url with context -%] [% from pathjoin("includes", "variable.jinja") import page_url with context -%] [% from pathjoin("includes", "variable.jinja") import repo_url with context -%] [![{{ project_name }}](https://{{ page_url() }}/_static/images/logo.svg)](https://{{ repo_url() }}) @@ -75,20 +73,4 @@ pipx install pre-commit==3.7.0 5. That's it! Feel free to focus on the coding within `src` folder. -## 🛡 Badge - -Badge for markdown: - -```markdown -{{ logo_badge() }} -``` - -Badge for restructuredtext: - -```restructuredtext -.. image:: {{ logo_badge_url() }} - :target: {{ page_url() }} -``` - -It will look like this: {{ logo_badge() }} [%- endmacro %]