Skip to content

Commit b25ba35

Browse files
committed
🚀 RELEASE: v0.13.5
1 parent 9372cf8 commit b25ba35

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.13.5 - 2021-02-15
4+
5+
- ⬆️ UPGRADE: required markdown-it-py to `v0.6.2`:
6+
In particular, this fixes missing source line mappings for table rows and their children
7+
- 👌 IMPROVE: Store `rawtext` in AST nodes:
8+
We now ensure that the raw text is propagated from the Markdown tokens to the Sphinx AST.
9+
In particular, this is required by the `gettext` builder, to generate translation POT templates.
10+
Thanks to [@jpmckinney](https://github.com/jpmckinney)!
11+
- ✨ NEW: Add warning types `myst.subtype`:
12+
All parsing warnings are assigned a type/subtype, and also the messages are appended with them.
13+
These warning types can be suppressed with the sphinx `suppress_warnings` config option.
14+
See [How-to suppress warnings](docs/using/howto.md) for more information.
15+
316
## 0.13.3 - 2021-01-20
417

518
Minor fixes:

myst_parser/myst_refs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def resolve_myst_ref(
152152
res = domain.resolve_xref(
153153
self.env, refdoc, self.app.builder, role, target, node, contnode
154154
)
155-
if len(res) and isinstance(res[0], nodes.Element):
155+
if res and len(res) and isinstance(res[0], nodes.Element):
156156
results.append((f"{domain.name}:{role}", res))
157157

158158
# now, see how many matches we got...

0 commit comments

Comments
 (0)