Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

some quick fixes so that the docs build without warnings

leotrs53b2d38a8b42
diff --git a/docs/source/installation/win.rst b/docs/source/installation/win.rst
index 3a954c90a..4b89336db 100644
--- a/docs/source/installation/win.rst
+++ b/docs/source/installation/win.rst
@@ -38,7 +38,7 @@ Cairo installation
6. Alternatively, running the command below installs pycairo. This needs to be
run in an elevated command prompt like Powershell.
- .. code-block:: powershell
+ .. code-block:: bash
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/ManimCommunity/manim/master/scripts/pycairoinstall.py -UseBasicParsing).Content | py -3
@@ -86,13 +86,13 @@ Using TinyTex
.. note:: Please note that it requires PowerShell (at least version 3.0).
-2. Double click the file and it opens a command prompt. There might be an error
+2. Double click the file and it opens a command prompt. There might be an error
dialog or two about ``luatex.dll`` during the installation `(like this)
<https://db.yihui.org/images/install-tl-win-lua.png>`_, but that does not seem to hurt, and click “OK”. The installation directory is ``%APPDATA%/TinyTeX``, where APPDATA is an environment variable that typically points to the path ``C:\Users\Your Name\AppData\Roaming``
3.Finally, close the terminal and open a new one and type the below commands.
-.. code-block:: powershell
+.. code-block:: bash
tlmgr install standalone preview doublestroke ms setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english
diff --git a/manim/camera/three_d_camera.py b/manim/camera/three_d_camera.py
index 79b3f908a..1bf1668ab 100644
--- a/manim/camera/three_d_camera.py
+++ b/manim/camera/three_d_camera.py
@@ -380,12 +380,12 @@ class ThreeDCamera(Camera):
def remove_fixed_orientation_mobjects(self, *mobjects):
"""If a mobject was fixed in its orientation by passing it through
- `self.add_fixed_orientation_mobjects`, then this undoes that fixing.
+ :meth:`.add_fixed_orientation_mobjects`, then this undoes that fixing.
The Mobject will no longer have a fixed orientation.
- Parameters:
- -----------
- *mobjects : Mobject
+ Parameters
+ ----------
+ mobjects : :class:`Mobject`
The mobjects whose orientation need not be fixed any longer.
"""
for mobject in self.extract_mobject_family_members(mobjects):
@@ -394,12 +394,12 @@ class ThreeDCamera(Camera):
def remove_fixed_in_frame_mobjects(self, *mobjects):
"""If a mobject was fixed in frame by passing it through
- `self.add_fixed_in_frame_mobjects`, then this undoes that fixing.
+ :meth:`.add_fixed_in_frame_mobjects`, then this undoes that fixing.
The Mobject will no longer be fixed in frame.
- Parameters:
- -----------
- *mobjects : Mobject
+ Parameters
+ ----------
+ mobjects : :class:`Mobject`
The mobjects which need not be fixed in frame any longer.
"""
for mobject in self.extract_mobject_family_members(mobjects):