mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
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>
This commit is contained in:
parent
9b98fe5af2
commit
c6dfc1583b
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ class ManimDirective(Directive):
|
|||
should_skip = (
|
||||
"skip-manim" in self.state.document.settings.env.app.builder.tags.tags
|
||||
or self.state.document.settings.env.app.builder.name == "gettext"
|
||||
or os.getenv("READTHEDOCS_VERSION_NAME", None) in ["3112", "3475"]
|
||||
)
|
||||
if should_skip:
|
||||
node = SkipManimNode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue