Skip to content

Commit 7362786

Browse files
committed
fix(interrogate): move interrogate badge to docs _static folder to serve on readthedocs
1 parent b0b9ff9 commit 7362786

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CHANX (CHANnels-eXtension)
2-
![Image](./interrogate_badge.svg)
2+
![Image](https://chanx.readthedocs.io/en/latest/_static/interrogate_badge.svg)
33
[![codecov](https://codecov.io/gh/huynguyengl99/chanx/branch/main/graph/badge.svg?token=X8R3BDPTY6)](https://codecov.io/gh/huynguyengl99/chanx)
44

55
The missing toolkit for Django Channels — authentication, logging, structured messaging, and more.

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Chanx provides a robust framework for building WebSocket applications in Django
66
structured messaging, and testing capabilities. It builds on Django Channels to offer a more complete
77
solution for real-time features.
88

9+
.. image:: https://chanx.readthedocs.io/en/latest/_static/interrogate_badge.svg
10+
:target: https://github.com/huynguyengl99/chanx
11+
:alt: Documentation Coverage
12+
913

1014
Key Features
1115
------------

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,10 @@ include = ["chanx"]
137137
[tool.interrogate]
138138
badge-format = "svg"
139139
color = true
140-
# example values
141140
exclude = ["build", "docs", "setup.py"]
142141
ext = []
143142
fail-under = 80
144-
# output file logation
145-
generate-badge = "."
143+
generate-badge = "docs/_static/"
146144
ignore-init-method = true
147145
ignore-init-module = true
148146
ignore-module = false

0 commit comments

Comments
 (0)