From 63c1ae9c08d823b0e0c3d80cfdca3dcb87ad4925 Mon Sep 17 00:00:00 2001 From: Josh Wong Date: Tue, 5 Nov 2024 21:28:11 +0900 Subject: [PATCH] Change `cd-collection` to `music-collection` (#135) This change is necessary because I changed the name of the source repository to include vinyl records in addition to CDs. --- .../workflows/auto-create-pr-cd-component.yml | 10 +-- docusaurus.config.js | 4 +- sidebars.js | 74 +++++++++---------- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/auto-create-pr-cd-component.yml b/.github/workflows/auto-create-pr-cd-component.yml index a4eafda2..0b55ebe2 100644 --- a/.github/workflows/auto-create-pr-cd-component.yml +++ b/.github/workflows/auto-create-pr-cd-component.yml @@ -1,10 +1,10 @@ -# This workflow auto-creates PRs for docs that have been updated in my "cd-collection" repository. -name: ✨ Auto-create PR - cd-collection docs +# This workflow auto-creates PRs for docs that have been updated in my "music-collection" repository. +name: ✨ Auto-create PR - music-collection docs on: push: branches: - - cd-collection/** + - music-collection/** jobs: create-pull-request: @@ -16,13 +16,13 @@ jobs: script: | const { repo, owner } = context.repo; const result = await github.rest.pulls.create({ - title: 'AUTO: Docs sync - `cd-collection`', + title: 'AUTO: Docs sync - `music-collection`', owner, repo, head: '${{ github.ref_name }}', base: 'main', body: [ - 'This is an automated pull request (PR) to sync changes to docs in the [josh-wong/cd-collection](https://github.com/josh-wong/cd-collection) repo to this repo.', + 'This is an automated pull request (PR) to sync changes to docs in the [josh-wong/music-collection](https://github.com/josh-wong/music-collection) repo to this repo.', '', 'Before merging this PR, confirm the following:', '', diff --git a/docusaurus.config.js b/docusaurus.config.js index 08013785..e6240c40 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -218,8 +218,8 @@ const config = { }, { type: 'doc', - label: 'CD collection💿', - docId: 'cd-collection/index', + label: 'Music collection💿', + docId: 'music-collection/index', }, { type: 'doc', diff --git a/sidebars.js b/sidebars.js index f41863b6..f7561131 100644 --- a/sidebars.js +++ b/sidebars.js @@ -74,48 +74,48 @@ const sidebars = { { type: 'doc', label: 'CD collection', - id: 'cd-collection/index', + id: 'music-collection/index', }, { 'A-Z by artist': [ - 'cd-collection/a', - 'cd-collection/b', - 'cd-collection/c', - 'cd-collection/d', - 'cd-collection/e', - 'cd-collection/f', - 'cd-collection/g', - 'cd-collection/h', - 'cd-collection/i', - 'cd-collection/j', - 'cd-collection/k', - 'cd-collection/l', - 'cd-collection/m', - 'cd-collection/n', - 'cd-collection/o', - 'cd-collection/p', - 'cd-collection/q', - 'cd-collection/r', - 'cd-collection/s', - 'cd-collection/t', - 'cd-collection/u', - 'cd-collection/v', - 'cd-collection/w', - 'cd-collection/x', - 'cd-collection/y', - 'cd-collection/z', + 'music-collection/a', + 'music-collection/b', + 'music-collection/c', + 'music-collection/d', + 'music-collection/e', + 'music-collection/f', + 'music-collection/g', + 'music-collection/h', + 'music-collection/i', + 'music-collection/j', + 'music-collection/k', + 'music-collection/l', + 'music-collection/m', + 'music-collection/n', + 'music-collection/o', + 'music-collection/p', + 'music-collection/q', + 'music-collection/r', + 'music-collection/s', + 'music-collection/t', + 'music-collection/u', + 'music-collection/v', + 'music-collection/w', + 'music-collection/x', + 'music-collection/y', + 'music-collection/z', ], '0-9 by artist': [ - 'cd-collection/0', - 'cd-collection/1', - 'cd-collection/2', - 'cd-collection/3', - 'cd-collection/4', - 'cd-collection/5', - 'cd-collection/6', - 'cd-collection/7', - 'cd-collection/8', - 'cd-collection/9', + 'music-collection/0', + 'music-collection/1', + 'music-collection/2', + 'music-collection/3', + 'music-collection/4', + 'music-collection/5', + 'music-collection/6', + 'music-collection/7', + 'music-collection/8', + 'music-collection/9', ], }, ],