Skip to content

Commit

Permalink
docs: Rename the docusaurus directory to website
Browse files Browse the repository at this point in the history
Rename the directory so that it is named after the purpose instead of
after the used tool.

Signed-off-by: Martin Nonnenmacher <[email protected]>
  • Loading branch information
mnonnenmacher committed Sep 21, 2023
1 parent 2f6e9b8 commit 14cc5f1
Show file tree
Hide file tree
Showing 58 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docusaurus Deploy
name: Website Deploy

on:
push:
Expand All @@ -7,26 +7,26 @@ on:

jobs:
build:
name: Docusaurus Build
name: Website Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: docusaurus/package-lock.json
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: docusaurus
working-directory: website
- name: Build website
run: npm run build
working-directory: docusaurus
working-directory: website
- uses: actions/upload-pages-artifact@v2
with:
path: docusaurus/build
path: website/build
deploy:
name: Docusaurus Deploy
name: Website Deploy
needs: build
permissions:
pages: write
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docusaurus Test
name: Website Test

on:
pull_request:
Expand All @@ -7,18 +7,18 @@ on:

jobs:
test:
name: Docusaurus Test
name: Website Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: docusaurus/package-lock.json
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: docusaurus
working-directory: website
- name: Test build
run: npm run build
working-directory: docusaurus
working-directory: website
8 changes: 4 additions & 4 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ Files: clients/github-graphql/src/main/assets/*
Copyright: 2021 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
License: Apache-2.0

Files: docusaurus/*
Copyright: 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
License: Apache-2.0

Files: examples/*
Copyright: 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
License: Apache-2.0
Expand Down Expand Up @@ -88,6 +84,10 @@ Files: plugins/reporters/web-app-template/*
Copyright: 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
License: Apache-2.0

Files: website/*
Copyright: 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
License: Apache-2.0

# Third-party files.

Files: batect*
Expand Down
14 changes: 7 additions & 7 deletions buildSrc/src/main/kotlin/LicenseUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ object CopyrightableFiles {
"LICENSE",
"NOTICE",
"batect",
"docusaurus/babel.config.js",
"docusaurus/docusaurus.config.js",
"docusaurus/docs/configuration/_category_.yml",
"docusaurus/docs/getting-started/_category_.yml",
"docusaurus/docs/guides/_category_.yml",
"docusaurus/docs/tools/_category_.yml",
"docusaurus/sidebars.js",
"website/babel.config.js",
"website/docusaurus.config.js",
"website/docs/configuration/_category_.yml",
"website/docs/getting-started/_category_.yml",
"website/docs/guides/_category_.yml",
"website/docs/tools/_category_.yml",
"website/sidebars.js",
"gradlew",
"gradle/",
"examples/",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit 14cc5f1

Please sign in to comment.