From bc90a15a68c6abdce661df9de35ebf46246eb211 Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Sat, 8 Mar 2025 16:45:43 +0530 Subject: [PATCH] Add "Examples" link to navbar and footer Added a link to the "Examples" repository in both the navbar and the "Usage" section of the footer. This improves accessibility to code examples, providing users with an easier way to explore practical use cases. --- docs/docusaurus.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index f9366c6..9e56ba1 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -84,6 +84,7 @@ const config = { position: 'left', label: 'Docs', }, + {to: 'https://github.com/ollama4j/ollama4j-examples', label: 'Examples', position: 'left'}, {to: 'https://ollama4j.github.io/ollama4j/apidocs/', label: 'Javadoc', position: 'left'}, {to: 'https://ollama4j.github.io/ollama4j/doxygen/html/', label: 'Doxygen', position: 'left'}, {to: '/blog', label: 'Blog', position: 'left'}, @@ -106,6 +107,15 @@ const config = { }, ], }, + { + title: 'Usage', + items: [ + { + label: 'Examples', + to: 'https://github.com/ollama4j/ollama4j-examples', + }, + ], + }, { title: 'Community', items: [