Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add myst_heading_anchors option #972

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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