mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-06 20:53:56 -05:00
35 lines
815 B
TypeScript
35 lines
815 B
TypeScript
// import type { RedirectItem } from '@docusaurus/plugin-client-redirects/lib/types';
|
|
|
|
type RedirectItem = {
|
|
/** Pathname of the new page we should create */
|
|
from: string | string[];
|
|
/** Pathname of an existing Docusaurus page */
|
|
to: string;
|
|
};
|
|
|
|
export const redirects: RedirectItem[] = [
|
|
{
|
|
to: '/docs/faq',
|
|
from: '/faq', // we do not need to add '/faq.html' because it is already handled by the plugin
|
|
},
|
|
{
|
|
to: '/docs/intro',
|
|
from: '/intro'
|
|
},
|
|
{
|
|
to: '/docs/intro',
|
|
from: '/docs'
|
|
},
|
|
{
|
|
to: '/docs/motivation',
|
|
from: '/motivation',
|
|
},
|
|
{
|
|
to: '/docs/quick_start',
|
|
from: '/quick_start',
|
|
},
|
|
{
|
|
to: '/docs/quick_start/tlsn-js',
|
|
from: '/quick_start/tlsn-js',
|
|
},
|
|
]; |