| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + Several small improvements for documentation: | ||
| 2 | + | ||
| 3 | + * Add meta description to improve SEO | ||
| 4 | + * Use canonicals on ReadTheDocs (commit 87f639f) | ||
| 5 | + * Pin versions for reproducable doc builds (commit 03fb990) | ||
| 6 | + * Add missing :file:`.readthedocs.yaml` file (commit ec9348a) | ||
| 7 | + * Correct some smaller issues when building (commit f65feab) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,10 @@ | |||
| 1 | 1 | Combining Pydantic and semver | |
| 2 | 2 | ============================= | |
| 3 | 3 | ||
| 4 | + .. meta:: | ||
| 5 | + :description lang=en: | ||
| 6 | + Combining Pydantic and semver | ||
| 7 | + | ||
| 4 | 8 | According to its homepage, `Pydantic <https://pydantic-docs.helpmanual.io>`_ | |
| 5 | 9 | "enforces type hints at runtime, and provides user friendly errors when data | |
| 6 | 10 | is invalid." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,10 @@ | |||
| 1 | - Converting versions between PyPI and semver | ||
| 1 | + Converting Versions between PyPI and semver | ||
| 2 | 2 | =========================================== | |
| 3 | 3 | ||
| 4 | + .. meta:: | ||
| 5 | + :description lang=en: | ||
| 6 | + Converting versions between PyPI and semver | ||
| 7 | + | ||
| 4 | 8 | .. Link | |
| 5 | 9 | https://packaging.pypa.io/en/latest/_modules/packaging/version.html#InvalidVersion | |
| 6 | 10 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,10 @@ | |||
| 3 | 3 | Creating Subclasses from Version | |
| 4 | 4 | ================================ | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + Creating subclasses from Version class | ||
| 9 | + | ||
| 6 | 10 | If you do not like creating functions to modify the behavior of semver | |
| 7 | 11 | (as shown in section :ref:`sec_dealing_with_invalid_versions`), you can | |
| 8 | 12 | also create a subclass of the :class:`Version <semver.version.Version>` class. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,10 @@ | |||
| 3 | 3 | Dealing with Invalid Versions | |
| 4 | 4 | ============================= | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + Dealing with invalid versions | ||
| 9 | + | ||
| 6 | 10 | As semver follows the semver specification, it cannot parse version | |
| 7 | 11 | strings which are considered "invalid" by that specification. The semver | |
| 8 | 12 | library cannot know all the possible variations so you need to help the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,10 @@ | |||
| 3 | 3 | Displaying Deprecation Warnings | |
| 4 | 4 | =============================== | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + Displaying and filtering deprecation warnings | ||
| 9 | + | ||
| 6 | 10 | By default, deprecation warnings are `ignored in Python <https://docs.python.org/3/library/warnings.html#warning-categories>`_. | |
| 7 | 11 | This also affects semver's own warnings. | |
| 8 | 12 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,9 @@ | |||
| 1 | 1 | Advanced topics | |
| 2 | 2 | =============== | |
| 3 | 3 | ||
| 4 | + .. meta:: | ||
| 5 | + :description lang=en: | ||
| 6 | + Advanced topics for Python semver | ||
| 4 | 7 | ||
| 5 | 8 | .. toctree:: | |
| 6 | 9 | :maxdepth: 1 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,12 @@ | |||
| 1 | 1 | .. _sec_reading_versions_from_file: | |
| 2 | 2 | ||
| 3 | - Reading versions from file | ||
| 3 | + Reading Versions from File | ||
| 4 | 4 | ========================== | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + Reading versions from file | ||
| 9 | + | ||
| 6 | 10 | In cases where a version is stored inside a file, one possible solution | |
| 7 | 11 | is to use the following function: | |
| 8 | 12 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,10 @@ | |||
| 3 | 3 | API Reference | |
| 4 | 4 | ============= | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + API reference about Python semver | ||
| 9 | + | ||
| 6 | 10 | .. currentmodule:: semver | |
| 7 | 11 | ||
| 8 | 12 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,9 @@ | |||
| 3 | 3 | Building semver | |
| 4 | 4 | =============== | |
| 5 | 5 | ||
| 6 | + .. meta:: | ||
| 7 | + :description lang=en: | ||
| 8 | + Building semver | ||
| 6 | 9 | ||
| 7 | 10 | .. _PEP 517: https://www.python.org/dev/peps/pep-0517/ | |
| 8 | 11 | .. _PEP 621: https://www.python.org/dev/peps/pep-0621/ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments