docs: preparations for preview (#7267)

* configured base paths + added development banner

* fix typelist site url

* added navbar and sidebar badges

* configure algolia filters

* remove AI assistant

* remove unused imports

* change navbar text and badge

* lint fixes

* fix build error

* add to api reference rewrites

* fix build error

* fix build errors in user-guide

* fix feedback component

* add parent title to pagination

* added breadcrumbs component

* remove user-guide links

* resolve todos

* fix details about authentication

* change documentation title

* lint content
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-13 11:32:52 +03:00
1 parent 3e3b8a483f
commit 728c5ee53c
62 files changed
+855 -506

No files matched your search

+2 -2
View File
@@ -12,7 +12,6 @@ import remarkDirective from "remark-directive"
const mdxPluginOptions = {
options: {
rehypePlugins: [
// TODO add V2 to path if necessary
[
crossProjectLinksPlugin,
{
@@ -23,13 +22,14 @@ const mdxPluginOptions = {
process.env.VERCEL_ENV !== "production"
? process.env.NEXT_PUBLIC_DOCS_URL
: undefined,
path: "v2",
},
"user-guide": {
url:
process.env.VERCEL_ENV !== "production"
? process.env.NEXT_PUBLIC_USER_GUIDE_URL
: undefined,
path: "user-guide",
path: "v2/user-guide",
},
ui: {
url: