Commit graph

447 commits

Author SHA1 Message Date
Darigov Research
2cf1f17bb3
Update copyright year in documentation to 2020-2021 (#1710)
* fix: Updates year to 2021

Updates year in conf.py to correct year in the footer of the documentation.

Would resolve Issue https://github.com/ManimCommunity/manim/issues/1709 if merged

* fix: Updates year to 2020-2021 in docs
2021-06-19 17:23:46 +08:00
PaulCMurdoch
fb6fc7940c
Update examples.rst (#1708) 2021-06-19 02:07:29 +02:00
Iced-Tea3
a8d8c18e01
Added example to Colab installation documentation (#1659)
* Added Example to Colab Installation

* Included manim import

* Update docs/source/installation/colab.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>

Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-06-09 14:24:00 +08:00
Darylgolden
da40bfdc70
Update python requirement (#1658) 2021-06-09 12:28:44 +08:00
Jan-Hendrik Müller
02f66e518a
Tweak tutorial example (#1617)
* tweak example

* tweak example

Co-authored-by: Naveen M K <naveen@syrusdark.website>
2021-06-06 22:22:03 +05:30
Mehmet Ali Özer
054d91544e
docs: Fix tip content of command-line arguments (#1620)
manim -h is not valid, Try 'manim render --help' for help.
2021-06-04 01:23:13 -07:00
Nikhil Garuda
005adf48e5
Made the extension of the pull-requests picture lowercase. (#1610) 2021-06-01 09:09:43 -05:00
Benjamin Hackl
2753e97819
Preparation for v0.7.0: added changelog and bumped version number (#1601)
* bump version number

* 0.7.0 changelog, first pass

* v0.7.0 changelog, second pass

* v0.7.0 changelog, third pass

* v0.7.0 changelog, fourth pass

* v0.7.0 changelog, 5th pass

* v0.7.0 changelog, final pass
2021-06-01 16:00:42 +02:00
Laith Bahodi
8691284496
Update examples to use :class:Axes and deprecate :class:GraphScene (#1598)
* revert NumberPlane box and minor changes to other classes

* replace width in config with x_length

* fix tests

* comment out test

* get_graph label + dot mechanics

* remove graph_label from graphscene

* port over i2gp documentation + typing

* port over angle_of_tangent + docs + typing

* fix get_projection

* get_riemann rectangles + move get_graph_label

* doc changes to i2gp

* slope of tangent and get_derivative

* adjust get_axist label to allow more than mathtex

* fix dot_config

* remove default parameters from graph_get_label

* reordering + minor doc changes

* get_secant_slope_group

* get_vertical_lines_to_graph

* add_t_label converted + example + dics + portability +

* static method

* doc touchups + bugfix in get_graph

* bring back get_graph_label in graphscene

* bring back get_graph_label in graphscene pt2

* bring back get_graph_label in graphscene pt 3

* suggestions from code review + two bug fixes + documentation edits

* hardcode width_scale_factor + edits

* added docs for label methods

* fix get_graph's t_range issue, tuple issue and spam np.array in functions.py

* forgot movbject quotes + get_Graph fix

* x_range

* add defaults for coordinate_system

* oops passed x_range not t_range for get_graph

* minor docs fix + restore width_Scale_factor

* add numbers_to_include for number_line

* added get_area, bounded_graph and blend

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: none can be specified for get_area + minor changes

* forgot self.origin_shift

* bad at git

* minor change to numberline.py: defaults rounded + numbers_to_include removes need for include_numbers

* fix: get_projection actually works now

* fix typing

* precommit + missing import

* botched imports

* improve logic for add_numebrs, (maybe sets?)

* fix self.numbers_to_include and add tips parameter that makes tip removal easy

* update all examples which reference GraphScene

* fix indentation

* increase rects in example + make label white

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-05-31 12:17:15 +02:00
Jan-Hendrik Müller
0690508b58
New example for gallery and some docs refinements (#1415)
* new example to gallery

* added more cross links

* enhanced example

* removed complex example

* readded example

* Compatibility with Axes + minor changes

Minor changes:
colour of graph to MAROON
`Dot()` is now on top of curve
`np.linspace()` step increased so that it actually reaches the lowest point
dot created with `initial point` instead of `move_to`
`x_range` renamed to `x_space`

* fix indent

* forgot string oops

* Update docs/source/examples.rst

Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-05-31 09:38:52 +02:00
Nikhil Garuda
05e4556381
Copyedited Documentation (#1509)
* Finished copyedititng

* Made some more changes

* Update plugins.rst

* Fixed scoop link

* Capped the character limit to 80

* Declare *.npz *.wav *.png as binary (#1560)

* Revert "Capped the character limit to 80"

This reverts commit c7e57faea5.

* Capped the character limit to 80 again

* Made it small r

Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-05-26 17:52:09 +08:00
Nikhil Garuda
e36618a04d
Fixed the typo for Admonitions (#1551) 2021-05-21 15:35:13 +02:00
Nikhil Garuda
6a3be2797d
Restructuring of Contribution Section (#1550)
* Added Docstrings

* Added Examples

* Added references

* Added Typings

* Added Adominations

* Made some more changes for docs to work

* Fixed spelling mistake
2021-05-21 14:13:35 +02:00
Skaft
60a775714e
Adding spell checker as a pre-commit hook (#1544)
* adding codespell precommit hook

* adding codespell config file

* fixing typos

* tweaking variable names to please codespell
2021-05-21 15:43:31 +05:30
Skaft
40bfc27dd2
Fixing broken links and other minor doc things (#1541)
* fix typos

* lowercasing note admonition

* fixing broken links

* fixing title underlines being too short
2021-05-19 05:56:32 -05:00
Anton Ballmaier
15261ea65b
Fading module enhancements (#1454)
* finish draft implementation
* use @wrapss to remove docs problems
* reduce complexity and add doc deprecation
* Docs deprecated_params
* add decoratos to __init__
* Add decorators to documentation
* Finish detailed docs
* Apply suggestions from code review
Co-authored-by: Naveen M K <naveen@syrusdark.website>

* change since/until/message param docs
* Mark get_callable_info and deprecation_text_component as private
* change how until is included in warning messages
* Add The to parameter descriptions
* make params docs more readable
* make redirections docs clearer
* update dependency list
* order dependencies
* update examples
* fix dependency problem
* fix duplicate problem
* change decorator version
* updated lock file
* enhance function / method separation
* fix typo and double underscores
* rename message_ and replacement_
* Change warning to custom admonition
* remove [] as default parameters
* Remove "" around type
* fix bug and move to inspect
* doc string => docstring
* rename to deprecate
* change module docstring
* change to deprecation.py
* remove tests again
* Rename decorators.py to deprecate.py
* Update poetry.lock
* Test if deprecated class outputs the correct warning when used
* Rename deprecate to deprecation
* Shorten conditional for msg, since, util
* Specify decorator arguments in test
* Add tests for since and until as arguments
* Add test for msg argument for class
* Add test for replacement argument for class
* Remove unneeded docstring in deprecated class
* Add test for deprecate method, no args
* Update docstring examples, move deprecated method outside class
* Add test for method in class, since and message args
* Add test for deprecating nested class
* Add test for deprecated method in nested class
* Test deprecation of nested function
* Test param deprecation, only params argument
* Test deprecation of single method param
* Rename single param test method name
* Fix deprecated_params docstring whitespace
* Test parameter redirection using tuple
* Update warning msgs in deprecated_params docstring
* Test parameter redirection using lambda function
* Test param redirection from many to one
* Test param redirection from one to many
* Update Top.foo to deprecate with message
* FadeIn & FadeOut overhaul and deprecations
* Adjust examples
* Add docs
* Add simple example
* handle empty docstrings
* Update poetry.lock
* Deprecate ShowCreation using decorator to test the docs
* Test docstrings
* add examples
* Update example_scenes/basic.py

Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Ricky Chon <rickychon99@gmail.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
2021-05-15 16:23:47 +02:00
Darylgolden
2aaec7ab31
Update troubleshooting docs (#1508)
* Update troubleshooting

* link in installation docs

* change section header

* textmobject -> text and texmobject -> tex

* note

* Fix formatting

* formatting

* formatting

* section

Co-authored-by: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com>
2021-05-14 19:44:23 +05:30
Nikhil Sharma
488a177df1
Updated Discord links in the docs to point towards a standardized redirect (#1499)
* Update README.md

* updated discord links
2021-05-13 02:02:35 +02:00
Nikhil Garuda
c82f84ce7d
Update of rate_functions (#1486)
* Added a new image

* Updated the example and deleted the static image.

* Update rate_functions.py

* Update rate_functions.py

* Apply suggestions from code review

Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-05-12 15:17:06 +02:00
Raghav Goel
7737c660ef
Added Scoop installation docs (Windows) (#1440)
* fix BulletedList alignment problem

* add typing for get_module

* flippin black

* ahh black stupidly showing only one file error in the action logs.... as usual

* fix -s issue

* fix -a path issue

* Revert "fix -a path issue"

This reverts commit 44b0cc1433. Already
fixed in ManimCommunity#1134

* remove remnant of ManimCommunity/manim#1120

* Revert 675324a

* Remove extraneous whitespace

How did this slip in here again..? Anyways, done to bring local fork in line with upstream.

* Make FILE a required argument

* add scoop installation docs
2021-05-12 10:26:29 +02:00
Anton Ballmaier
71b86d5dfa
Deprecation Decorators (#1404)
* test

* revert test changes

* finish draft implementation

* use @wrapss to remove docs problems

* reduce complexity and add doc deprecation

* Docs deprecated_params

* add decoratos to __init__

* Add decorators to documentation

* Finish detailed docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestions from code review

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* change since/until/message param docs

* Mark get_callable_info and deprecation_text_component as private

* change how until is included in warning messages

* Add The to prameter descriptions

* is deprecated => has been deprecated

* Fix typo

* fix typo

* make params docs more readable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* make redirections docs clearer

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix typo

* fix typo

* fix typo

* is_are => has_have_been

* fix typo
(at this point I am questioning my ability to type prameter)

* update deprendency list

* order dependencies

* update examples

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix dependeny problem

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix duplicate problem

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* change decorator version

* updated lock file

* enhance function / method separation

* fix typo and double underscores

* rename message_ and replacement_

* Change warning to custom admonition

* remove [] as default parameters

* Remove "" around type

* fix typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix bug and move to inspect

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* doc string => docstring

* rename to deprecate

* change module docstring

* change to deprecation.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* some sugesstions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove tests again

* Rename decorators.py to deprecate.py

* Update poetry.lock

* Test if deprecated class outputs the correct warning when used

* Rename deprecate to deprecation

* Fix typos

* Shorten conditional for msg

* Shorten conditional for since

* Shorten conditional for until

* Specify decorator arguments in test

* Add tests for since and until arguments

* Add test for since and until as arguments

* Add test for msg argument for class

* Add test for replacement argument for class

* Remove unneeded docstring in deprecated class

* Add test for deprecate method, no args

* Update docstring examples, move deprecated method outside class

* Add test for method in class, since and message args

* Add test for deprecating nested class

* Add test for deprecated method in nested class

* Test deprecation of nested function

* Test param deprecation, only params argument

* Test deprecation of single method param

* Rename single param test method name

* Fix deprecated_params docstring whitespace

* Test parameter redirection using tuple

* Update warning msgs in deprecated_params docstring

* Test parameter redirection using lambda function

* Test param redirection from many to one

* Test param redirection from one to many

* Update Top.foo to deprecate with message

* handle empty docstrings

* fix typo

* Update poetry.lock

* Update poetry.lock

* Deprecate ShowCreation using decorator to test the docs

* Test docstring for deprecated class

* Test docstring for Bar and Baz classes

* Test docstrings for the rest of the classes

* Test docstrings for Top methods

* Test docstrings for Top.Nested

* Test docstring for nested method

* Move deprecations to deprecation system

* Some more deprecations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix version numbering inconsistancies

* Fix naming issue and MetaClass handling

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* restart CI

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Ricky Chon <rickychon99@gmail.com>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-05-11 08:31:55 +02:00
Anton Ballmaier
df7a2f5dfc
Build the docs - Logging (#1461)
* test

* revert test changes

* first logging changes

* fix unrelated typo

* change to logging

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Save logs to csv file for later reading it

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix makefile issues

* remove unnecessary comments

* clean up manim_directive

* fix local var bug

* Show log only if examples have been rendered

* Move controll from makefile to sphinx events

* remove added blank line

* remove rendering_summary file

* fix slight regex problem

* comment out code in question

* change encoding

* re-add code

* switch to build-finished event

* fix indentation bug

* use csv module

* Update manim/mobject/mobject.py

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update manim/mobject/mobject.py

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Use Pathlib

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-05-09 10:56:10 +05:30
Nikhil Garuda
1746073b8c
Added entry for typestring parser check tool (#1402)
* Added typestring parser checker

* Updated some errors

* Update

* Checking if installation wokrs

* Trying again

* Updates

* Another Update

* Update pyproject.toml

* Update documentation.rst

* Update requirements.txt

* Update

* syntax highlighting should work?

* Update

* Reverted back

* Will this work?

* Update

* Still trying

* Update

* Update again

* Fixed the indentation issues

* Update

* updated code block

* Update again

* Update

* Update again with blackendocs

* Update documentation.rst

* Added skip option to doctests

* Added the link

* Update link
2021-05-06 22:26:10 -07:00
Anton Ballmaier
2d2604bca9
Add inheritance diagrams to reference page (#1441)
* test

* revert test changes

* add inheritance map

* Configure Graph to fit dark theme

* Add inheritance graphs to each section in reference

* Responsive color scheme

* remove unnecessary comment

* remove more stuff from testing

* and more still

* Update docs/source/_static/responsiveSvg.js

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* Add graphviz explanation to docs

* add background color fix for chrome

* Add subheadings

* Chnaged Headings to singular and bold

Apply suggestions from code review

Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>

Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com>
2021-05-06 12:31:02 +02:00
Skaft
bbe113e7d3
Fixing broken doc links (#1457)
* fix broken links

* fix typo
2021-05-03 21:13:51 +05:30
Naveen M K
a2850c7e9a
Fix manim_directive (#1453)
Use posix path on Windows to link images
or else it doesn't work. Also, use pathlib
wherever possible
2021-05-03 02:15:33 -07:00
Skaft
199424d713
Remove $ from tutorial commands (#1445) 2021-05-03 10:47:23 +05:30
Benjamin Hackl
e5a63077cb
Prepare v0.6.0 (#1434)
* version bump

* add generated changelog

* changelog script: fix type of additional PRs

* update autogenerated changelog

* add releases category

* a bit more copyediting

* rewrite author logic

* regenerate changelog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* regenerate changelog

* merge logic for authors/reviewers and label sorting (fewer GH requests!)

* regenerate changelog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix some formatting and add more references

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-05-02 17:47:01 +02:00
Jason Villanueva
7248cf584a
Fix CLI bugs (#1431)
* First draft at fixing CLI bugs

Fixed output_file option

Removed -h help flag from manim/manim render

* Updated play logic test to use format = png

* Added suggestions, fixed test cases

* Revert file

* Fix?

* Append format to end of config_code

* Update manim/cli/render/render_options.py

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* Add format to default.cfg

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-05-02 16:06:29 +05:30
Mark Miller
1f0c4a4c8a
Added a "How to Cite Manim" section to the Readme (#1425)
* add citation to README

* improvements to cite section in README

* add comment on referencing / citing manim to documentation landing page

* remove stray paragraph

* separator between manim and mathematical animation framework

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-05-01 13:35:56 +02:00
Nikhil Garuda
fccce24a9b
Added Guide to Contribute Examples from GitHub Wiki to Documentation (#1387)
* Changed prepare_animation example

* Update animation.py

* Changed prepare_animation example

* Update animation.py

* Update animation.py

* Reverted

* Add Guide to Contribute Examples

* Update

* Rewrote some of the guide

Updated issues with docs rendering improperly.
Fixed some grammar.
Perhaps broke some things

* Update docs/source/contributing/documentation.rst

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>

* Update documentation.rst

* Update

* Update docs/source/contributing/documentation.rst

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>

* Trigger Build

* Updated

* Build pls work

* Update

* Update docs/source/contributing/documentation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update docs/source/contributing/documentation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update docs/source/contributing/documentation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Apply suggestions from code review

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* updated note tab

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-04-30 21:59:56 +02:00
Benjamin Hackl
7f17ea6d24
Fixed all current docbuild warnings (#1424)
* fix all current docbuild warnings

* Rerun rtd

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-29 19:04:08 -07:00
Darylgolden
a43d7d3e75
Added :class:Polyhedron, and platonic solids :class:Tetrahedron, :class:Octahedron, :class:Icosahedron and :class:Dodecahedron (#1348)
* Rudimentary polyhedra class

* Move to own file + more polyhedra

* Icosahedron

* More polyhedra and renaming to singular form

* Changes

* Revert changes to graph

* Fix put_start_and_end_on and attempt to add updaters

* Update polyhedra.py

* Try to fix updaters

* Fix attempts

* more attempts

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* More attempts

* I got it to work

* side_length -> edge_length, start doc string

* More docs

* edge_length type hint and **kwargs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Docs title

* Config, docs

* Submobject docs

* Basic examples for the platonic solids

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Tests, black, rm personal test file

* Make pytest work properly

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Try to fix formatting

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Adding information about polyhedra

* Rm unused imports

* Actually finish the comment

* Apply suggestions from code review

Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Type hints for edge_length

* change faces_list type hint

* More typehints

* More typehints

* get_edges return type

* Type hint

* Replace Union[float, int] with float

* Fix typehints and attempt to fix tests

* Import dict from typehints

* Try to fix tests

* Fix typehint for mobject

* Conditional import and vgroup type hint

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Import type_checking

* Retrigger

* Update manim/mobject/polyhedra.py

Co-authored-by: Naveen M K <naveen@syrusdark.website>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kilacoda <65204531+kilacoda@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2021-04-29 10:51:18 +05:30
kolibril13
cf8ae0811e
Add admonitions tutorial to docs (#1389)
* more docs

* more docs

* refining

* comma fix

* refine further

* typo

* typo

* refine

* Update docs/source/contributing/documentation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update docs/source/contributing/documentation.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* applied suggestions

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-28 21:03:11 -07:00
kolibril13
0b1bcb4629
Reduce complexity of ThreeDSurfacePlot example (#1341)
* tweaked 3d

* Update examples.rst

* Update examples.rst

* Update examples.rst

* Update docs/source/examples.rst
2021-04-27 20:42:25 +02:00
kolibril13
f95f183c68
Quick reference to modules (#1362)
* added quick reference to docs

* example

* added example for valtracker

* expl

* Update manim/mobject/value_tracker.py

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update index.rst

* refining

* refine

* refine

* Update manim/mobject/geometry.py

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-25 08:11:20 +02:00
Nikhil Garuda
80a1bfcd2f
Add flake8 and isort in docs (#1376)
* Grammatical error correction of docs

* Update contributing.rst

* Update development.rst

* Update development.rst

* Update development.rst

* Update for_dev.rst

* Update docs/source/installation/for_dev.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>

* Update plugins.rst

* Update reporting_bugs.rst

* Update a_deeper_look.rst

* Update configuration.rst

* Update quickstart.rst

* Update building_blocks.rst

* Update testing.rst

* Update testing.rst

* Update versions.rst

* Update a_deeper_look.rst

* Update quickstart.rst

* Update quickstart.rst

* Update development.rst

* Update development.rst

* Update versions.rst

* Update versions.rst

* Update a_deeper_look.rst

* Update building_blocks.rst

* Change of complier and output format in
 "InCodeTexTemplate" to the defaults

* Reverted back

* Change of Complier and Output format

The Complier and Output format of class InCodeTexTemplate has been changed to the defaults (latex and .dvi)

* Update customtex.py

* Update building_blocks.rst

* Update building_blocks.rst

* Update a_deeper_look.rst

* Updated Code Style to include isort and flake8

* Update

* Update

* Delete test.py

* Update development.rst

* Update development.rst

* Update development.rst

* Update development.rst

* Update docs/source/contributing/development.rst

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>

* Update development.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: kilacoda <65204531+kilacoda@users.noreply.github.com>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2021-04-21 17:50:51 -07:00
Nikhil Garuda
7c8c1cb1d9
Grammatical error corrections in documentation (#1360)
* Grammatical error correction of docs

* Update contributing.rst

* Update development.rst

* Update development.rst

* Update development.rst

* Update for_dev.rst

* Update docs/source/installation/for_dev.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>

* Update plugins.rst

* Update reporting_bugs.rst

* Update a_deeper_look.rst

* Update configuration.rst

* Update quickstart.rst

* Update building_blocks.rst

* Update testing.rst

* Update testing.rst

* Update versions.rst

* Update a_deeper_look.rst

* Update quickstart.rst

* Update quickstart.rst

* Update development.rst

* Update development.rst

* Update versions.rst

* Update versions.rst

* Update a_deeper_look.rst

* Update building_blocks.rst

* Change of complier and output format in
 "InCodeTexTemplate" to the defaults

* Reverted back

* Change of Complier and Output format

The Complier and Output format of class InCodeTexTemplate has been changed to the defaults (latex and .dvi)

* Update customtex.py

* Update building_blocks.rst

* Update building_blocks.rst

* Update a_deeper_look.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: kilacoda <65204531+kilacoda@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-19 15:44:32 -07:00
Nikhil Garuda
f8beaa4ba2
Changed the format (#1358) 2021-04-18 10:20:47 +02:00
kolibril13
642b7683b2
Added documentation guidelines for type hints (#1338)
* added guidlines for typehints

* added lines

* Apply suggestions from code review

Co-authored-by: Darylgolden <darylgolden@gmail.com>

* Update documentation.rst

* Update documentation.rst

* Update documentation.rst

* added ``None`` typehint

* added Optional

* Update documentation.rst

* Update documentation.rst

* Update documentation.rst

* Update documentation.rst

* Update documentation.rst

* Update documentation.rst

* blacken-docs

* Update docs/source/contributing/documentation.rst

* Update documentation.rst

Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-16 21:01:21 -07:00
kolibril13
57a76db678
Mutliple VauleTracker example for docs (#1342)
* example

* typo

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-16 14:33:20 -07:00
kolibril13
5abe8a9469
Added tutorial chapter on coordinates of an mobject (#1210)
* added tutorial chapter on mobject

* Update docs/source/tutorials/building_blocks.rst

* added transform example and updated position example

* extra line

* Apply suggestions from code review

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* Update docs/source/tutorials/building_blocks.rst

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-15 20:40:28 +02:00
Darylgolden
d39d11b566
Added import statements to examples in documentation (#1335)
* Attempt to add import statement

* Update manim_directive.py

* Fix attempt

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2021-04-15 10:16:27 -07:00
Naveen M K
7417fbc599
Blacken docs (#1323)
this hook will check formats in docs code blocks and format it using black
2021-04-13 11:57:27 +05:30
Ricky Chon
875f2d1f6d
Notify user if they are using an outdated version of Manim (#1237)
* Notify user if local version is outdated

Running the `manim` command will display the version number as green
if it is the latest detected on GitHub. Otherwise, display the version
number as red and let the user know that a newer version is available.

* Black formatting

* Add requests dependency

* Switch to PyPi API since it's not ratelimited

* Add CLI option for notifying local outdated build

Manim will notify user if local installation is outdated, after
rendering. This feature is enabled by default, but could be turned off
in config.

* Update notify_outdated_version instructions

* Please the flake

* Add documentation to configuration.rst

* Update poetry.lock

* Update option punctuation

* No need to inform users if they're up to date

* Move variable to within method

* Remove unused import

* Update dependencies

* Update outdated version message

* Run isort

* Fix typo

* Set `--notify_outdated_version` default to `None`

Flag value by default is None so config file will determine the value.
If flag is used then value is True.

* Convert CLRF to Unix newline LF (cleaner diffs)

* Remove argument check for outdated version

Too verbose, value should be configured via config

* Handle requests exceptions

* Update manim/cli/render/commands.py

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Use f-strings for logger warnings

* Update poetry.lock

* Update manim/cli/render/commands.py

Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>

* Update manim/cli/render/commands.py

Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>

* Move print statements within try block

* Except JSONDecodeError only

* Update manim/cli/render/commands.py

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* Update manim/cli/render/commands.py

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* Don't raise exceptions, log in debug

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: KingWampy <9156604+WampyCakes@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen@syrusdark.website>
2021-04-11 20:59:48 +05:30
Peilonrayz
b74ea538b2
Fix mean/meant typo (#1319) 2021-04-11 20:47:29 +05:30
Darylgolden
65fa84ce06
Fix typo on the Quickstart page in documentation(#1313) 2021-04-11 15:15:51 +05:30
friedkeenan
49b50cfe78
Change docs to use viewcode instead of linkcode (#1297)
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2021-04-09 12:54:01 -07:00
Benjamin Hackl
4fc00f7318
Switch documentation from guzzle-sphinx-theme to furo (#1251)
* prototype: switch from guzzle-sphinx-theme to furo

* try workaround for displaying navbar elements

* more specific css targeting

* further color adjustments

* manim-example block: larger font size

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused import

* increase font size for references

* fix hover colors

* html_title with explicit version

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-08 20:18:02 -07:00
sparshg
08e06e156c
Render image automatically if no animation is played in a scene (#1261)
* Display image instead if attempting to make movie file with no animations

* update

* logging warnings added

* small fixes

* Fix broken test, add suggestions

* ignore skipping if scene finished

* fixes + replace self.play(Anim.. with self.add()

* dummy commit

* explicitly set write_to_movie in manim_directive

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-04-08 11:33:08 +02:00