Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 42 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,44 @@ module.exports = async function createConfigAsync() {
organizationName: 'temporalio', // Usually your GitHub org/user name.
projectName: 'temporal-documentation', // Usually your repo name.
headTags: [
// JSON-LD structured data so AI agents and search engines can identify
// the product (SoftwareApplication) and disambiguate the brand (sameAs).
{
tagName: 'script',
attributes: {
type: 'application/ld+json',
},
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@graph': [
{
'@type': 'Organization',
'@id': 'https://temporal.io/#organization',
name: 'Temporal Technologies',
url: 'https://temporal.io',
logo: 'https://docs.temporal.io/img/favicon.png',
sameAs: [
'https://github.com/temporalio',
'https://x.com/temporalio',
'https://www.youtube.com/c/Temporalio',
],
},
{
'@type': 'SoftwareApplication',
'@id': 'https://temporal.io/#software',
name: 'Temporal',
applicationCategory: 'DeveloperApplication',
operatingSystem: 'Cross-platform',
url: 'https://temporal.io',
downloadUrl: 'https://github.com/temporalio/temporal',
description:
'Temporal is a durable execution platform for building reliable, scalable applications using workflows and activities.',
publisher: { '@id': 'https://temporal.io/#organization' },
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
},
],
}),
},
],
clientModules: ['./src/client/remote-amplitude-analytics.js', './src/client/scrollSidebarToActivePage.ts'],
themeConfig: {
Expand All @@ -37,7 +75,10 @@ module.exports = async function createConfigAsync() {
// },
// },
},
metadata: [{ name: 'robots', content: 'follow, index' }],
metadata: [
{ name: 'robots', content: 'follow, index' },
{ property: 'og:type', content: 'website' },
],
image: '/img/assets/open-graph-shiny.png',
prism: {
theme: prismLightTheme,
Expand Down
9 changes: 9 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"value": "noindex, nofollow"
}
]
},
{
"source": "/(.*)",
"headers": [
{
"key": "Link",
"value": "<https://docs.temporal.io/sitemap.xml>; rel=\"sitemap\", <https://docs.temporal.io/llms.txt>; rel=\"alternate\"; type=\"text/plain\"; title=\"llms.txt\""
}
]
}
],
"redirects": [
Expand Down