From a2ccec2c46825fd49fa2dccf19cea82c14f0baa6 Mon Sep 17 00:00:00 2001 From: Edward Betts <edward@4angle.com> Date: Sat, 5 Nov 2022 16:29:33 +0000 Subject: [PATCH] Update URLs to avoid redirects --- README.rst | 4 ++-- django_yarnpkg/exceptions.py | 2 +- docs/index.rst | 4 ++-- docs/installation.rst | 2 +- setup.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index aa6b37e..e39d439 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Django-yarnpkg ============== -Easy way to use `yarnpkg <http://yarnpkg.com/>`_ with your `Django <https://www.djangoproject.com/>`_ project. +Easy way to use `yarnpkg <https://yarnpkg.com/>`_ with your `Django <https://www.djangoproject.com/>`_ project. This is a fork of `django-bower <https://github.com/nvbn/django-bower>` by Vladimir Iakovlev. @@ -41,7 +41,7 @@ If you need, you can manually set the path to yarnpkg: YARN_PATH = '/usr/bin/yarnpkg' -You can see an example settings file in `example project <https://edugit.org/nik/django-yarnpkg/blob/master/example/example/settings.py>`_. +You can see an example settings file in `example project <https://edugit.org/AlekSIS/libs/django-yarnpkg/blob/master/example/example/settings.py>`_. Usage ----- diff --git a/django_yarnpkg/exceptions.py b/django_yarnpkg/exceptions.py index fd507a1..46af09a 100644 --- a/django_yarnpkg/exceptions.py +++ b/django_yarnpkg/exceptions.py @@ -6,5 +6,5 @@ class YarnNotInstalled(CommandError): def __init__(self): super(YarnNotInstalled, self).__init__( - "Yarn not installed, read instruction here - http://yarnpkg.com/", + "Yarn not installed, read instruction here - https://yarnpkg.com/", ) diff --git a/docs/index.rst b/docs/index.rst index a97d5c5..b7a59d5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,7 +6,7 @@ Welcome to django-yarnpkg's documentation! ======================================== -Easy way to use `Yarn <http://yarnpkg.com/>`_ with your `django <https://www.djangoproject.com/>`_ project. +Easy way to use `Yarn <https://yarnpkg.com/>`_ with your `django <https://www.djangoproject.com/>`_ project. Yarn is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat. @@ -22,7 +22,7 @@ Contents: tests example -`Visit django-yarnpkg github page. <https://edugit.org/nik/django-yarnpkg>`_ +`Visit django-yarnpkg EduGit page. <https://edugit.org/AlekSIS/libs/django-yarnpkg>`_ diff --git a/docs/installation.rst b/docs/installation.rst index 637fcd6..6b1a61a 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -2,7 +2,7 @@ Installation ************ -Install `Yarn <http://yarnpkg.com/>`_ from npm: +Install `Yarn <https://yarnpkg.com/>`_ from npm: .. code-block:: bash diff --git a/setup.py b/setup.py index 1272676..73b6bf1 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( keywords='', author='Dominik George', author_email='nik@naturalnet.de', - url='https://edugit.org/nik/django-yarnpkg', + url='https://edugit.org/AlekSIS/libs/django-yarnpkg', license='Apache-2.0', packages=find_packages(exclude=['example']), include_package_data=True, -- GitLab