Skip to content

Commit 9dffad3

Browse files
authored
Add myst_heading_anchors option (#972)
* chore: add myst-parser-heading * chore: bump version
1 parent a3a7f66 commit 9dffad3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

extensions/sphinx-scylladb-markdown/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
author="David Garcia",
1616
author_email="[email protected]",
1717
url="https://github.com/scylladb/sphinx-scylladb-theme",
18-
version="0.1.2",
18+
version="0.1.3",
1919
install_requires=[
2020
"sphinx >= 2.1",
2121
"recommonmark == 0.7.1",

extensions/sphinx-scylladb-markdown/sphinx_scylladb_markdown/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from recommonmark.transform import AutoStructify
44

5-
__version__ = "0.1.2"
5+
__version__ = "0.1.3"
66

77
class BaseParser:
88
def __init__(self, app):
@@ -30,6 +30,7 @@ def setup(self):
3030
try:
3131
self.app.setup_extension('myst_parser')
3232
self.app.config.myst_enable_extensions = ["colon_fence"]
33+
self.app.config.myst_heading_anchors = 6
3334

3435
except ImportError:
3536
raise RuntimeError("myst-parser is not installed")

0 commit comments

Comments
 (0)