Skip to content

Commit bd42807

Browse files
authored
Update links (pypa#340)
1 parent 33d7ae5 commit bd42807

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

scripts/linkmonitor/inventory.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@
7070
guides/installing-using-linux-tools.html#arch-linux, guides/installing-using-linux-tools.html#centos-rhel,
7171
guides/installing-using-linux-tools.html#debian-ubuntu, guides/installing-using-linux-tools.html#fedora,
7272
guides/installing-using-linux-tools.html#installing-pip-setuptools-wheel-with-linux-package-managers,
73-
guides/installing-using-linux-tools.html#opensuse, guides/multi-version-installs.html,
74-
guides/multi-version-installs.html#multi-version-installs, guides/packaging-binary-extensions.html,
75-
guides/packaging-binary-extensions.html#alternatives-for-low-level-system-access,
73+
guides/installing-using-linux-tools.html#opensuse, guides/migrating-to-pypi-org.html,
74+
guides/migrating-to-pypi-org.html#migrating-to-pypi-org, guides/migrating-to-pypi-org.html#uploading,
75+
guides/multi-version-installs.html, guides/multi-version-installs.html#multi-version-installs,
76+
guides/packaging-binary-extensions.html, guides/packaging-binary-extensions.html#alternatives-for-low-level-system-access,
7677
guides/packaging-binary-extensions.html#alternatives-to-handcoded-accelerator-modules,
7778
guides/packaging-binary-extensions.html#alternatives-to-handcoded-wrapper-modules,
7879
guides/packaging-binary-extensions.html#an-overview-of-binary-extensions, guides/packaging-binary-extensions.html#binary-extensions,

scripts/linkmonitor/linkmonitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ def update_command(args):
137137
os.chdir(HTML_DIR)
138138

139139
inventory = load_inventory()
140-
links = find_links()
140+
ignored_sources, ignored_urls = load_ignored()
141+
links = find_links(ignored_sources)
141142

142143
new_links = links.difference(inventory)
143144
print('Found {} new links.'.format(len(new_links)))

0 commit comments

Comments
 (0)