Skip to content

Commit

Permalink
Add myst_heading_anchors option (#972)
Browse files Browse the repository at this point in the history
* chore: add myst-parser-heading

* chore: bump version
  • Loading branch information
dgarcia360 authored Jan 10, 2024
1 parent a3a7f66 commit 9dffad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/sphinx-scylladb-markdown/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
author="David Garcia",
author_email="[email protected]",
url="https://github.com/scylladb/sphinx-scylladb-theme",
version="0.1.2",
version="0.1.3",
install_requires=[
"sphinx >= 2.1",
"recommonmark == 0.7.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from recommonmark.transform import AutoStructify

__version__ = "0.1.2"
__version__ = "0.1.3"

class BaseParser:
def __init__(self, app):
Expand Down Expand Up @@ -30,6 +30,7 @@ def setup(self):
try:
self.app.setup_extension('myst_parser')
self.app.config.myst_enable_extensions = ["colon_fence"]
self.app.config.myst_heading_anchors = 6

except ImportError:
raise RuntimeError("myst-parser is not installed")
Expand Down

0 comments on commit 9dffad3

Please sign in to comment.