diff --git a/docs/Makefile b/docs/Makefile index 061389d6c..01324c49d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,4 +1,4 @@ -.PHONY: buildimage build dev shell check genclidocs _validatemdgen +.PHONY: buildimage build dev shell check genclidocs _validatemdgen publish sync CORSO_BUILD_DIR := /tmp/.corsobuild CORSO_BUILD_CACHE := ${CORSO_BUILD_DIR}/cache @@ -57,3 +57,13 @@ ${MDGEN_BINARY}: $(shell find ${CORSO_LOCAL_PATH}/src -type f -name *.go) $(shel clean: $(DOCSC) rm -rf docs/cli build node_modules $(GOC) rm -rf ${CORSO_BUILD_DIR}/* + +publish: clean build + docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY \ + -e AWS_SESSION_TOKEN -e AWS_REGION \ + --rm -v ${PWD}:/usr/src/docs corso/docs:latest \ + make sync + +sync: + aws s3 sync /usr/src/docs/build/ s3://corsobackup.io/ --exclude ".git/*" --delete + aws cloudfront create-invalidation --distribution-id E1W9NGI9YTVZ1A --paths "/*" diff --git a/docs/blog/2022-11-16-corso-announcement-free-backup-for-microsoft-365.md b/docs/blog/2022-11-16-corso-announcement-free-backup-for-microsoft-365.md index e699b4685..e76d0359b 100644 --- a/docs/blog/2022-11-16-corso-announcement-free-backup-for-microsoft-365.md +++ b/docs/blog/2022-11-16-corso-announcement-free-backup-for-microsoft-365.md @@ -5,6 +5,8 @@ authors: nica tags: [corso, microsoft 365] --- +![Office desk](/img/blog/office_desk.jpg) + Have you had it with Google sheets? So have I. Excel is my home. It’s where I write all my best formulae. And what about PowerPoint? The way it just finds stock photos for you? The automatic ‘alternative designs for this slide’ button? It’s too good. I can’t give up Microsoft 365. @@ -60,7 +62,7 @@ support is coming soon). Corso’s secure backup protects against accidental data loss, service provider downtime and malicious threats, including ransomware attacks. Plus, a robust user community provides a venue for admins to share and learn about data protection -and find best practices for how to security configure their M365 environments. As a member of the community, you’ll +and find best practices for how to securely configure their M365 environments. As a member of the community, you’ll have access to blogs, forums, and discussion, as well as updates on public and feedback-driven development. [Join the Corso community on Discord](https://discord.gg/63DTTSnuhT). @@ -73,7 +75,7 @@ costs, as well. ## Interested in Trying Corso? -Corso is currently a tool in alpha to give you a CLI for backups of your M365 data. +Corso, currently in alpha, provides a CLI-based tool for backups of your M365 data. [Follow the quickstart guide](https://docs.corsobackup.io/) to start protecting your business-critical M365 data in just a few minutes. Because Corso is currently in alpha, it should NOT be used in production. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 0171777ad..7b8a70357 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -133,11 +133,6 @@ const config = { label: 'GitHub', href: 'https://github.com/alcionai/corso', }, - { - label: 'Corso Website', - href: 'https://corsobackup.io/', - }, - ], }, ], diff --git a/docs/src/components/parts/FirstSection.js b/docs/src/components/parts/FirstSection.js index ab844e4b7..17a75cdeb 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/css/custom.scss b/docs/src/css/custom.scss index dd4c028ea..3f742255b 100644 --- a/docs/src/css/custom.scss +++ b/docs/src/css/custom.scss @@ -38,8 +38,6 @@ html{ background: url("../../static/assets/images/cta.jpg") } - - /* You can override the default Infima variables here. */ :root { --ifm-color-primary: #1e204e; diff --git a/docs/src/pages/markdown-page.md b/docs/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b66..000000000 --- a/docs/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages. diff --git a/docs/static/assets/images/blog/ian_tweet.png b/docs/static/assets/images/blog/ian_tweet.png deleted file mode 100644 index 00d810cb8..000000000 Binary files a/docs/static/assets/images/blog/ian_tweet.png and /dev/null differ diff --git a/docs/static/assets/images/blog/work.jpg b/docs/static/assets/images/blog/work.jpg deleted file mode 100644 index bd649ce0f..000000000 Binary files a/docs/static/assets/images/blog/work.jpg and /dev/null differ diff --git a/docs/static/assets/images/cloudbackup.png b/docs/static/assets/images/cloudbackup.png deleted file mode 100644 index 27f1e7661..000000000 Binary files a/docs/static/assets/images/cloudbackup.png and /dev/null differ diff --git a/docs/static/assets/images/favicon.svg b/docs/static/assets/images/favicon.svg deleted file mode 100644 index 161de0c00..000000000 --- a/docs/static/assets/images/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/assets/images/logo-dark.svg b/docs/static/assets/images/logo-dark.svg deleted file mode 100644 index 98ce0ce76..000000000 --- a/docs/static/assets/images/logo-dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/assets/images/logo-light.svg b/docs/static/assets/images/logo-light.svg deleted file mode 100644 index a2a377172..000000000 --- a/docs/static/assets/images/logo-light.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/assets/images/logomark-dark.svg b/docs/static/assets/images/logomark-dark.svg deleted file mode 100644 index 161de0c00..000000000 --- a/docs/static/assets/images/logomark-dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/assets/images/logomark-light.svg b/docs/static/assets/images/logomark-light.svg deleted file mode 100644 index cad446b3b..000000000 --- a/docs/static/assets/images/logomark-light.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/assets/images/modern.mp4 b/docs/static/assets/images/modern.mp4 deleted file mode 100644 index a99d5c1df..000000000 Binary files a/docs/static/assets/images/modern.mp4 and /dev/null differ diff --git a/docs/static/assets/images/people/nica.jpeg b/docs/static/assets/images/people/nica.jpeg deleted file mode 100644 index 3a2c8c066..000000000 Binary files a/docs/static/assets/images/people/nica.jpeg and /dev/null differ diff --git a/docs/static/assets/images/blog/office_desk.jpg b/docs/static/img/blog/office_desk.jpg similarity index 100% rename from docs/static/assets/images/blog/office_desk.jpg rename to docs/static/img/blog/office_desk.jpg diff --git a/docs/static/assets/images/cloudbackup.svg b/docs/static/img/cloudbackup.svg similarity index 100% rename from docs/static/assets/images/cloudbackup.svg rename to docs/static/img/cloudbackup.svg diff --git a/docs/static/img/favicon.ico b/docs/static/img/favicon.ico deleted file mode 100644 index c01d54bcd..000000000 Binary files a/docs/static/img/favicon.ico and /dev/null differ