docs: add redirect to / on 404

This commit is contained in:
Test 2024-09-16 11:00:24 -07:00
parent 09daba4523
commit ee9982482b
2 changed files with 6 additions and 22 deletions

View file

@ -1,22 +0,0 @@
export default function RecommendedModels({ isLocal }) {
return (
<div>
<div>
<h2>Recommended chat model</h2>
<p>Test</p>
</div>
<div>
<h2>Recommended autocomplete model</h2>
<p>Test</p>
</div>
<div>
<h2>Recommended embeddings model</h2>
<p>Test</p>
</div>
<div>
<h2>Recommended reranking model</h2>
<p>Test</p>
</div>
</div>
);
}

View file

@ -0,0 +1,6 @@
import React from "react";
import { Redirect } from "@docusaurus/router";
export default function ContentWrapper(props) {
return <Redirect to="/" />;
}