Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 24, 2024
1 parent 3c94a76 commit 8bc969e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
46 changes: 23 additions & 23 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const config: Config = {
attributes: {
rel: 'icon',
type: 'image/png',
href: '/clang/favicons/favicon-48x48.png',
href: '/clang-xpack/favicons/favicon-48x48.png',
sizes: '48x48'
}
},
Expand All @@ -206,14 +206,14 @@ const config: Config = {
attributes: {
rel: 'icon',
type: 'image/svg+xml',
href: '/clang/favicons/favicon.svg'
href: '/clang-xpack/favicons/favicon.svg'
}
},
{
tagName: 'link',
attributes: {
rel: 'shortcut icon',
href: '/clang/favicons/favicon.ico'
href: '/clang-xpack/favicons/favicon.ico'
}
},
{
Expand All @@ -228,7 +228,7 @@ const config: Config = {
tagName: 'link',
attributes: {
rel: 'manifest',
href: '/clang/favicons/site.webmanifest'
href: '/clang-xpack/favicons/site.webmanifest'
}
}
],
Expand Down Expand Up @@ -424,25 +424,25 @@ const config: Config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
algolia: {
// https://docsearch.algolia.com/docs/docsearch-v3/
appId: "KIDD7R4CL1",
apiKey: "ca2ffc431941284609f2d50202fc5506",
indexName: "xpackio",

// It ensures that search results are relevant to the current
// language and version. Enabled by default.
contextualSearch: false, // true,
// Optional: Replace parts of the item URLs from Algolia.
// Useful when using the same search index for multiple deployments
// using a different baseUrl. You can use regexp or string in the
// `from` param. For example: localhost:3000 vs myCompany.com/docs
// replaceSearchResultPathname: undefined,
// Optional: Algolia search parameters
searchParameters: {},
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: false, // 'search',
},
// algolia: {
// // https://docsearch.algolia.com/docs/docsearch-v3/
// appId: "KIDD7R4CL1",
// apiKey: "ca2ffc431941284609f2d50202fc5506",
// indexName: "xpackio",

// // It ensures that search results are relevant to the current
// // language and version. Enabled by default.
// contextualSearch: false, // true,
// // Optional: Replace parts of the item URLs from Algolia.
// // Useful when using the same search index for multiple deployments
// // using a different baseUrl. You can use regexp or string in the
// // `from` param. For example: localhost:3000 vs myCompany.com/docs
// // replaceSearchResultPathname: undefined,
// // Optional: Algolia search parameters
// searchParameters: {},
// // Optional: path for search page that enabled by default (`false` to disable it)
// searchPagePath: false, // 'search',
// },
} satisfies Preset.ThemeConfig,

customFields: customFields,
Expand Down
4 changes: 2 additions & 2 deletions website/static/favicons/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"short_name": "xPack",
"icons": [
{
"src": "/clang/favicons/web-app-manifest-192x192.png",
"src": "/clang-xpack/favicons/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/clang/favicons/web-app-manifest-512x512.png",
"src": "/clang-xpack/favicons/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
Expand Down
7 changes: 7 additions & 0 deletions website/static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Sitemap: https://xpack-dev-tools.github.io/clang-xpack/sitemap.xml

User-agent: *
Disallow: /clang-xpack/blog/archive/
Disallow: /clang-xpack/blog/authors/
Disallow: /clang-xpack/blog/page/
Disallow: /clang-xpack/blog/tags/

0 comments on commit 8bc969e

Please sign in to comment.