Skip to content

Commit

Permalink
🚀 RELEASE: v0.13.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Feb 15, 2021
1 parent 9372cf8 commit b25ba35
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog

## 0.13.5 - 2021-02-15

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

## 0.13.3 - 2021-01-20

Minor fixes:
Expand Down
2 changes: 1 addition & 1 deletion myst_parser/myst_refs.py
Expand Up @@ -152,7 +152,7 @@ def resolve_myst_ref(
res = domain.resolve_xref(
self.env, refdoc, self.app.builder, role, target, node, contnode
)
if len(res) and isinstance(res[0], nodes.Element):
if res and len(res) and isinstance(res[0], nodes.Element):
results.append((f"{domain.name}:{role}", res))

# now, see how many matches we got...
Expand Down

0 comments on commit b25ba35

Please sign in to comment.