Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski authored and horner committed Oct 4, 2024
1 parent 9e28a43 commit a0e5118
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/containers/action/ActionRunnerContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class ActionRunnerContainer extends Container {
} else {
const env = ['render_hugo', 'exec', 'commit_branch'].includes(step.uses) ? Object.assign({
CONFIG_TOML: '/site/tmp_dir/config.toml',
BASE_URL: `${process.env.DOMAIN}/preview/${driveId}/`,
BASE_URL: `${process.env.DOMAIN}/preview/${driveId}/_manual/`,
GIT_AUTHOR_NAME: committer.name,
GIT_AUTHOR_EMAIL: committer.email,
GIT_COMMITTER_NAME: committer.name,
Expand Down
4 changes: 2 additions & 2 deletions website/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ WikiGDrive is a node app that uses the [Google Drive API](https://developers.goo
![Diagram](docs/diagram.svg)

[Google Drive Notes](https://docs.google.com/document/d/1H6vwfQXIexdg4ldfaoPUjhOZPnSkNn6h29WD6Fi-SBY/edit#)
| [Github Project](https://github.com/mieweb/wikiGDrive/projects)
| [Github Developer Notes](docs/developer-guide.md)
| [GitHub Project](https://github.com/mieweb/wikiGDrive/projects)
| [GitHub Developer Notes](docs/developer-guide.md)

With a "Shared Drive" as the key, WikiGDrive:

Expand Down
2 changes: 1 addition & 1 deletion website/docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: _index
title: Usage
navWeight: 1000 # Upper weight gets higher precedence, optional.
---
# wikiGDrive
Expand Down
17 changes: 13 additions & 4 deletions website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@ npm i -g @mieweb/wikigdrive

## App setup

Across few years Google changed this process several times.

Here are rough guidelines where to click. They will be probably changed :(.

1. Go to [console](https://console.developers.google.com/)
2. Create New Project
3. Enable Apis -> add Google Drive API
4. Enable Apis -> Add Google Docs API
5. Credentials -> Create Credentials (OAuth Client ID) -> Other ( see authorization section )
2. Under project download click ![New project](./install/new_project.png)
3. Add Google Drive API ![Enable Apis](./install/enable_api.png)
4. Go to ![Credentials](./install/create_credentials3.png)
5. Click ![Create Credentials](./install/create_credentials.png)
6. Select type of data to access ![](./install/credentials.png)
7. Create ![Service account](./install/service_account.png)
8. Download ![Service account key](./install/service_account_key.png)
8. Create ![Consent screen](./install/consent.png)
9. Create ![Oauth Client ID](./install/oauth.png)
Binary file added website/docs/install/consent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/create_credentials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/create_credentials3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/credentials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/enable_api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/enable_api_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/new_project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/oauth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/service_account.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/docs/install/service_account_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a0e5118

Please sign in to comment.