docs: Configure Segment (#8996)
This commit is contained in:
parent
c30b81ef1d
commit
c38df91841
7 changed files with 152 additions and 25 deletions
|
|
@ -130,6 +130,7 @@ const config = {
|
|||
plugins: [
|
||||
["docusaurus-node-polyfills", { excludeAliases: ["console"] }],
|
||||
"docusaurus-plugin-image-zoom",
|
||||
["./src/plugins/segment", { segmentPublicWriteKey: process.env.SEGMENT_PUBLIC_WRITE_KEY, allowedInDev: true }],
|
||||
[
|
||||
"@docusaurus/plugin-client-redirects",
|
||||
{
|
||||
|
|
@ -335,6 +336,8 @@ const config = {
|
|||
className: "header-github-link",
|
||||
target: "_blank",
|
||||
rel: null,
|
||||
'data-event': 'Docs.langflow.org - Social Clicked',
|
||||
'data-platform': 'github'
|
||||
},
|
||||
{
|
||||
position: "right",
|
||||
|
|
@ -342,6 +345,8 @@ const config = {
|
|||
className: "header-twitter-link",
|
||||
target: "_blank",
|
||||
rel: null,
|
||||
'data-event': 'Docs.langflow.org - Social Clicked',
|
||||
'data-platform': 'x'
|
||||
},
|
||||
{
|
||||
position: "right",
|
||||
|
|
@ -349,6 +354,8 @@ const config = {
|
|||
className: "header-discord-link",
|
||||
target: "_blank",
|
||||
rel: null,
|
||||
'data-event': 'Docs.langflow.org - Social Clicked',
|
||||
'data-platform': 'discord'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue