2024-09-27 07:05:22 +00:00
|
|
|
From 50cd36c2156d375a6d50f661908b460fbbd22e78 Mon Sep 17 00:00:00 2001
|
2024-05-22 07:41:45 +00:00
|
|
|
From: Nikita Popov <npopov@redhat.com>
|
|
|
|
Date: Wed, 22 May 2024 09:39:26 +0200
|
|
|
|
Subject: [PATCH] Remove myst_parser dependency for RHEL
|
|
|
|
|
|
|
|
---
|
|
|
|
clang/docs/conf.py | 3 +--
|
2024-09-27 07:05:22 +00:00
|
|
|
llvm/docs/conf.py | 5 +----
|
|
|
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
2024-05-22 07:41:45 +00:00
|
|
|
|
|
|
|
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
|
|
|
|
index 4cee382a718f..d2e2198e05d4 100644
|
|
|
|
--- a/clang/docs/conf.py
|
|
|
|
+++ b/clang/docs/conf.py
|
|
|
|
@@ -43,8 +43,7 @@ try:
|
|
|
|
|
|
|
|
extensions.append("myst_parser")
|
|
|
|
except ImportError:
|
|
|
|
- if not tags.has("builder-man"):
|
|
|
|
- raise
|
|
|
|
+ pass
|
|
|
|
|
|
|
|
|
|
|
|
# The encoding of source files.
|
|
|
|
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py
|
2024-09-27 07:05:22 +00:00
|
|
|
index d9fa6961032b..e38c009a457d 100644
|
2024-05-22 07:41:45 +00:00
|
|
|
--- a/llvm/docs/conf.py
|
|
|
|
+++ b/llvm/docs/conf.py
|
2024-09-27 07:05:22 +00:00
|
|
|
@@ -36,10 +36,7 @@ try:
|
2024-05-22 07:41:45 +00:00
|
|
|
|
|
|
|
extensions.append("myst_parser")
|
|
|
|
except ImportError:
|
|
|
|
- if not tags.has("builder-man"):
|
|
|
|
- raise
|
2024-09-27 07:05:22 +00:00
|
|
|
-else:
|
|
|
|
- myst_enable_extensions = ["substitution"]
|
2024-05-22 07:41:45 +00:00
|
|
|
+ pass
|
|
|
|
|
|
|
|
# Automatic anchors for markdown titles
|
2024-09-04 13:14:42 +00:00
|
|
|
myst_heading_anchors = 6
|
2024-05-22 07:41:45 +00:00
|
|
|
--
|
2024-09-04 13:14:42 +00:00
|
|
|
2.46.0
|
2024-05-22 07:41:45 +00:00
|
|
|
|