summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@paylead.fr>2022-02-06 19:52:05 +0100
committerRaphaël Barrois <raphael.barrois@paylead.fr>2022-02-06 19:52:05 +0100
commit8a7162fc01b33964688a5be41df3865bceb875c3 (patch)
tree9741bf91c3468b585fca0109eff9476dfd7f2fd9 /docs
parentc61278bd35f2059ad3c7fc196a4b06eae34f3b7e (diff)
downloadsemantic-version-8a7162fc01b33964688a5be41df3865bceb875c3.tar.gz
docs: Update reference to NPM range specification
Diffstat (limited to 'docs')
-rw-r--r--docs/guide.rst2
-rw-r--r--docs/reference.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/guide.rst b/docs/guide.rst
index 7780a32..9a7c5cd 100644
--- a/docs/guide.rst
+++ b/docs/guide.rst
@@ -326,7 +326,7 @@ The :class:`NpmSpec` scheme
"""""""""""""""""""""""""""
The :class:`NpmSpec` class implements the full NPM specification (from
-https://docs.npmjs.com/misc/semver.html):
+https://github.com/npm/node-semver#ranges):
.. code-block:: pycon
diff --git a/docs/reference.rst b/docs/reference.rst
index 93a29eb..6d1101b 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -336,7 +336,7 @@ In order to solve this problem, each `SemVer`_-based package management platform
python-semanticversion provides a couple of implementations of those range definition syntaxes:
- ``'simple'`` (through :class:`SimpleSpec`): A python-semanticversion specific syntax, which supports simple / intuitive patterns, and some NPM-inspired extensions;
-- ``'npm'`` (through :class:`NpmSpec`): The NPM syntax, based on https://docs.npmjs.com/misc/semver.html
+- ``'npm'`` (through :class:`NpmSpec`): The NPM syntax, based on https://github.com/npm/node-semver#ranges
- More might be added in the future.
Each of those ``Spec`` classes provides a shared set of methods to work with versions:
@@ -518,7 +518,7 @@ Each of those ``Spec`` classes provides a shared set of methods to work with ver
.. versionadded:: 2.7
- A NPM-compliant version matching engine, based on the https://docs.npmjs.com/misc/semver.html specification.
+ A NPM-compliant version matching engine, based on the https://github.com/npm/node-semver#ranges specification.
.. code-block:: pycon