Skip to content

Commit 7620bbc

Browse files
committed
Bump version
1 parent 9e2b16d commit 7620bbc

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

README.md

+26-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,30 @@ This extension is only compatible with the default VS Code [Python](https://mark
1818

1919
## Release Notes
2020

21-
### 0.2.0
21+
### v0.3.0
22+
23+
#### Changes
24+
25+
- Multi-word tag values (such as `:param int y:`) are now permitted. This is used by Sphinx autodoc to include the argument type in a single line:
26+
27+
```py
28+
def foo(x, y):
29+
"""
30+
:param int x: Argument with autodoc shorthand
31+
32+
:param y: Argument with separate type tag
33+
:type y: int
34+
"""
35+
...
36+
```
37+
38+
Both variants are correct and highlighted when using this extension.
39+
40+
#### Bug fixes
41+
42+
- Single character tag values (such as `:param x:`) are now recognized as tags
43+
44+
### v0.2.0
2245

2346
#### Changes
2447

@@ -28,14 +51,14 @@ This extension is only compatible with the default VS Code [Python](https://mark
2851

2952
- The closing colon of a Sphinx tag will now be correctly scoped as `punctuation.definition.interpreted.sphinx` ([#8](https://github.com/leonhard-s/python-sphinx-highlighter/issues/8))
3053

31-
### 0.1.1
54+
### v0.1.1
3255

3356
#### Bug fixes
3457

3558
- Parameters ending in numbers will now be highlighted properly ([#4](https://github.com/leonhard-s/python-sphinx-highlighter/issues/4))
3659
- Fixed parameters using wildcard notation (`*args`, `**kwargs`) not being recognized as sphinx tags ([#4](https://github.com/leonhard-s/python-sphinx-highlighter/issues/4))
3760
- Inline formatting will no longer be applied when the control characters are surrounded by whitespace ([#5](https://github.com/leonhard-s/python-sphinx-highlighter/issues/5))
3861

39-
### 0.1.0
62+
### v0.1.0
4063

4164
Initial release

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "python-sphinx-highlight",
33
"displayName": "Python Sphinx Highlighter",
44
"description": "Highlight Sphinx-specific markup inside Python docstrings.",
5-
"version": "0.2.0",
5+
"version": "0.3.0",
66
"publisher": "leonhard-s",
77
"engines": {
88
"vscode": "^1.50.0"

0 commit comments

Comments
 (0)