Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9adc08

Browse files
committed
Fix a bunch of URLs
- it's pypi.org not pypy.org - rtfd doesn't serve docs out of its main domain (which makes sense since docs can contain arbitrary JS) - add the doc and issues to the project URLs
1 parent 7e040fd commit b9adc08

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/release-main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ on:
77

88
env:
99
ENVNAME: ${{ github.event_name == 'release' && 'pypi' || 'testpypi' }}
10-
ENVURL: https://${{ github.event_name != 'release' && 'test.' || '' }}pypy.org/p/ua-parser
1110

1211
jobs:
1312
release:
1413
runs-on: ubuntu-latest
1514

1615
environment:
1716
name: ${{ github.event_name == 'release' && 'pypi' || 'testpypi' }}
18-
url: https://${{ github.event_name != 'release' && 'test.' || '' }}pypy.org/p/ua-parser
17+
url: https://${{ github.event_name != 'release' && 'test.' || '' }}pypi.org/p/ua-parser
1918

2019
permissions:
2120
id-token: write

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Build Status
1212
:alt: CI on the master branch
1313

1414
.. image:: https://readthedocs.org/projects/uap-python/badge/?version=latest
15-
:target: https://readthedocs.org/project/uap-python/en/latest/
15+
:target: https://uap-python.readthedocs.io/en/latest/
1616
:alt: Documentation Status
1717

1818
Installing
@@ -42,7 +42,7 @@ ua-parser supports CPython 3.9 and newer, recent pypy (supporting
4242
See `builtin resolvers`_ for more explanation of the tradeoffs
4343
between the different options.
4444

45-
.. _builtin resolvers: https://readthedocs.org/ua-parser/uap-python/guides#builtin-resolvers
45+
.. _builtin resolvers: https://uap-python.readthedocs.io/en/latest/guides.html#builtin-resolvers
4646

4747
Quick Start
4848
-----------
@@ -114,4 +114,4 @@ Upgrading
114114
115115
Upgrading from 0.x? See `the upgrade guide`_.
116116
117-
.. _the upgrade guide: https://readthedocs.org/ua-parser/uap-python/advanced/migration
117+
.. _the upgrade guide: https://uap-python.readthedocs.io/en/latest/advanced/migration.html

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "ua-parser"
77
description = "Python port of Browserscope's user agent parser"
8-
version = "1.0.0a1"
8+
version = "1.0.0a2"
99
readme = "README.rst"
1010
requires-python = ">=3.9"
1111
dependencies = ["ua-parser-builtins"]
1212

1313
license = {text = "Apache 2.0"}
14-
urls = {repository = "https://github.com/ua-parser/uap-python"}
1514

1615
authors = [
1716
{ name = "Stephen Lamm", email = "[email protected]"},
@@ -44,6 +43,11 @@ classifiers = [
4443
# "Programming Language :: Python :: Implementation :: GraalPy",
4544
]
4645

46+
[project.urls]
47+
documentation = "https://uap-python.readthedocs.io"
48+
repository = "https://github.com/ua-parser/uap-python"
49+
issues = "https://github.com/ua-parser/uap-python/issues"
50+
4751
[project.optional-dependencies]
4852
yaml = ["PyYaml"]
4953
re2 = ["google-re2"]

0 commit comments

Comments
 (0)