langchain-ai / langchainjs

🦜🔗 Build context-aware reasoning applications 🦜🔗
https://js.langchain.com/docs/
MIT License
12.71k stars 2.19k forks source link

DOC: Retriever page link back to themselves in the navigation footer #7180

Open vedanshiprajapati opened 5 days ago

vedanshiprajapati commented 5 days ago

Checklist

Issue with current documentation:

https://js.langchain.com/docs/integrations/retrievers/

As you visit this page , and scroll down till the end you will find the navigation footer, in which even though we are on the retriever page , it still leads to the retriever page,

https://github.com/user-attachments/assets/a244e69a-97c9-4969-be07-8431094941bf

I hope the above video explains the documentation bug.

Idea or request for content:

No response

dosubot[bot] commented 5 days ago

Hey @vedanshiprajapati! I'm here to help you out with any bugs, questions, or contributions you have. Let's work together to solve this issue!

The issue you're encountering with the retriever page linking back to itself in the navigation footer might be due to how the navigation links are configured in the Docusaurus setup. The configuration for the navigation footer is typically managed in the docusaurus.config.js file under the footer key in the themeConfig object [1].

To address this, you might want to check the logic used for generating these links. The suggestedLinks object in the JavaScript file could be responsible for mapping URLs to their respective links, and it might need adjustments to prevent self-referencing links [2].

Reviewing these configurations and ensuring that the retriever page is not set to link to itself should help resolve the issue.

To continue talking to Dosu, mention @dosu.