From 22a9dd1b76e45cba2ef534084acddd4f4de04454 Mon Sep 17 00:00:00 2001 From: Hantao Cui Date: Sun, 17 Mar 2024 01:47:54 +0000 Subject: [PATCH] Update github remote name to `curent`. --- CONTRIBUTING.rst | 8 ++++---- docs/source/conf.py | 2 +- docs/source/examples/index.rst | 4 ++-- docs/source/getting_started/install.rst | 4 ++-- docs/source/getting_started/overview.rst | 6 +++--- docs/source/getting_started/testcases/index.rst | 2 +- docs/source/getting_started/tutorial/cheatsheet.rst | 2 +- docs/source/getting_started/tutorial/cli.rst | 2 +- docs/source/index.rst | 2 +- examples/ex2.ipynb | 8 ++++---- examples/ex5.ipynb | 4 ++-- setup.py | 2 +- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 68877f5af..b8eb5c641 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -13,7 +13,7 @@ Types of Contributions Report Bugs ~~~~~~~~~~~ -Report bugs at https://github.com/cuihantao/andes/issues. +Report bugs at https://github.com/curent/andes/issues. If you are reporting a bug, please include: @@ -42,7 +42,7 @@ or even on the web in blog posts, articles, and such. Submit Feedback ~~~~~~~~~~~~~~~ -The best way to send feedback is to file an issue at https://github.com/cuihantao/andes/issues. +The best way to send feedback is to file an issue at https://github.com/curent/andes/issues. If you are proposing a feature: @@ -97,8 +97,8 @@ Before you submit a pull request, check that it meets these guidelines: 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst. -3. The pull request should work for Python 3.6 and up. Check - https://github.com/cuihantao/andes/actions +3. The pull request should work for Python 3.8 and up. Check + https://github.com/curent/andes/actions and make sure that the tests pass for all supported Python versions. ============ diff --git a/docs/source/conf.py b/docs/source/conf.py index 0b42fffac..1090116c6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -125,7 +125,7 @@ html_context = { "github_url": "https://github.com", - "github_user": "cuihantao", + "github_user": "curent", "github_repo": "andes", "github_version": "master", "doc_path": "docs/source", diff --git a/docs/source/examples/index.rst b/docs/source/examples/index.rst index dd725326b..c3acd93fb 100644 --- a/docs/source/examples/index.rst +++ b/docs/source/examples/index.rst @@ -6,9 +6,9 @@ Examples A collection of examples are presented to supplement the tutorial. The examples below are identical to the Jupyter Notebook in the ``examples`` folder of the repository -`here `__. You +`here `__. You can run the examples in a live Jupyter Notebook online using -`Binder `__. +`Binder `__. .. toctree:: :maxdepth: 2 diff --git a/docs/source/getting_started/install.rst b/docs/source/getting_started/install.rst index 005aeaefc..64cbcbb34 100644 --- a/docs/source/getting_started/install.rst +++ b/docs/source/getting_started/install.rst @@ -112,7 +112,7 @@ from either your fork or the original repository. Clone the repository with .. code:: bash - git clone https://github.com/cuihantao/andes + git clone https://github.com/curent/andes .. note:: @@ -120,7 +120,7 @@ from either your fork or the original repository. Clone the repository with update the source code and perform version control. Alternatively, you can download the ANDES source code from -https://github.com/cuihantao/andes and extract all files to the path of your +https://github.com/curent/andes and extract all files to the path of your choice. Although works, this method is discouraged because tracking changes and pushing back code edits will require significant manual efforts. diff --git a/docs/source/getting_started/overview.rst b/docs/source/getting_started/overview.rst index 434b1025d..069afbfe9 100644 --- a/docs/source/getting_started/overview.rst +++ b/docs/source/getting_started/overview.rst @@ -34,13 +34,13 @@ ANDES is currently under active development. To get involved, * Follow the tutorial at `https://andes.readthedocs.io `_ * Checkout the Notebook examples in the - `examples folder `_ + `examples folder `_ * Try ANDES in Jupyter Notebook - `with Binder `_ + `with Binder `_ * Download the PDF manual at `download `_ * Report issues in the - `GitHub issues page `_ + `GitHub issues page `_ * Learn version control with `the command-line git `_ or `GitHub Desktop `_ diff --git a/docs/source/getting_started/testcases/index.rst b/docs/source/getting_started/testcases/index.rst index b25ce7307..b81d569bd 100644 --- a/docs/source/getting_started/testcases/index.rst +++ b/docs/source/getting_started/testcases/index.rst @@ -8,7 +8,7 @@ Test Cases ANDES ships with with test cases in the ``andes/cases`` folder. The cases can be found in the `online repository`_. -.. _`online repository`: https://github.com/cuihantao/andes/tree/master/andes/cases +.. _`online repository`: https://github.com/curent/andes/tree/master/andes/cases Summary ======= diff --git a/docs/source/getting_started/tutorial/cheatsheet.rst b/docs/source/getting_started/tutorial/cheatsheet.rst index dc5cc36a7..3caaa1ac3 100644 --- a/docs/source/getting_started/tutorial/cheatsheet.rst +++ b/docs/source/getting_started/tutorial/cheatsheet.rst @@ -5,4 +5,4 @@ A cheatsheet is available for quick lookup of supported commands. View the PDF version at -https://www.cheatography.com//cuihantao/cheat-sheets/andes-for-power-system-simulation/pdf/ +https://www.cheatography.com/cuihantao/cheat-sheets/andes-for-power-system-simulation/pdf/ diff --git a/docs/source/getting_started/tutorial/cli.rst b/docs/source/getting_started/tutorial/cli.rst index 16d78fb46..21ea30e41 100644 --- a/docs/source/getting_started/tutorial/cli.rst +++ b/docs/source/getting_started/tutorial/cli.rst @@ -252,7 +252,7 @@ Power flow If you have cloned the ANDES repository, it can be found in ``andes/cases/kundur`` in the source code folder. You can also download it from - `here `_. + `here `_. To run power flow, change to the directory containing ``kundur_full.xlsx``, and execute the following in the command line: diff --git a/docs/source/index.rst b/docs/source/index.rst index 1c317eb13..fa174d959 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -21,7 +21,7 @@ ANDES documentation .. _`Report Issues`: https://github.com/CURENT/andes/issues .. _`Q&A`: https://github.com/CURENT/andes/discussions .. _`Binary Installer`: https://pypi.org/project/andes/ -.. _`Try in Jupyter Notebooks`: https://mybinder.org/v2/gh/cuihantao/andes/master +.. _`Try in Jupyter Notebooks`: https://mybinder.org/v2/gh/curent/andes/master .. _`LTB Repository`: https://github.com/CURENT/ .. image:: /images/sponsors/CURENT_Logo_NameOnTrans.png diff --git a/examples/ex2.ipynb b/examples/ex2.ipynb index 421e9b934..2c651f375 100644 --- a/examples/ex2.ipynb +++ b/examples/ex2.ipynb @@ -78,7 +78,7 @@ "The ANDES xlsx file is the best supported format. Other formats can be converted to the xlsx format.\n", "\n", "See the link below for more about format conversion.\n", - "https://github.com/cuihantao/andes/blob/master/README.md#format-converter" + "https://github.com/curent/andes/blob/master/README.md#format-converter" ] }, { @@ -181,8 +181,8 @@ } ], "source": [ - "ss = andes.load(get_case('kundur/kundur_full.xlsx'), \n", - " default_config=True, \n", + "ss = andes.load(get_case('kundur/kundur_full.xlsx'),\n", + " default_config=True,\n", " setup=False)" ] }, @@ -2783,4 +2783,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/examples/ex5.ipynb b/examples/ex5.ipynb index c9f13bf74..ee5f93233 100644 --- a/examples/ex5.ipynb +++ b/examples/ex5.ipynb @@ -13,7 +13,7 @@ "source": [ "This example notebook is a supplement to the ANDES tutorial. Make sure you have read the tutorial on using the CLI first.\n", "\n", - "A brief version can be found at https://github.com/cuihantao/andes/blob/master/README.md#run-simulations" + "A brief version can be found at https://github.com/curent/andes/blob/master/README.md#run-simulations" ] }, { @@ -1096,4 +1096,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/setup.py b/setup.py index c7d7cb0c1..938e88fc2 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ def get_extra_requires(filename, add_all=True): long_description_content_type='text/markdown', author="Hantao Cui", author_email='cuihantao@gmail.com', - url='https://github.com/cuihantao/andes', + url='https://github.com/curent/andes', packages=find_packages(exclude=[]), entry_points={ 'console_scripts': [