diff --git a/docs/Dockerfile b/docs/Dockerfile index f33c79e58..589194249 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -4,7 +4,7 @@ LABEL MAINTAINER="Niraj Tolia" ARG DEBIAN_FRONTEND=noninteractive # NOTE for lines 13,15: update in CI when updating -RUN apt-get -y update && apt-get -y install gpg emacs curl git make \ +RUN apt-get -y update && apt-get -y install gpg emacs curl zip git make \ && curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \ && apt-get -y install nodejs \ && apt-get autoclean \ @@ -12,7 +12,9 @@ RUN apt-get -y update && apt-get -y install gpg emacs curl git make \ && npm --version \ && cd /tmp && curl -O -L https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz \ && tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C /usr/bin vale \ - && npm install -g markdownlint-cli@0.32.2 + && npm install -g markdownlint-cli@0.32.2 \ + && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ + && unzip awscliv2.zip && /bin/bash aws/install && rm -rf awscliv2.zip aws WORKDIR /usr/src COPY package.json package-lock.json* ./ diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 7b8a70357..ffdd25e1e 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); const config = { title: 'Corso Documentation', tagline: 'Free, Secure, and Open-Source Backup for Microsoft 365', - url: 'https://docs.corsobackup.io', + url: 'https://corsobackup.io', baseUrl: process.env.CORSO_DOCS_BASEURL || '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'throw', @@ -140,8 +140,8 @@ const config = { }, colorMode: { defaultMode: 'dark', - disableSwitch: false, - respectPrefersColorScheme: true, + disableSwitch: true, + respectPrefersColorScheme: false, }, zoom: { diff --git a/docs/src/components/parts/FirstSection.js b/docs/src/components/parts/FirstSection.js index 8ddbcaf98..66b52342e 100644 --- a/docs/src/components/parts/FirstSection.js +++ b/docs/src/components/parts/FirstSection.js @@ -51,7 +51,7 @@ export default function FirstSection() { }} > Cloud backup and storage diff --git a/docs/src/components/parts/ThirdSection.js b/docs/src/components/parts/ThirdSection.js index 484738eda..02924bf9d 100644 --- a/docs/src/components/parts/ThirdSection.js +++ b/docs/src/components/parts/ThirdSection.js @@ -193,7 +193,7 @@ export default function ThirdSection() { data-wow-delay=".3s" > Group discussion @@ -258,7 +258,7 @@ export default function ThirdSection() { data-wow-delay=".5s" > Approval of fingerprint security @@ -311,7 +311,7 @@ export default function ThirdSection() { data-wow-delay=".5s" > Data extraction dashboard @@ -376,7 +376,7 @@ export default function ThirdSection() { data-wow-delay=".5s" > Adding money to a savings jar diff --git a/docs/static/assets/images/why/chat.svg b/docs/static/img/why/chat.svg similarity index 100% rename from docs/static/assets/images/why/chat.svg rename to docs/static/img/why/chat.svg diff --git a/docs/static/assets/images/why/data.svg b/docs/static/img/why/data.svg similarity index 100% rename from docs/static/assets/images/why/data.svg rename to docs/static/img/why/data.svg diff --git a/docs/static/assets/images/why/savings.svg b/docs/static/img/why/savings.svg similarity index 100% rename from docs/static/assets/images/why/savings.svg rename to docs/static/img/why/savings.svg diff --git a/docs/static/assets/images/why/security.svg b/docs/static/img/why/security.svg similarity index 100% rename from docs/static/assets/images/why/security.svg rename to docs/static/img/why/security.svg