Skip to content

Commit c6dfc15

Browse files
Disable rendering doc examples for experimental branch (#3475)
* add MANIM_SKIP_EXAMPLES env variable, disable rendering for this branch * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * try using predefined env variable * what * env vars don't work * skip based on PR numbers * Apply suggestions from code review --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9b98fe5 commit c6dfc15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manim/utils/docbuild/manim_directive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def run(self):
166166
should_skip = (
167167
"skip-manim" in self.state.document.settings.env.app.builder.tags.tags
168168
or self.state.document.settings.env.app.builder.name == "gettext"
169+
or os.getenv("READTHEDOCS_VERSION_NAME", None) in ["3112", "3475"]
169170
)
170171
if should_skip:
171172
node = SkipManimNode()

0 commit comments

Comments
 (0)