A community-maintained Python framework for creating mathematical animations.
Make it so that the config module is reachable, as _config. This is used e.g. in the docs. This also fixes an image path in docs/source/contributing.md.
leotrs2c94a5c7925f
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 323a9c092..7e44f2461 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -26,20 +26,20 @@ steps:3. Make sure you can reproduce the issue, i.e. that you have some code thatillustrates the bug **every time** (or at least most of the time) it isexecuted.-+4. Make sure to clarify what behavior you expected, and how the actual behaviordiffers from your expectation.5. Make sure to gather information about your environment, such as youroperating system, python version, and any stack traces that the code mayhave generated (if applicable).-+4. Please open an issue only after you have gathered this information. Whensubmitting an issue, make sure to follow the template (this is the defaulttext you are shown when first opening the 'New Issue' page). A communitymember will (hopefully) respond and start a conversation to address theissue.-+7. Please give the community a reasonable amount of time before asking again,or insisting on your issue. Keep in mind that everyone is a volunteer. Ifyou wait for a reasonable amount of time and you receive no response, feel@@ -84,7 +84,7 @@ confusing. Here is a short guide on how to do it.```shgit checkout -b <branch-name> upstream/master```-+If you are starting a new branch, execute```shgit checkout -b <new_branch-name>@@ -125,7 +125,7 @@ confusing. Here is a short guide on how to do it.instead of `3b1b/manim` as the `base repository` and your fork and branch as`head repository` - see the picture below.- + Once again, please make sure to follow the template (this is the defaulttext you are shown when first opening the 'New Pull Request' page)@@ -180,7 +180,7 @@ yet-to-be-implemented changes, please mark your PR as a draft.[these general guidelines](https://conventionalcomments.org/). Similarly,when crafting commit messages, it is highly recommended that you adhere to[these guidelines](https://www.conventionalcommits.org/en/v1.0.0/).-+6. If you find stale or inactive issues that seem to be irrelevant, please posta comment saying 'This issue should be closed', and a community developerwill take a look.diff --git a/docs/source/reference.rst b/docs/source/reference.rstindex 8c252b422..a329230de 100644--- a/docs/source/reference.rst+++ b/docs/source/reference.rst@@ -64,7 +64,7 @@ List of Modules.. autosummary:::toctree: reference- config+ _configconstantscontainerdiff --git a/manim/__init__.py b/manim/__init__.pyindex 2cd335ebb..ea5e67915 100644--- a/manim/__init__.py+++ b/manim/__init__.py@@ -1,7 +1,13 @@#!/usr/bin/env python-# Importing config should be the first thing since other modules use it++# Importing the config module should be the first thing we do, since other+# modules depend on the global config dict for initialization. Note that the+# global config dict is called 'config', just like the module itself. That's+# why we import the module first with a different name, and then the dict.+from . import config as _configfrom .config import config+from .constants import *from .animation.animation import *