Skip to content

Commit a9e12d0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 425e6e2 commit a9e12d0

File tree

117 files changed

+31260
-4709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+31260
-4709
lines changed

.docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ ADD nginx.conf /etc/nginx/nginx.conf
1212

1313
COPY --from=build /app/build /usr/share/nginx/html
1414
EXPOSE 8080
15-
CMD ["nginx", "-g", "daemon off;"]
15+
CMD ["nginx", "-g", "daemon off;"]

.docker/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ http {
6565
try_files $uri $uri/ /index.html;
6666
}
6767
}
68-
}
68+
}

.github/workflows/deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
pull_request:
88
branches:
9-
- '**'
9+
- "**"
1010

1111
workflow_dispatch:
1212

@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
repo: open-energy-transition/handbook
3838
token: ${{ github.token }}
39-
39+
4040
- name: update change log mdx
4141
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
42-
run: bash scripts/sync-changelog.sh
42+
run: bash scripts/sync-changelog.sh
4343

4444
- name: Set up Node.js
4545
uses: actions/setup-node@v3
@@ -53,7 +53,7 @@ jobs:
5353
run: bash scripts/generate-table-json.sh
5454

5555
- name: Fetch team JSON
56-
run: bash scripts/sync-data.sh
56+
run: bash scripts/sync-data.sh
5757

5858
- name: Build
5959
run: npm run build

.github/workflows/gcr-deploy.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ env:
1010
RUN_REGION: asia-southeast1
1111
SERVICE_NAME: oet-handbook-github
1212

13-
1413
jobs:
1514
build:
1615
name: Build React App
@@ -23,14 +22,14 @@ jobs:
2322
- name: Set up Node.js v18.12.1
2423
uses: actions/setup-node@v2
2524
with:
26-
node-version: '18.12.1'
25+
node-version: "18.12.1"
2726

2827
- name: Install npm 8.19.2
2928
run: npm install -g npm@8.19.2
30-
29+
3130
- name: Install dependencies
3231
run: npm install
33-
32+
3433
- name: Build Development
3534
run: CI=false npm run build
3635

@@ -57,9 +56,9 @@ jobs:
5756

5857
- name: Setup GCloud Auth
5958
id: auth
60-
uses: 'google-github-actions/auth@v0'
59+
uses: "google-github-actions/auth@v0"
6160
with:
62-
credentials_json: '${{ secrets.GCR_SA_KEY }}'
61+
credentials_json: "${{ secrets.GCR_SA_KEY }}"
6362

6463
- name: Set up Cloud SDK
6564
uses: google-github-actions/setup-gcloud@v0.2.1

.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ repos:
1111
hooks:
1212
- id: prettier
1313
args: [--write]
14-
additional_dependencies: ['prettier@3.0.0']
14+
additional_dependencies: ["prettier@3.0.0"]
1515
files: \.(js|jsx|json|css|md|mdx|yaml|yml|html)$
16-
17-

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome to the Open Energy Transition Handbook repository!
44

5-
This repository serves as a centralized hub for managing and tracking policies company-wide for Open Energy Transition.
5+
This repository serves as a centralized hub for managing and tracking policies company-wide for Open Energy Transition.
66

77
## Getting Started
88

@@ -15,34 +15,39 @@ The Open Energy Transition handbook is built on Docusaurus.
1515
To get started with development, follow these steps:
1616

1717
Install dependencies:
18+
1819
```bash
19-
npm install
20+
npm install
2021
```
2122

2223
### Generating handbook Structure JSON
2324

2425
To generate the JSON for the handbook structure, run:
26+
2527
```bash
2628
bash scripts/generate-table-json.sh
2729
```
2830

2931
### Data Synchronization
3032

3133
To fetch dependencies, execute:
34+
3235
```bash
3336
bash scripts/sync-data.sh
3437
```
3538

3639
### Development
3740

3841
To run the development server, use the following command:
42+
3943
```bash
4044
npm start
4145
```
4246

4347
### Building
4448

4549
To build the project, run:
50+
4651
```bash
4752
npm run build
4853
```

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
33
};

docs/Company/AboutOET.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ sidebar_label: "About OET"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# About OET
1217

docs/Company/CEOReadme.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "CEO Readme"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# CEO Readme
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Communication.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Communication"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Communication
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/CompanyTemplates.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Company templates"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Company templates
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Culture.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Culture"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Culture
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/EGroupWeekly.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "E-Group Weekly"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# E-Group Weekly
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/EnvironmentalSocialGovernance.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Environmental, social and governance"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Environmental, social and governance
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/GroupConversations.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Group conversations"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Group conversations
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Mission.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Mission"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Mission
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Strategy.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Strategy"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Strategy
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Team.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88
import GlobeComponent from "@site/src/components/TeamGlobe";
99

10-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
10+
<MaintainerTag
11+
maintainerEmails={[
12+
"akshat.mittal@openenergytransition.org",
13+
"fabrizio.finozzi@openenergytransition.org",
14+
]}
15+
/>
1116

1217
# Team
1318

@@ -21,4 +26,4 @@ Open Energy Transition is a global company where different cultures and points o
2126

2227
## Team information
2328

24-
For further information about our collaborators, please refer to the [team page](https://openenergytransition.org/about-us.html#team) on the Open Energy Transition website.
29+
For further information about our collaborators, please refer to the [team page](https://openenergytransition.org/about-us.html#team) on the Open Energy Transition website.

docs/Company/Values.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Values"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Values
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/Vision.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ sidebar_label: "Vision"
66
import MaintainerTag from "@site/src/components/MaintainerTag";
77
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
88

9-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
9+
<MaintainerTag
10+
maintainerEmails={[
11+
"akshat.mittal@openenergytransition.org",
12+
"fabrizio.finozzi@openenergytransition.org",
13+
]}
14+
/>
1015

1116
# Vision
17+
1218
this should be same as sidebar_label and folder name
1319

1420
<ControlledDocBanner />

docs/Company/index.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@ sidebar_position: 2
33
sidebar_label: "Company"
44
---
55

6-
import DocCardList from '@theme/DocCardList';
6+
import DocCardList from "@theme/DocCardList";
77
import MaintainerTag from "@site/src/components/MaintainerTag";
88
import ControlledDocBanner from "@site/src/components/ControlledDocBanner";
99

10-
<MaintainerTag maintainerEmails={["akshat.mittal@openenergytransition.org", "fabrizio.finozzi@openenergytransition.org"]} />
11-
10+
<MaintainerTag
11+
maintainerEmails={[
12+
"akshat.mittal@openenergytransition.org",
13+
"fabrizio.finozzi@openenergytransition.org",
14+
]}
15+
/>
1216

1317
# Company
18+
1419
this should be same as sidebar_label and folder name
1520

1621
<ControlledDocBanner />

0 commit comments

Comments
 (0)