Prep for docs versioning (#1598)

## Description

- Format config for consistency
- Use relative paths in MD
- Use absolute paths for imports

## Type of change

- [x] 🌻 Feature
- [x] 🗺️ Documentation
This commit is contained in:
Niraj Tolia 2022-11-23 13:07:32 -08:00 committed by GitHub
parent d2b5e773e7
commit 3c32136100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 9 deletions

View File

@ -5,7 +5,7 @@ authors: nica
tags: [corso, microsoft 365] tags: [corso, microsoft 365]
--- ---
![Office desk](/img/blog/office_desk.jpg) ![Office desk](../static/img/blog/office_desk.jpg)
Have you had it with Google sheets? So have I. Excel is my home. Its where I write all my best formulae. And what Have you had it with Google sheets? So have I. Excel is my home. Its 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 about PowerPoint? The way it just finds stock photos for you? The automatic alternative designs for this slide

View File

@ -25,7 +25,7 @@ AD application.
From the list of [Azure services](https://portal.azure.com/#allservices), select From the list of [Azure services](https://portal.azure.com/#allservices), select
**Azure Active Directory → App Registrations → New Registration** **Azure Active Directory → App Registrations → New Registration**
![Registering a new application](/img/m365app_create_new.png) ![Registering a new application](../../static/img/m365app_create_new.png)
### Configure basic settings ### Configure basic settings
@ -36,14 +36,14 @@ Next, configure the following:
* Skip the **Redirect URI** option * Skip the **Redirect URI** option
* Click **Register** at the bottom of the screen * Click **Register** at the bottom of the screen
![Configuring the application](/img/m365app_configure.png) ![Configuring the application](../../static/img/m365app_configure.png)
### Configure required permissions ### Configure required permissions
Within the new application (`CorsoApp` in the below diagram), select **API Permissions → Add a permission** from Within the new application (`CorsoApp` in the below diagram), select **API Permissions → Add a permission** from
the management panel. the management panel.
![Adding application permissions](/img/m365app_permissions.png) ![Adding application permissions](../../static/img/m365app_permissions.png)
Select the following permissions from **Microsoft API → Microsoft Graph → Application Permissions** and Select the following permissions from **Microsoft API → Microsoft Graph → Application Permissions** and
then click **Add permissions**. then click **Add permissions**.
@ -63,7 +63,7 @@ then click **Add permissions**.
Finally, grant admin consent to this application. This step is required even if the user that created the application Finally, grant admin consent to this application. This step is required even if the user that created the application
is an Microsoft 365 admin. is an Microsoft 365 admin.
![Granting administrator consent](/img/m365app_consent.png) ![Granting administrator consent](../../static/img/m365app_consent.png)
## Export application credentials ## Export application credentials
@ -74,7 +74,7 @@ as environment variables.
To view the tenant and client ID, select Overview from the app management panel. To view the tenant and client ID, select Overview from the app management panel.
![Obtaining Tenant and Client IDs](/img/m365app_ids.png) ![Obtaining Tenant and Client IDs](../../static/img/m365app_ids.png)
Copy the client and tenant IDs and export them into the following environment variables. Copy the client and tenant IDs and export them into the following environment variables.
@ -112,7 +112,7 @@ management panel.
Click **New Client Secret** under **Client secrets** and follow the instructions to create a secret. Click **New Client Secret** under **Client secrets** and follow the instructions to create a secret.
![Obtaining the Azure client secrete](/img/m365app_secret.png) ![Obtaining the Azure client secrete](../../static/img/m365app_secret.png)
After creating the secret, immediately copy the secret **Value** because it won't be available later. Export it as an After creating the secret, immediately copy the secret **Value** because it won't be available later. Export it as an
environment variable. environment variable.

View File

@ -84,7 +84,11 @@ const config = {
position: 'left', position: 'left',
label: 'Docs', label: 'Docs',
}, },
{to: '/blog', label: 'Blog', position: 'left'}, {
to: '/blog',
label: 'Blog',
position: 'left'
},
{ {
href: 'https://github.com/alcionai/corso', href: 'https://github.com/alcionai/corso',
label: 'GitHub', label: 'GitHub',

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
import Layout from "@theme/Layout"; import Layout from "@theme/Layout";
import { MainComp } from "../components/parts/MainComp"; import { MainComp } from "@site/src/components/parts/MainComp";
export default function Home() { export default function Home() {
return ( return (