Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Rename the docusaurus directory to website #7549

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading