From 39668ed25c93745a4f300a4647201bbe9d8f82fb Mon Sep 17 00:00:00 2001 From: Maciej Rys Date: Thu, 27 Mar 2025 13:25:16 +0100 Subject: [PATCH] docs: added trailing slashes to urls to fix seo indexing (#159) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] iOS - [ ] Android - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings Co-authored-by: Maciej Rys --- docs/docs/llms/useLLM.md | 2 +- docs/docusaurus.config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/llms/useLLM.md b/docs/docs/llms/useLLM.md index 822449c5fd..6a13add6c7 100644 --- a/docs/docs/llms/useLLM.md +++ b/docs/docs/llms/useLLM.md @@ -22,7 +22,7 @@ description: "Learn how to use Llama models in your React Native applications wi React Native ExecuTorch supports Llama 3.2 models, including quantized versions. Before getting started, you’ll need to obtain the .pte binary—a serialized model—and the tokenizer. There are various ways to accomplish this: - For your convienience, it's best if you use models exported by us, you can get them from our [HuggingFace repository](https://huggingface.co/software-mansion/react-native-executorch-llama-3.2). You can also use [constants](https://github.com/software-mansion/react-native-executorch/tree/main/src/constants/modelUrls.ts) shipped with our library. -- If you want to export model by yourself, you can use a Docker image that we've prepared. To see how it works, check out [exporting Llama](./exporting-llama) +- If you want to export model by yourself, you can use a Docker image that we've prepared. To see how it works, check out [exporting Llama](/react-native-executorch/docs/llms/exporting-llama) - Follow the official [tutorial](https://github.com/pytorch/executorch/blob/fe20be98c/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md) made by ExecuTorch team to build the model and tokenizer yourself ## Initializing diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 389aa6cb07..a76f43649c 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -12,6 +12,8 @@ const config = { baseUrl: '/react-native-executorch/', + trailingSlash: false, + organizationName: 'software-mansion', projectName: 'react-native-executorch',