Skip to content

Commit 9b44efe

Browse files
process docs from GHFM to mkdocs-style
1 parent fa68443 commit 9b44efe

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

docs/index.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,21 @@ Generated via docs/processor.py from README.md
1010

1111
# django-language-server
1212

13+
<!-- [[[cog
14+
import subprocess
15+
import cog
16+
17+
from noxfile import DJ_VERSIONS
18+
from noxfile import PY_VERSIONS
19+
20+
cog.outl("[![PyPI](https://img.shields.io/pypi/v/django-language-server)](https://pypi.org/project/django-language-server/)")
21+
cog.outl("![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-language-server)")
22+
cog.outl(f"![Django Version](https://img.shields.io/badge/django-{'%20%7C%20'.join(DJ_VERSIONS)}-%2344B78B?labelColor=%23092E20)")
23+
]]] -->
1324
[![PyPI](https://img.shields.io/pypi/v/django-language-server)](https://pypi.org/project/django-language-server/)
1425
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-language-server)
15-
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0%20%7C%205.1-%2344B78B?labelColor=%23092E20)
16-
<!-- https://shields.io/badges -->
17-
<!-- django-4.2 | 5.0 | 5.1-#44B78B -->
18-
<!-- labelColor=%23092E20 -->
26+
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.1%20%7C%205.2%20%7C%20main-%2344B78B?labelColor=%23092E20)
27+
<!-- [[[end]]] -->
1928

2029
A language server for the Django web framework.
2130

@@ -57,8 +66,19 @@ An editor that supports the Language Server Protocol (LSP) is required.
5766

5867
The Django Language Server aims to supports all actively maintained versions of Python and Django. Currently this includes:
5968

69+
<!-- [[[cog
70+
import subprocess
71+
import cog
72+
73+
from noxfile import DJ_VERSIONS
74+
from noxfile import PY_VERSIONS
75+
76+
cog.outl(f"- Python {', '.join([version for version in PY_VERSIONS])}")
77+
cog.outl(f"- Django {', '.join([version for version in DJ_VERSIONS if version != 'main'])}")
78+
]]] -->
6079
- Python 3.9, 3.10, 3.11, 3.12, 3.13
61-
- Django 4.2, 5.0, 5.1
80+
- Django 4.2, 5.1, 5.2
81+
<!-- [[[end]]] -->
6282

6383
See the [Versioning](#versioning) section for details on how this project's version indicates Django compatibility.
6484

0 commit comments

Comments
 (0)