manim/docs/source
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
..
_static Switch documentation from guzzle-sphinx-theme to furo (#1251) 2021-04-08 20:18:02 -07:00
_templates render full documentation for module level functions 2020-10-31 16:11:08 +01:00
changelog Remove Carriage Return (#1281) 2021-04-07 15:22:50 -07:00
contributing Remove Carriage Return (#1281) 2021-04-07 15:22:50 -07:00
installation Added documentation explaining the differences between manim versions (#1268) 2021-04-07 20:44:28 +02:00
tutorials Notify user if they are using an outdated version of Manim (#1237) 2021-04-11 20:59:48 +05:30
changelog.rst Improve changelog generation script (#1231) 2021-04-02 18:27:57 +02:00
conduct.md Added code of conduct (#935) 2021-01-18 19:14:57 +05:30
conf.py Change docs to use viewcode instead of linkcode (#1297) 2021-04-09 12:54:01 -07:00
contributing.rst Added testing/documentation from GitHub Wiki to Sphinx Docs (#1137) 2021-03-31 02:23:38 -07:00
examples.rst Switch documentation from guzzle-sphinx-theme to furo (#1251) 2021-04-08 20:18:02 -07:00
index.rst Added code of conduct (#935) 2021-01-18 19:14:57 +05:30
installation.rst Added example jupyter notebook into the examples folders (#1029) 2021-04-08 10:36:18 +02:00
manim_directive.py Switch documentation from guzzle-sphinx-theme to furo (#1251) 2021-04-08 20:18:02 -07:00
reference.rst Switch documentation from guzzle-sphinx-theme to furo (#1251) 2021-04-08 20:18:02 -07:00
reporting_bugs.rst Rewrite contributing guide and add two troubleshooting soulutions (#384) 2020-09-05 11:17:36 -04:00
tutorials.rst New tutorial: manim internals basic (#394) 2020-09-12 11:51:12 -04:00