From b1a177131d01e4c23f83eb74894c53bf794bf810 Mon Sep 17 00:00:00 2001 From: Elisabeth Panholzer <54479232+epanholz@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:48:34 +0100 Subject: [PATCH] Fix broken links to native method guide (#180) --- .../content/docs/11-guides/implementing-native-libraries.md | 4 ++-- sites/cheerpj/src/content/docs/11-guides/library-mode.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/cheerpj/src/content/docs/11-guides/implementing-native-libraries.md b/sites/cheerpj/src/content/docs/11-guides/implementing-native-libraries.md index f4c68ed9..8783081e 100644 --- a/sites/cheerpj/src/content/docs/11-guides/implementing-native-libraries.md +++ b/sites/cheerpj/src/content/docs/11-guides/implementing-native-libraries.md @@ -142,8 +142,8 @@ When the Java `Example` class is run, the `alert` method is called, which trigge [`CJ3Library`]: /docs/reference/CJ3Library [`conversion rules`]: /docs/reference/cheerpjRunLibrary#conversion-rules [`System.loadLibrary(String libname)`]: https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#loadLibrary-java.lang.String- -[`native methods`]: /docs/11-guides/implementing-native-methods -[`Implementing Native Methods guide`]: /docs/11-guides/implementing-native-methods +[`native methods`]: /docs/guides/implementing-native-methods +[`Implementing Native Methods guide`]: /docs/guides/implementing-native-methods [`virtual directory`]: /docs/guides/File-System-support [`javaProperties`]: /docs/reference/cheerpjInit#javaproperties [`documentation`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules diff --git a/sites/cheerpj/src/content/docs/11-guides/library-mode.md b/sites/cheerpj/src/content/docs/11-guides/library-mode.md index b382ab56..1e7372e0 100644 --- a/sites/cheerpj/src/content/docs/11-guides/library-mode.md +++ b/sites/cheerpj/src/content/docs/11-guides/library-mode.md @@ -93,7 +93,7 @@ async function iTextExample() { ## See also -Library mode is also used for [`native` methods implemented in JavaScript][JNI]. A `native` is effectively just a shorter library mode session. +Library mode is also used for [native methods implemented in JavaScript][JNI]. A `native` is effectively just a shorter library mode session. -[JNI]: /docs/guides/Implementing-Java-native-methods-in-JavaScript +[JNI]: /docs/guides/implementing-native-methods [`cheerpjRunLibrary`]: /docs/reference/cheerpjRunLibrary