Commit graph

63 commits

Author SHA1 Message Date
Benjamin Hackl
a8de354101
Reduced the number of warnings during documentation build (#2603)
* use :pr: directive in changelog script

* change hardcoded links to PRs + issues to extlinks

* adapt extlink formatting

* fixed warning about bullet list

* improved formatting of an admonition, tried to fix section not expected (unsuccessful)
2022-03-08 12:23:27 +08:00
Benjamin Hackl
e147a9fc6c
Prepared new release, `v0.15.0` (#2547)
* bump version number

* update docs, citation, citation template

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

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

* removed dependabot from contributor list

* generated changelog, second pass

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

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

* generated changelog, third pass

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

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

* generated changelog, fourth pass

* regenerated changelog, fifth pass

* fixed minor issues in generated changelog

* updated translations

* added one final PR to the release

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-26 21:26:45 +01:00
GameDungeon
daf23c9d10
Upgraded typehints (#2429)
* Future Annotations

* Delete template_twitter_post.py

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

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

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

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

* Apply suggestions from code review

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

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

* Fixed broken RTD

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-20 12:26:21 +08:00
Darylgolden
3b922a9db3
remove twitter template (#2439) 2022-01-08 10:05:39 +01:00
GameDungeon
c4217731e0
Added MyPy Support (#1972)
* MyPy Support

* MyPy Hook

* Removing MyPy Hook

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

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

* Delete __init__.pyi

* Delete color.pyi

* Update .mypy.ini

Co-authored-by: Christopher Besch <christopher.besch@gmx.de>

* changes

* quick fix

* MyPy Hook

* MyPy Hook

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
2022-01-03 19:41:07 +08:00
GameDungeon
f993ee02ea
Fixed Flake8 (#2410)
* Auto Type

* Revert "Auto Type"

This reverts commit a458905369.

* Fixed Flake
2022-01-01 07:59:28 +08:00
Benjamin Hackl
537ecc9678
Prepare new release: `v0.13.0` (#2353)
* bump version number

* something in our changelog script broke?

* generated changelog, first pass

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

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

* exclude Crowdin updates from changelog

* changelog generation, second pass

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

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

* changelog generation, third pass

* generated changelog, fourth pass

* changelog generation, fifth pass

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-04 14:48:25 +01:00
GameDungeon
9a98d67dd4
LGTM Error Fix (#2001)
* LGTM Error Crush

* I'm dumb

* fix

* Update manim/plugins/import_plugins.py

* [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: Darylgolden <darylgolden@gmail.com>
2021-09-28 22:00:53 +00:00
pre-commit-ci[bot]
eb09675fc5
[pre-commit.ci] pre-commit autoupdate (#2086)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0)

* [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: Darylgolden <darylgolden@gmail.com>
2021-09-28 17:41:25 +08:00
GameDungeon
94821c10d8
Flake8 Changes + Fixing Warnings (#1968)
* Warning Removal

* Flake Stuff

* HotFix

* Docs Fix

* I'm Dumb

* Docs Fix 2

* Fixing Github Requests

* Fix

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

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

* quick fix

* Add Deprecation Warning

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

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

* Weird Pre Commit Stuff

* Quick Fix

* Quick Fix

* Fix

* Flake Fix

* [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>
2021-09-03 13:45:48 -04:00
Benjamin Hackl
7e5d83205d
Prepare new release v0.10.0 (#1989)
* bump version number + first pass of changelog

* generate changelog, second pass

* toctree needs manual sorting

* changelog, third pass

* generated changelog, final pass

* fix a warning due to non-unique ref target
2021-09-01 22:39:25 +02:00
Darylgolden
454edecb8e
Add CITATION.cff and a method to automatically update this citation with new releases (#1964)
* Template + citation

* Add URL

* Update citation instructions

* Remove tags

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

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

* attempt to use entity object

* Update CITATION.cff

* Change title

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-30 22:56:14 +00:00
Christian Clauss
97109e75b4
Ignore fewer flake8 errors (#1960)
Co-authored-by: Darylgolden <darylgolden@gmail.com>
2021-08-27 18:57:48 +08: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
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
30354e365b
Updated changelog generator's labels and removed pre-commit bot from changelog (#1421)
* Updated labels and removed pre-commit bot from the contributors

* Remove import sys

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-04-29 23:45:17 +02:00
Naveen M K
dcb90a8656
Format Imports using Isort (#1178)
* Format imports using Isort.
Add a check for pull requests.

Signed-off-by: Naveen M K <naveen@syrusdark.website>

* CI: update check's name
2021-04-03 13:45:12 +05:30
Benjamin Hackl
47e65fe8d8
Improve changelog generation script (#1231)
* remove upcoming release heading from changelog.rst

* added -t flag to dev_changelog.py

* let generated changelog include the date

* allow passing additional (non-autodetected PRs) to the changelog

* added header and date to v0.5.0 changelog

* fix quotes in f-string

* Fixed version number from incorrect click merge

* further improvements to the script

* update 0.5.0-changelog to latest script output

* black

* Convert to click

* Update usage, added example, fixed 'additional' logic

* run script again, reduces/removes warnings from rendering documentation

* again, fix some more formatting issues

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-04-02 18:27:57 +02:00
Naveen M K
1113e04395
Added a Script to generate the changelog (#1138)
* MAINT: Add a script to generate changelog
original taken from Numpy
This will be used to generate changelogs.

Signed-off-by: Naveen M K <naveen@syrusdark.website>

* Updated PR template to include Changelog, fixed grammar, added checklist items

* Fixed additional grammar in checklists

* Sorting based changelog

* Added output path output to changelog

* Added sections"

* Added changelog regular expression logic and other fixes

* Updated poetry.lock, applied black

* Added more sections

* Added maintenance section

* extract PR reviewers as well

* Forgot lock file

* Applied suggestions

* Applied black and other suggestions

* Updated to proper syntax for output file

* Revert changelog

* Split older changelogs into multiple files under toctree

* added version number to default output

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-03-30 09:19:26 +02:00
Lionel Ray
39351b0202
Deprecation: Deprecated ShowCreation in favor of Create, added logger warning (#1124)
* Deprecated ShowCreation in favor of Create

* Fixed Black formatting and logger error

* Fixed relative import issue of logger

* Renamed CreateThen.. calls to previous names

* Fixed __all__ classes, fixed Create inheritance

* Update manim/animation/creation.py

Move logger warning to class initializer

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

Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
2021-03-23 16:13:59 +01:00
Kapil Sachdeva
4237e00edc
fix - use absolute path in make_and_open_docs.py (#1048)
* fix - use absolute path in make_and_open_docs.py

* use as_uri on the absolute path to build the URI
2021-02-26 07:06:38 +01:00
Devin Neal
a6e0efc7fb
Update javascript renderer (#830)
Simplify the code and add automatic updating to the JS renderer
2020-12-19 10:38:14 -08:00
kolibril13
c05ee3e63c
Add examples to animation creation (#820)
* added creation animation

* added further animation

* added further animation + docstring template

* added further examples

* black

* one more update

* one more update

* one more update

* one more update

* one more update become

* hope that this will fix the build

* Apply suggestions from code review

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Leo Torres <dleonardotn@gmail.com>

* updated templates

* small fix

* tests

* Apply suggestions from code review

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

* Update README.md

* merged master and typo in README.md

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
2020-12-13 12:41:06 +01:00
kolibril13
7fe79e36ec
manimce to manim & capitalizing Manim in readme (#794) 2020-12-04 02:08:55 +01:00
kolibril13
19d0d51532
Added a template for twitter posts (#800)
* added twitter template

* Update scripts/twitter_post_template.py

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

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2020-12-01 14:31:34 +01:00
Naveen M K
1e2a3905ee
docs: pycairo now has wheels (#517)
BREAKING CHANGE: May break for users using scripts/pycairoinstall.py
2020-10-06 12:51:00 +05:30
Aathish Sivasubrahmanian
353dfdc403
Add a way to pass a custom browser if wanted. (#343)
You can now use `python make_and_open_docs.py <browser>` to open the docs in <browser>
2020-08-25 11:03:09 -04:00
kolibril13
7db6e6a7c0 generalized the script for all users 2020-08-15 15:55:07 +02:00
Aathish
0971573cef Minimise retyped code. 2020-08-02 20:59:32 +05:30
Aathish
468190b454 Removed some repeating code. 2020-08-02 20:09:46 +05:30
Syrus Dark
042e96af28
Fix links in Pycairo install script 2020-08-02 18:22:54 +05:30
Safin Singh
dd32f2bbe2
Spaces in pycairo install [skip ci] 2020-06-07 10:33:00 -07:00
Aathish
aae6f66b51
Update Pycairoinstall.py to use newer links 2020-06-07 10:30:34 +05:30
Aathish Sivasubrahmanian
3aa8dac0eb Put pycairoinstall.py in newly named scripts folder. 2020-05-26 18:11:39 +05:30
Grant Sanderson
2e074afb60 middle of massive restructure, everything still broken 2015-10-27 21:00:50 -07:00
Grant Sanderson
096c5c1890 Finished first Khan Articles 2015-10-20 21:55:46 -07:00
Grant Sanderson
c3cdafcfeb Starting complex number animations 2015-10-12 19:39:46 -07:00
Grant Sanderson
7564beb393 Finally have faster video writing capabilities 2015-10-11 15:22:47 -07:00
Grant Sanderson
e2fc29851e Much pythagoras, plus better point thickness and display implementations 2015-10-09 19:53:38 -07:00
Grant Sanderson
5b986b9a9e Material needed for matrix as transform article 2015-10-08 11:14:55 -07:00
Grant Sanderson
9e22e51591 ShowMultiplication implemented 2015-10-06 19:33:40 -07:00
Grant Sanderson
e934b7f3d6 TransformScene2D mostly implemented 2015-10-06 18:42:12 -07:00
Grant Sanderson
cc6b541f00 spelling change, spacial to spatial 2015-10-06 15:27:12 -07:00
Grant Sanderson
0bf582a1bc reorganize pile of old scripts 2015-10-06 12:16:55 -07:00
Grant Sanderson
441c8969ef Final few music and measure edits 2015-10-03 18:47:09 -07:00
Grant Sanderson
63f0bfef31 True end of Music and Measure draft 1 2015-10-01 17:20:17 -07:00
Grant Sanderson
42a8e166f0 First draft of music and measure theory 2015-09-30 14:22:17 -07:00
Grant Sanderson
0d60cf6207 Applied digest_config to almost all __init__ functions 2015-09-28 16:25:18 -07:00
Grant Sanderson
8f2a8f032e More music_and_measure, animate->play, making NumberLine better 2015-09-25 19:43:53 -07:00
Grant Sanderson
9045af276e Beginning music and measure theory 2015-09-24 10:54:59 -07:00