This repository was archived by the owner on May 5, 2023. It is now read-only.
File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
- extensions = ['sphinx.ext.autodoc' , 'jaraco.packaging.sphinx' , 'rst.linker' ]
1
+ extensions = [
2
+ 'sphinx.ext.autodoc' ,
3
+ 'jaraco.packaging.sphinx' ,
4
+ 'rst.linker' ,
5
+ 'sphinx.ext.intersphinx' ,
6
+ 'sphinx.ext.extlinks' ,
7
+ ]
2
8
3
9
master_doc = "index"
4
10
73
79
),
74
80
}
75
81
82
+ intersphinx_mapping = {
83
+ 'pypa-build' : ('https://pypa-build.readthedocs.io/en/latest/' , None )
84
+ }
76
85
77
86
# Add support for linking usernames
78
87
github_url = 'https://github.com'
79
88
github_sponsors_url = f'{ github_url } /sponsors'
80
89
extlinks = {
81
90
'user' : (f'{ github_sponsors_url } /%s' , '@' ), # noqa: WPS323
82
91
}
83
- extensions += ['sphinx.ext.extlinks' ]
84
92
85
93
# Be strict about any broken references:
86
94
nitpicky = True
Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ This is what your project would look like::
59
59
setup.cfg
60
60
mypackage/__init__.py
61
61
62
- Then, you need an installer, such as ` pep517 < https://pypi.org/project/pep517/ >`_
63
- which you can obtain via ``pip install pep517 ``. After downloading it, invoke
62
+ Then, you need an installer, such as :std:doc: ` PyPA build < pypa-build:index >`_
63
+ which you can obtain via ``pip install build ``. After downloading it, invoke
64
64
the installer::
65
65
66
- python -m pep517. build .
66
+ python -m build
67
67
68
68
You now have your distribution ready (e.g. a ``tar.gz `` file and a ``.whl ``
69
69
file in the ``dist `` directory), which you can upload to PyPI!
You can’t perform that action at this time.
0 commit comments