From cee6c4853e45fe466f359ff4b9dfb97d73aa8ce1 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Thu, 23 Nov 2023 00:47:40 +0100 Subject: [PATCH] feat(website): update docusaurus configuration to replace default strings and values --- website/docusaurus.config.ts | 67 +++++++---------------------------- website/static/favicon.ico | Bin 0 -> 15086 bytes 2 files changed, 13 insertions(+), 54 deletions(-) create mode 100644 website/static/favicon.ico diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 27fb2f4f017..51317e60623 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -3,20 +3,20 @@ import type {Config} from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; const config: Config = { - title: 'My Site', - tagline: 'Dinosaurs are cool', - favicon: 'img/favicon.ico', + title: 'Elastic UI Framework', + tagline: 'The framework powering the Elastic Stack', + favicon: 'favicon.ico', // Set the production url of your site here - url: 'https://your-docusaurus-site.example.com', + url: 'https://eui.elastic.co', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. - organizationName: 'facebook', // Usually your GitHub org/user name. - projectName: 'docusaurus', // Usually your repo name. + organizationName: 'elastic', // Usually your GitHub org/user name. + projectName: 'eui', // Usually your repo name. onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', @@ -38,14 +38,14 @@ const config: Config = { // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + 'https://github.com/elastic/eui/tree/main/website/', }, blog: { showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + 'https://github.com/elastic/eui/tree/main/website/', }, theme: { customCss: './src/css/custom.css', @@ -68,60 +68,19 @@ const config: Config = { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', - label: 'Tutorial', + label: 'Documentation', }, - {to: '/blog', label: 'Blog', position: 'left'}, { - href: 'https://github.com/facebook/docusaurus', + href: 'https://github.com/elastic/eui', label: 'GitHub', position: 'right', }, ], }, footer: { - style: 'dark', - links: [ - { - title: 'Docs', - items: [ - { - label: 'Tutorial', - to: '/docs/intro', - }, - ], - }, - { - title: 'Community', - items: [ - { - label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', - }, - { - label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', - }, - { - label: 'Twitter', - href: 'https://twitter.com/docusaurus', - }, - ], - }, - { - title: 'More', - items: [ - { - label: 'Blog', - to: '/blog', - }, - { - label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', - }, - ], - }, - ], - copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, + style: 'light', + links: [], + copyright: `EUI is dual-licensed under Elastic License 2.0 and Server Side Public License, v 1 | Crafted with ❤️ by Elastic`, }, prism: { theme: prismThemes.github, diff --git a/website/static/favicon.ico b/website/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..7775809c58040ab6eec8e00caf253a75e42da828 GIT binary patch literal 15086 zcmd6uQHT}S8OP7%CfO25S0vKvN_R0WGzGz?5TC@B6hy2Fp|Pa|Ew;r#D|s*}ls4I$ zZfj5klijQlq}V=4Q`xo;jUbJX8@27DU`@aW^|lKkFD0w1?TXub`v1+I?{ao_=H8jR z6X}J&-^{sl&iDWR=R4n=nY}t!b9J|2gOeR`Z+*eJC!KR6BjJ37bJx|jLYD8Jd%(Ga zy5NhtMqS)@1=^F(=NHWX)4$t)?;n2jFYT?uN#Uw+TkyehPWx7_%j13LcSD9 zS$y-_xPCYN<8dqIf4P_baQMu{_Qxf;CozS7yFWqx=fwY^c>MTSoXMH8x~J!Z{u^!F ziuE72anm-eRq{B^r=RmFThkTu-9tl1#S-#pD`Qv4|3l@@dgGh6;(nwe z?JdTW74tuxm-``iniccES|R^Cn#Y}K&F%cN7us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