aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-03-10 11:10:25 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-03-10 11:14:11 +0900
commit15765e5cd7a301dd4f48b174021fdf0c5c5e931c (patch)
tree7a2df373ba60ec15cc6d959582e15f60d80cf2ad
parentb39dfb576945808c4466a5835526c6900dc0e7fb (diff)
Use lychee to check for broken links in CI, and fix a few broken links
-rw-r--r--.github/workflows/broken-links.yml22
-rw-r--r--.lycheeignore4
-rw-r--r--README.md4
3 files changed, 28 insertions, 2 deletions
diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml
new file mode 100644
index 00000000..5349eb21
--- /dev/null
+++ b/.github/workflows/broken-links.yml
@@ -0,0 +1,22 @@
+name: Broken Link Checker
+
+permissions:
+ contents: read
+
+# runs on prs containing markdown or html changes, as well as every monday at 9 am
+on:
+ pull_request:
+ paths:
+ - "**.md"
+ - "**.html"
+ schedule:
+ - cron: "0 9 * * 1"
+
+jobs:
+ link-checker:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: lycheeverse/lychee-action@9ace499fe66cee282a29eaa628fdac2c72fa087f
+ with:
+ fail: true
diff --git a/.lycheeignore b/.lycheeignore
new file mode 100644
index 00000000..ce068ceb
--- /dev/null
+++ b/.lycheeignore
@@ -0,0 +1,4 @@
+://localhost
+://127.0.0.1
+%7Bversion%7D
+https://www.edrdg.org/jmdict/edict.html_blanknoopenerhttps://www.edrdg.org/wiki/index.php/KANJIDIC_Project_blanknoopenerhttps://www.edrdg.org/_blanknoopenerhttps://www.edrdg.org/edrdg/licence.html_blanknoopener
diff --git a/README.md b/README.md
index 35bb455e..5a8a78b7 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@
Yomitan turns your web browser into a tool for building Japanese language literacy by helping you to decipher texts
which would be otherwise too difficult tackle. This extension is similar to
-[Rikaichamp](https://addons.mozilla.org/en-US/firefox/addon/rikaichamp/) for Firefox and
+[10ten Japanese Reader (formerly Rikaichamp)](https://addons.mozilla.org/en-US/firefox/addon/10ten-ja-reader/) for Firefox and
[Rikaikun](https://chrome.google.com/webstore/detail/rikaikun/jipdnfibhldikgcjhfnomkfpcebammhp?hl=en) for Chrome, but it
stands apart in its goal of being an all-encompassing learning tool as opposed to a mere browser-based dictionary.
@@ -87,7 +87,7 @@ language is not English, you may consider also importing the English version for
* [jmdict\_swedish.zip](https://github.com/themoeway/yomitan/raw/dictionaries/jmdict_swedish.zip)
* **[JMnedict](https://www.edrdg.org/enamdict/enamdict_doc.html)** (Japanese names)
* [jmnedict.zip](https://github.com/themoeway/yomitan/raw/dictionaries/jmnedict.zip)
-* **[KireiCake](https://kireicake.com/rikaicakes/)** (Japanese slang)
+* **KireiCake (upstream project dead)** (Japanese slang)
* [kireicake.zip](https://github.com/themoeway/yomitan/raw/dictionaries/kireicake.zip)
* **[KANJIDIC](http://nihongo.monash.edu/kanjidic2/index.html)** (Japanese kanji)
* [kanjidic\_english.zip](https://github.com/themoeway/yomitan/raw/dictionaries/kanjidic_english.zip)