update docs links (#3076)
This commit is contained in:
parent
f13ad8a882
commit
0a999247e4
17 changed files with 18 additions and 18 deletions
|
|
@ -39,7 +39,7 @@ const CustomFields = () => {
|
|||
<Typography.Text>
|
||||
Attach key-value pairs to session replays for enhanced filtering, searching, and identifying relevant user
|
||||
sessions.
|
||||
<a href="https://docs.openreplay.com/installation/metadata" className="link ml-1" target="_blank">
|
||||
<a href="https://docs.openreplay.com/en/session-replay/metadata" className="link ml-1" target="_blank">
|
||||
Learn more
|
||||
</a>
|
||||
</Typography.Text>
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ const Sites = () => {
|
|||
actionButton={
|
||||
<TextLink
|
||||
icon="book"
|
||||
href="https://docs.openreplay.com/installation"
|
||||
href="https://docs.openreplay.com/deployment/setup-or"
|
||||
label="Installation Docs"
|
||||
/>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ function IdentifyUsersTab(props: Props) {
|
|||
</div>
|
||||
|
||||
<a
|
||||
href={`https://docs.openreplay.com/en/installation/identify-user${platform.value === "web" ? "/#with-npm" : "/#with-ios-app"}`}
|
||||
href={`https://docs.openreplay.com/en/session-replay/identify-user${platform.value === "web" ? "/#with-npm" : "/#with-ios-app"}`}
|
||||
target="_blank"
|
||||
>
|
||||
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function InstallOpenReplayTab(props: Props) {
|
|||
<ProjectFormButton />
|
||||
</div>
|
||||
</div>
|
||||
<a href={"https://docs.openreplay.com/en/using-or/"} target="_blank">
|
||||
<a href={"https://docs.openreplay.com/en/sdk/using-or/"} target="_blank">
|
||||
<Button size={"small"} type={"text"} className="ml-2 flex items-center gap-2">
|
||||
<Icon name={"question-circle"} />
|
||||
<div className={"text-main"}>See Documentation</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ function ManageUsersTab(props: Props) {
|
|||
</div>
|
||||
|
||||
<a
|
||||
href="https://docs.openreplay.com/en/tutorials/adding-users/"
|
||||
href="https://docs.openreplay.com/en/deployment/invite-team-members"
|
||||
target="_blank"
|
||||
>
|
||||
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ function InstallDocs({ site }) {
|
|||
<div className="mb-2 text-sm">
|
||||
Otherwise, if your web app is <strong>Server-Side-Rendered (SSR)</strong> (i.e.
|
||||
NextJS, NuxtJS),{' '}
|
||||
<a className={'text-main'} href={'https://docs.openreplay.com/en/using-or/next/'}>consider async imports</a>
|
||||
<a className={'text-main'} href={'https://docs.openreplay.com/en/sdk/using-or/next/'}>consider async imports</a>
|
||||
or cjs version of the library:
|
||||
</div>
|
||||
<div className={cn(stl.snippetWrapper)}>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function Metadata () {
|
|||
const metaLength = Object.keys(metadata).length;
|
||||
if (metaLength === 0) {
|
||||
return (
|
||||
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/installation/metadata" target="_blank" className="link">how to use Metadata</a> if you haven’t yet done so.</span>)
|
||||
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/en/session-replay/metadata" target="_blank" className="link">how to use Metadata</a> if you haven’t yet done so.</span>)
|
||||
)
|
||||
}
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function Metadata () {
|
|||
const metaLength = Object.keys(metadata).length;
|
||||
if (metaLength === 0) {
|
||||
return (
|
||||
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/installation/metadata" target="_blank" className="link">how to use Metadata</a> if you haven’t yet done so.</span>)
|
||||
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/en/session-replay/metadata" target="_blank" className="link">how to use Metadata</a> if you haven’t yet done so.</span>)
|
||||
)
|
||||
}
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ function ExceptionsCont() {
|
|||
<a
|
||||
className="color-teal underline"
|
||||
target="_blank"
|
||||
href="https://docs.openreplay.com/installation/upload-sourcemaps"
|
||||
href="https://docs.openreplay.com/deployment/upload-sourcemaps"
|
||||
>
|
||||
Upload Source Maps{' '}
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ function FetchTabs({ resource, isSpot }: Props) {
|
|||
<div className="mt-6 text-base font-normal">
|
||||
Body is empty or not captured.
|
||||
{' '}
|
||||
<a href="https://docs.openreplay.com/installation/network-options" className="link" target="_blank">
|
||||
<a href="https://docs.openreplay.com/en/sdk/network-options" className="link" target="_blank">
|
||||
Configure
|
||||
</a>
|
||||
{' '}
|
||||
|
|
@ -142,7 +142,7 @@ function FetchTabs({ resource, isSpot }: Props) {
|
|||
<div className="mt-6 text-base font-normal">
|
||||
Body is empty or not captured.
|
||||
{' '}
|
||||
<a href="https://docs.openreplay.com/installation/network-options" className="link" target="_blank">
|
||||
<a href="https://docs.openreplay.com/en/sdk/network-options" className="link" target="_blank">
|
||||
Configure
|
||||
</a>
|
||||
{' '}
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ function FilterModal(props: Props) {
|
|||
type={'text'}
|
||||
className='text-teal'
|
||||
onClick={() => {
|
||||
const docs = 'https://docs.openreplay.com/en/installation/metadata/';
|
||||
const docs = 'https://docs.openreplay.com/en/en/session-replay/metadata/';
|
||||
window.open(docs, '_blank');
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { Button } from 'antd'
|
|||
import { observer } from 'mobx-react-lite';
|
||||
import { useStore } from 'App/mstore';
|
||||
|
||||
const docLink = 'https://docs.openreplay.com/installation/upload-sourcemaps';
|
||||
const docLink = 'https://docs.openreplay.com/deployment/upload-sourcemaps';
|
||||
|
||||
interface Props {
|
||||
fetchErrorStackList: any;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const stepsMap: any = {
|
|||
title: '🧑💻 Invite Team Members',
|
||||
status: 'pending',
|
||||
description: 'Invite team members, collaborate and start improving your app now.',
|
||||
docsLink: 'https://docs.openreplay.com/en/tutorials/adding-users/',
|
||||
docsLink: 'https://docs.openreplay.com/en/deployment/invite-team-members',
|
||||
url: 'team',
|
||||
},
|
||||
Integrations: {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Please use [bun](https://bun.sh/) to install and build this library. Any submitt
|
|||
|
||||
## Documentation
|
||||
|
||||
For launch options and available public methods, [refer to the documentation](https://docs.openreplay.com/installation/javascript-sdk#options)
|
||||
For launch options and available public methods, [refer to the documentation](https://docs.openreplay.com/en/sdk/methods)
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ export type Options = Partial<
|
|||
__DISABLE_SECURE_MODE?: boolean
|
||||
}
|
||||
|
||||
const DOCS_SETUP = '/installation/javascript-sdk'
|
||||
const DOCS_SETUP = '/en/sdk'
|
||||
|
||||
function processOptions(obj: any): obj is Options {
|
||||
if (obj == null) {
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export function hasOpenreplayAttribute(e: Element, attr: string): boolean {
|
|||
`"${newName}" attribute`,
|
||||
// @ts-ignore
|
||||
`"${DEPRECATED_ATTRS[attr] as string}" attribute`,
|
||||
'/installation/sanitize-data',
|
||||
'/en/sdk/sanitize-data',
|
||||
)
|
||||
}
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ describe('hasOpenreplayAttribute', () => {
|
|||
const result = hasOpenreplayAttribute(element, 'htmlmasked')
|
||||
expect(result).toBe(true)
|
||||
expect(consoleWarnSpy).toHaveBeenCalledWith(
|
||||
'OpenReplay: "data-openreplay-htmlmasked" attribute is deprecated. Please, use "hidden" attribute instead. Visit https://docs.openreplay.com/installation/sanitize-data for more information.',
|
||||
'OpenReplay: "data-openreplay-htmlmasked" attribute is deprecated. Please, use "hidden" attribute instead. Visit https://docs.openreplay.com/en/sdk/sanitize-data for more information.',
|
||||
)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue