Commit graph

6840 commits

Author SHA1 Message Date
Chris Mayo
6d9061b00a Ignore bs4 markup and XML parser warnings
XMLParsedAsHTMLWarning: It looks like you're parsing an XML document
using an HTML parser.

MarkupResemblesLocatorWarning: The input looks more like a filename than
markup.

MarkupResemblesLocatorWarning: The input looks more like a URL than
markup.
2022-09-02 19:29:11 +01:00
Chris Mayo
d6936ceb91 Add warning url-content-type-unparseable 2022-09-02 19:29:11 +01:00
Chris Mayo
fb8df6f089 Document URL list in linkchecker(1)
First enabled in:
b1708fc7 ("get the complete content", 2004-09-03)
2022-09-02 19:29:11 +01:00
Chris Mayo
86243c00a1
Merge pull request #642 from cjmayo/addition
Fix typo addtion in linkcheckerrc(5)
2022-09-02 19:23:25 +01:00
Chris Mayo
f018cc9fd1 Fix typo addtion in linkcheckerrc(5) 2022-09-02 19:17:45 +01:00
Chris Mayo
6958e2e237
Merge pull request #640 from kianmeng/fix-typos
Fix typos
2022-09-02 19:17:18 +01:00
Kian-Meng Ang
a70ea9ea14 Fix typos
Found via `codespell ./linkcheck/ ./tests ./doc/man/en -L bu,noone,fo,pres,shttp`
2022-09-02 17:20:02 +08:00
Chris Mayo
75196921e4
Merge pull request #635 from cjmayo/relpages
Publish the documentation when there is a release
2022-08-30 19:28:25 +01:00
Chris Mayo
b35036af2b
Merge pull request #634 from cjmayo/pyxdg
Remove dependency on pyxdg
2022-08-30 19:28:03 +01:00
Chris Mayo
72310d4e0d
Merge pull request #633 from cjmayo/ldap
Re-enable ldap: test
2022-08-30 19:27:32 +01:00
Chris Mayo
d72649453c
Merge pull request #632 from cjmayo/docs
Assorted documentation updates
2022-08-30 19:27:10 +01:00
Chris Mayo
ffe1be37b8
Merge pull request #637 from felixonmars/patch-1
Correct a typo in i18n.py
2022-08-24 19:28:56 +01:00
Felix Yan
7db1a867ab
Correct a typo in i18n.py 2022-08-24 19:10:41 +03:00
Chris Mayo
a520b26885 Publish the documentation when there is a release 2022-08-23 19:27:12 +01:00
Chris Mayo
fbceca5dc9 Remove dependency on pyxdg
Read the environment variables and implement the same fallbacks.
Saves a hardly used dependency and is more explicit.
2022-08-23 19:26:15 +01:00
Chris Mayo
53bbf28584 Re-enable ldap: test
Disabled in:
1733c6a6 ("Fix Travis CI build.", 2014-03-11)
2022-08-23 19:25:32 +01:00
Chris Mayo
10f3d33041 Finish documenting the use of XDG_CONFIG_HOME and XDG_DATA_HOME
Introduced by:
a03e2e4a ("use xdg dirs for config & data", 2017-10-17)
2022-08-23 19:21:53 +01:00
Chris Mayo
3f42367280 Document using the GitHub release artifacts 2022-08-23 19:21:53 +01:00
Chris Mayo
edd4c8443c Document the GitHub workflow for creating man pages and translations PR 2022-08-23 19:21:53 +01:00
Chris Mayo
7099dc73a7 Sphinx 6.0 extlinks compatibility
WARNING: extlinks: Sphinx-6.0 will require a caption string to
contain exactly one '%s' and all other '%' need to be escaped as '%%'.
2022-08-23 19:21:53 +01:00
Chris Mayo
6c14a6b756
Merge pull request #627 from cjmayo/rate-limited
Document url-rate-limited
2022-08-23 19:21:04 +01:00
Chris Mayo
48a1dde27a Document url-rate-limited
Introduced in:
dcdc64e8 ("Turn status code 429 into warning instead of failure",
2020-03-25)
2022-07-11 19:27:07 +01:00
Chris Mayo
58c874f453
Merge pull request #623 from cjmayo/pdfminer
Test and recommend pdfminer.six for PdfParser
2022-06-23 19:24:52 +01:00
Chris Mayo
a67e8fd0f5 Test and recommend pdfminer.six for PdfParser
pdfminer is no longer actively maintained; distributions are now
packaging pdfminer.six as pdfminer.
2022-05-18 19:29:54 +01:00
Chris Mayo
94781120ac Correct mention of pdfminer in WordParser comment 2022-05-18 19:29:54 +01:00
Chris Mayo
30f1678202
Merge pull request #620 from cjmayo/pyoxidizer20
Latest PyOxidizer and Beautiful Soup allow workarounds to be removed
2022-04-19 19:36:43 +01:00
Chris Mayo
5403e688ca Use Python 3.10 in Docker image
cchardet was the reason for using Python 3.9.
2022-04-12 19:24:49 +01:00
Chris Mayo
34ba737710 Remove cchardet from Docker image, tox env and recommendation
Beautiful Soup 4.11 will use charset-normalizer.
2022-04-11 19:26:18 +01:00
Chris Mayo
cb982a2d92 Remove PyOxidizer workaround
Not needed with PyOxidizer >= 0.20.0.
2022-04-11 19:26:18 +01:00
Chris Mayo
2b1fd0eaac
Merge pull request #615 from cjmayo/docs
Assorted minor documentation updates
2022-03-01 19:28:14 +00:00
Chris Mayo
7673cd6c69 Update files to be edited during release process 2022-02-22 19:35:04 +00:00
Chris Mayo
b92418a950 Use R for Requests in install.txt 2022-02-22 19:35:04 +00:00
Chris Mayo
de719993e4 Use the website for installation link in README
Make the link work on PyPI.
2022-02-22 19:35:04 +00:00
Chris Mayo
db012a33cf Update documentation.md with PKG-INFO
_LinkChecker_configdata.py not created since:
fb03843b ("Remove _LinkChecker_configdata.py", 2021-12-30)
2022-02-22 19:35:04 +00:00
Chris Mayo
9abd7d84af
Merge pull request #613 from JanMalte/update-schemes
Add Telegram and WhatsApp schemes
2022-02-07 19:25:22 +00:00
Malte Gerth
cc48a09308 Add Telegram and WhatsApp link schemes 2022-02-06 23:41:33 +01:00
Malte Gerth
067dd8edbb Update IANA schemes 2022-02-06 23:40:36 +01:00
Malte Gerth
69d35760f2 Fix parsing IANA scheme CSV with obsolete flag 2022-02-06 23:39:54 +01:00
Chris Mayo
ff7e157a18
Merge pull request #605 from cjmayo/test_po
Use existing test_po.py only
2022-01-19 19:39:34 +00:00
Chris Mayo
f8c6d45571 Run apt update in build.yml
Avoid Not Found [IP: 52.154.174.208 80] for azure.archive.ubuntu.com.
2022-01-19 19:35:24 +00:00
Chris Mayo
b4c2599aef Output msgfmt error on test_pos failure 2022-01-19 19:31:01 +00:00
Chris Mayo
ae577357ed Update doc translation path in test_po.py 2022-01-19 19:31:01 +00:00
Chris Mayo
e6788e2e0a Remove GitHub workflow translation checks
Already done by tests/test_po.py.

