From adf0f4807e6cbb8579b11ace365dcaa9e3152bcc Mon Sep 17 00:00:00 2001 From: trigaten Date: Thu, 30 Nov 2023 01:58:34 -0500 Subject: [PATCH 1/2] update baseurl --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 13d98dbf38b..f0177b43455 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -9,7 +9,7 @@ async function createConfig() { tagline: "A Free, Open Source Course on Communicating with Artificial Intelligence", url: "https://learnprompting.org", - baseUrl: "/", + baseUrl: "/docs", onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", favicon: "img/favicon.ico", From 427b117b435411e568b27dcc72df4ca55e8044bd Mon Sep 17 00:00:00 2001 From: trigaten Date: Thu, 30 Nov 2023 02:04:48 -0500 Subject: [PATCH 2/2] fix: link --- docs/prompt_hacking/defensive_measures/sandwich_defense.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/prompt_hacking/defensive_measures/sandwich_defense.md b/docs/prompt_hacking/defensive_measures/sandwich_defense.md index 0256c2feca4..ee53c83dcf9 100644 --- a/docs/prompt_hacking/defensive_measures/sandwich_defense.md +++ b/docs/prompt_hacking/defensive_measures/sandwich_defense.md @@ -21,6 +21,6 @@ Translate the following to French: Remember, you are translating the above text to French. ``` -This defense should be more secure than post-prompting, but is known to be vulnerable to a defined dictionary attack. See the [defined dictionary attack](/docs/prompt_hacking/offensive_measures/defined_dictionary) for more information. +This defense should be more secure than post-prompting, but is known to be vulnerable to a defined dictionary attack. See the [defined dictionary attack](@site/docs/prompt_hacking/offensive_measures/defined_dictionary) for more information. [^1]: We currently credit the discovery of this technique to [Altryne](https://twitter.com/altryne?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor) \ No newline at end of file