Skip to content

[lldb][man][nfc] Don't register a markdown parser when building man packages #98420

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

Merged
merged 3 commits into from
Jul 11, 2024
Merged
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
15 changes: 9 additions & 6 deletions lldb/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@

autodoc_default_options = {"special-members": True}

# The suffix of source filenames.
source_suffix = {
".rst": "restructuredtext",
}

# Unless we only generate the basic manpage we need the plugin for generating
# the Python API documentation.
if not building_man_page:
Expand All @@ -83,15 +88,13 @@
# a list of builtin themes.
html_theme = "furo"

# Since man pages do not use markdown, we do not need to register a markdown
# parser.
source_suffix[".md"] = "markdown"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

# The suffix of source filenames.
source_suffix = {
".rst": "restructuredtext",
".md": "markdown",
}

# The encoding of source files.
# source_encoding = 'utf-8-sig'

Expand Down
Loading