feat(TechDocs): add default pagination to default Docs page

Signed-off-by: Yingbai He <yingbai.he@mycase.com>
This commit is contained in:
Yingbai He
2024-11-18 00:12:21 -08:00
parent 52c82714bc
commit 981a08014d
+4 -1
View File
@@ -164,7 +164,10 @@ const routes = (
/>
}
/>
<Route path="/docs" element={<TechDocsIndexPage />} />
<Route
path="/docs"
element={<TechDocsIndexPage pagination={{ mode: 'offset', limit: 20 }} />}
/>
<Route
path="/docs/:namespace/:kind/:name/*"
element={<TechDocsReaderPage />}