Added as part of:
d99e600e ("Add translation .po file checks", 2021-11-22)
2022-01-19 19:31:01 +00:00
Chris Mayo
5ec0aec11b
Merge pull request #604 from cjmayo/py37
Use metadata instead of _LinkChecker_configdata.py
2022-01-19 19:30:32 +00:00
Chris Mayo
141a811ba6 Enable creating a binary with PyOxidizer
With PyOxidizer 0.18.0 AppName in setup.py has to be changed to the
all lower case "linkchecker".

Application translations do not work.

better_exchook2.fallback_findfile() may still need converting, first
needs a test.
2021-12-30 19:27:04 +00:00
Chris Mayo
5768b76f6c Use pkgutil to simplify loader.get_package_modules()
Replaces use of __file__.
2021-12-30 19:27:04 +00:00
Chris Mayo
6af59ec37e Use Path in setup.py get_long_description() 2021-12-30 19:27:04 +00:00
Chris Mayo
2f40fe8415 Only print missing polib message during build as a warning 2021-12-30 19:27:04 +00:00
Chris Mayo
3aad37b86e Replace list_translation_files() in setup.py 2021-12-30 19:27:04 +00:00
Chris Mayo
fb03843b6c Remove _LinkChecker_configdata.py 2021-12-30 19:27:04 +00:00