From b6e52e128e7a105682adf885850d14deefdff3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 9 Apr 2023 18:13:52 +0300 Subject: [PATCH] chore(website): move website to docs for GitHub pages deployment --- .dockerignore | 2 +- .github/workflows/ci.yml | 2 +- {website => docs}/.gitignore | 0 {website => docs}/README.md | 0 {website => docs}/babel.config.js | 0 {website => docs}/blog/authors.yml | 0 {website => docs}/blog/git-cliff-0.5.0.md | 0 {website => docs}/docs/configuration.md | 0 {website => docs}/docs/docker.md | 0 .../docs/github-actions/_category_.json | 0 .../docs/github-actions/git-cliff-action.md | 0 .../docs/github-actions/setup-git-cliff.md | 0 .../docs/github-actions/tj-actions-git-cliff.md | 0 {website => docs}/docs/gitlab.md | 0 {website => docs}/docs/index.md | 0 .../docs/installation/binary-releases.md | 0 .../docs/installation/build-from-source.md | 0 {website => docs}/docs/installation/crates-io.md | 0 {website => docs}/docs/installation/index.md | 0 {website => docs}/docs/installation/macports.md | 0 {website => docs}/docs/installation/npm.md | 0 {website => docs}/docs/installation/pacman.md | 0 {website => docs}/docs/integration/_category_.json | 0 {website => docs}/docs/integration/python.md | 0 {website => docs}/docs/integration/rust.md | 0 {website => docs}/docs/templating/_category_.json | 0 {website => docs}/docs/templating/context.md | 0 {website => docs}/docs/templating/examples.md | 0 {website => docs}/docs/templating/syntax.md | 0 {website => docs}/docs/usage/examples.md | 0 {website => docs}/docs/usage/usage.md | 0 {website => docs}/docusaurus.config.js | 4 ++-- {website => docs}/package-lock.json | 0 {website => docs}/package.json | 0 {website => docs}/sidebars.js | 0 .../src/components/HomepageFeatures/index.tsx | 0 .../components/HomepageFeatures/styles.module.css | 0 {website => docs}/src/css/custom.css | 0 {website => docs}/src/pages/index.module.css | 0 {website => docs}/src/pages/index.tsx | 0 {website => docs}/static/.nojekyll | 0 .../static/favicon/android-chrome-192x192.png | Bin .../static/favicon/android-chrome-512x512.png | Bin .../static/favicon/apple-touch-icon.png | Bin {website => docs}/static/favicon/favicon-16x16.png | Bin {website => docs}/static/favicon/favicon-32x32.png | Bin {website => docs}/static/favicon/favicon.ico | Bin {website => docs}/static/favicon/site.webmanifest | 0 {website => docs}/static/fonts/aAngkanyaSebelas.ttf | Bin {website => docs}/static/img/demo.png | Bin .../static/img/git-cliff-social-card.jpg | Bin {website => docs}/static/img/git-cliff.png | Bin {website => docs}/static/img/logo.png | Bin {website => docs}/tsconfig.json | 0 {website => docs}/yarn.lock | 0 55 files changed, 4 insertions(+), 4 deletions(-) rename {website => docs}/.gitignore (100%) rename {website => docs}/README.md (100%) rename {website => docs}/babel.config.js (100%) rename {website => docs}/blog/authors.yml (100%) rename {website => docs}/blog/git-cliff-0.5.0.md (100%) rename {website => docs}/docs/configuration.md (100%) rename {website => docs}/docs/docker.md (100%) rename {website => docs}/docs/github-actions/_category_.json (100%) rename {website => docs}/docs/github-actions/git-cliff-action.md (100%) rename {website => docs}/docs/github-actions/setup-git-cliff.md (100%) rename {website => docs}/docs/github-actions/tj-actions-git-cliff.md (100%) rename {website => docs}/docs/gitlab.md (100%) rename {website => docs}/docs/index.md (100%) rename {website => docs}/docs/installation/binary-releases.md (100%) rename {website => docs}/docs/installation/build-from-source.md (100%) rename {website => docs}/docs/installation/crates-io.md (100%) rename {website => docs}/docs/installation/index.md (100%) rename {website => docs}/docs/installation/macports.md (100%) rename {website => docs}/docs/installation/npm.md (100%) rename {website => docs}/docs/installation/pacman.md (100%) rename {website => docs}/docs/integration/_category_.json (100%) rename {website => docs}/docs/integration/python.md (100%) rename {website => docs}/docs/integration/rust.md (100%) rename {website => docs}/docs/templating/_category_.json (100%) rename {website => docs}/docs/templating/context.md (100%) rename {website => docs}/docs/templating/examples.md (100%) rename {website => docs}/docs/templating/syntax.md (100%) rename {website => docs}/docs/usage/examples.md (100%) rename {website => docs}/docs/usage/usage.md (100%) rename {website => docs}/docusaurus.config.js (99%) rename {website => docs}/package-lock.json (100%) rename {website => docs}/package.json (100%) rename {website => docs}/sidebars.js (100%) rename {website => docs}/src/components/HomepageFeatures/index.tsx (100%) rename {website => docs}/src/components/HomepageFeatures/styles.module.css (100%) rename {website => docs}/src/css/custom.css (100%) rename {website => docs}/src/pages/index.module.css (100%) rename {website => docs}/src/pages/index.tsx (100%) rename {website => docs}/static/.nojekyll (100%) rename {website => docs}/static/favicon/android-chrome-192x192.png (100%) rename {website => docs}/static/favicon/android-chrome-512x512.png (100%) rename {website => docs}/static/favicon/apple-touch-icon.png (100%) rename {website => docs}/static/favicon/favicon-16x16.png (100%) rename {website => docs}/static/favicon/favicon-32x32.png (100%) rename {website => docs}/static/favicon/favicon.ico (100%) rename {website => docs}/static/favicon/site.webmanifest (100%) rename {website => docs}/static/fonts/aAngkanyaSebelas.ttf (100%) rename {website => docs}/static/img/demo.png (100%) rename {website => docs}/static/img/git-cliff-social-card.jpg (100%) rename {website => docs}/static/img/git-cliff.png (100%) rename {website => docs}/static/img/logo.png (100%) rename {website => docs}/tsconfig.json (100%) rename {website => docs}/yarn.lock (100%) diff --git a/.dockerignore b/.dockerignore index f672795a62..600e880f2a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,7 +2,7 @@ /.git/ /.github/ /npm/ -/website/ +/docs/ # Files .editorconfig diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 174bb75604..55047fc995 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: with: args: > --exclude "%7Busername%7D|file:///|https://datatracker.ietf.org|protonmail" - -v *.md website/docs/* website/blog/* + -v *.md docs/docs/* docs/blog/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/website/.gitignore b/docs/.gitignore similarity index 100% rename from website/.gitignore rename to docs/.gitignore diff --git a/website/README.md b/docs/README.md similarity index 100% rename from website/README.md rename to docs/README.md diff --git a/website/babel.config.js b/docs/babel.config.js similarity index 100% rename from website/babel.config.js rename to docs/babel.config.js diff --git a/website/blog/authors.yml b/docs/blog/authors.yml similarity index 100% rename from website/blog/authors.yml rename to docs/blog/authors.yml diff --git a/website/blog/git-cliff-0.5.0.md b/docs/blog/git-cliff-0.5.0.md similarity index 100% rename from website/blog/git-cliff-0.5.0.md rename to docs/blog/git-cliff-0.5.0.md diff --git a/website/docs/configuration.md b/docs/docs/configuration.md similarity index 100% rename from website/docs/configuration.md rename to docs/docs/configuration.md diff --git a/website/docs/docker.md b/docs/docs/docker.md similarity index 100% rename from website/docs/docker.md rename to docs/docs/docker.md diff --git a/website/docs/github-actions/_category_.json b/docs/docs/github-actions/_category_.json similarity index 100% rename from website/docs/github-actions/_category_.json rename to docs/docs/github-actions/_category_.json diff --git a/website/docs/github-actions/git-cliff-action.md b/docs/docs/github-actions/git-cliff-action.md similarity index 100% rename from website/docs/github-actions/git-cliff-action.md rename to docs/docs/github-actions/git-cliff-action.md diff --git a/website/docs/github-actions/setup-git-cliff.md b/docs/docs/github-actions/setup-git-cliff.md similarity index 100% rename from website/docs/github-actions/setup-git-cliff.md rename to docs/docs/github-actions/setup-git-cliff.md diff --git a/website/docs/github-actions/tj-actions-git-cliff.md b/docs/docs/github-actions/tj-actions-git-cliff.md similarity index 100% rename from website/docs/github-actions/tj-actions-git-cliff.md rename to docs/docs/github-actions/tj-actions-git-cliff.md diff --git a/website/docs/gitlab.md b/docs/docs/gitlab.md similarity index 100% rename from website/docs/gitlab.md rename to docs/docs/gitlab.md diff --git a/website/docs/index.md b/docs/docs/index.md similarity index 100% rename from website/docs/index.md rename to docs/docs/index.md diff --git a/website/docs/installation/binary-releases.md b/docs/docs/installation/binary-releases.md similarity index 100% rename from website/docs/installation/binary-releases.md rename to docs/docs/installation/binary-releases.md diff --git a/website/docs/installation/build-from-source.md b/docs/docs/installation/build-from-source.md similarity index 100% rename from website/docs/installation/build-from-source.md rename to docs/docs/installation/build-from-source.md diff --git a/website/docs/installation/crates-io.md b/docs/docs/installation/crates-io.md similarity index 100% rename from website/docs/installation/crates-io.md rename to docs/docs/installation/crates-io.md diff --git a/website/docs/installation/index.md b/docs/docs/installation/index.md similarity index 100% rename from website/docs/installation/index.md rename to docs/docs/installation/index.md diff --git a/website/docs/installation/macports.md b/docs/docs/installation/macports.md similarity index 100% rename from website/docs/installation/macports.md rename to docs/docs/installation/macports.md diff --git a/website/docs/installation/npm.md b/docs/docs/installation/npm.md similarity index 100% rename from website/docs/installation/npm.md rename to docs/docs/installation/npm.md diff --git a/website/docs/installation/pacman.md b/docs/docs/installation/pacman.md similarity index 100% rename from website/docs/installation/pacman.md rename to docs/docs/installation/pacman.md diff --git a/website/docs/integration/_category_.json b/docs/docs/integration/_category_.json similarity index 100% rename from website/docs/integration/_category_.json rename to docs/docs/integration/_category_.json diff --git a/website/docs/integration/python.md b/docs/docs/integration/python.md similarity index 100% rename from website/docs/integration/python.md rename to docs/docs/integration/python.md diff --git a/website/docs/integration/rust.md b/docs/docs/integration/rust.md similarity index 100% rename from website/docs/integration/rust.md rename to docs/docs/integration/rust.md diff --git a/website/docs/templating/_category_.json b/docs/docs/templating/_category_.json similarity index 100% rename from website/docs/templating/_category_.json rename to docs/docs/templating/_category_.json diff --git a/website/docs/templating/context.md b/docs/docs/templating/context.md similarity index 100% rename from website/docs/templating/context.md rename to docs/docs/templating/context.md diff --git a/website/docs/templating/examples.md b/docs/docs/templating/examples.md similarity index 100% rename from website/docs/templating/examples.md rename to docs/docs/templating/examples.md diff --git a/website/docs/templating/syntax.md b/docs/docs/templating/syntax.md similarity index 100% rename from website/docs/templating/syntax.md rename to docs/docs/templating/syntax.md diff --git a/website/docs/usage/examples.md b/docs/docs/usage/examples.md similarity index 100% rename from website/docs/usage/examples.md rename to docs/docs/usage/examples.md diff --git a/website/docs/usage/usage.md b/docs/docs/usage/usage.md similarity index 100% rename from website/docs/usage/usage.md rename to docs/docs/usage/usage.md diff --git a/website/docusaurus.config.js b/docs/docusaurus.config.js similarity index 99% rename from website/docusaurus.config.js rename to docs/docusaurus.config.js index 387fe0b166..5d2b3268d3 100644 --- a/website/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -41,13 +41,13 @@ const config = { sidebarPath: require.resolve("./sidebars.js"), // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: "https://github.com/orhun/git-cliff/tree/main/website/", + editUrl: "https://github.com/orhun/git-cliff/tree/main/docs/", }, blog: { showReadingTime: true, // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: "https://github.com/orhun/git-cliff/tree/main/website/", + editUrl: "https://github.com/orhun/git-cliff/tree/main/docs/", }, theme: { customCss: require.resolve("./src/css/custom.css"), diff --git a/website/package-lock.json b/docs/package-lock.json similarity index 100% rename from website/package-lock.json rename to docs/package-lock.json diff --git a/website/package.json b/docs/package.json similarity index 100% rename from website/package.json rename to docs/package.json diff --git a/website/sidebars.js b/docs/sidebars.js similarity index 100% rename from website/sidebars.js rename to docs/sidebars.js diff --git a/website/src/components/HomepageFeatures/index.tsx b/docs/src/components/HomepageFeatures/index.tsx similarity index 100% rename from website/src/components/HomepageFeatures/index.tsx rename to docs/src/components/HomepageFeatures/index.tsx diff --git a/website/src/components/HomepageFeatures/styles.module.css b/docs/src/components/HomepageFeatures/styles.module.css similarity index 100% rename from website/src/components/HomepageFeatures/styles.module.css rename to docs/src/components/HomepageFeatures/styles.module.css diff --git a/website/src/css/custom.css b/docs/src/css/custom.css similarity index 100% rename from website/src/css/custom.css rename to docs/src/css/custom.css diff --git a/website/src/pages/index.module.css b/docs/src/pages/index.module.css similarity index 100% rename from website/src/pages/index.module.css rename to docs/src/pages/index.module.css diff --git a/website/src/pages/index.tsx b/docs/src/pages/index.tsx similarity index 100% rename from website/src/pages/index.tsx rename to docs/src/pages/index.tsx diff --git a/website/static/.nojekyll b/docs/static/.nojekyll similarity index 100% rename from website/static/.nojekyll rename to docs/static/.nojekyll diff --git a/website/static/favicon/android-chrome-192x192.png b/docs/static/favicon/android-chrome-192x192.png similarity index 100% rename from website/static/favicon/android-chrome-192x192.png rename to docs/static/favicon/android-chrome-192x192.png diff --git a/website/static/favicon/android-chrome-512x512.png b/docs/static/favicon/android-chrome-512x512.png similarity index 100% rename from website/static/favicon/android-chrome-512x512.png rename to docs/static/favicon/android-chrome-512x512.png diff --git a/website/static/favicon/apple-touch-icon.png b/docs/static/favicon/apple-touch-icon.png similarity index 100% rename from website/static/favicon/apple-touch-icon.png rename to docs/static/favicon/apple-touch-icon.png diff --git a/website/static/favicon/favicon-16x16.png b/docs/static/favicon/favicon-16x16.png similarity index 100% rename from website/static/favicon/favicon-16x16.png rename to docs/static/favicon/favicon-16x16.png diff --git a/website/static/favicon/favicon-32x32.png b/docs/static/favicon/favicon-32x32.png similarity index 100% rename from website/static/favicon/favicon-32x32.png rename to docs/static/favicon/favicon-32x32.png diff --git a/website/static/favicon/favicon.ico b/docs/static/favicon/favicon.ico similarity index 100% rename from website/static/favicon/favicon.ico rename to docs/static/favicon/favicon.ico diff --git a/website/static/favicon/site.webmanifest b/docs/static/favicon/site.webmanifest similarity index 100% rename from website/static/favicon/site.webmanifest rename to docs/static/favicon/site.webmanifest diff --git a/website/static/fonts/aAngkanyaSebelas.ttf b/docs/static/fonts/aAngkanyaSebelas.ttf similarity index 100% rename from website/static/fonts/aAngkanyaSebelas.ttf rename to docs/static/fonts/aAngkanyaSebelas.ttf diff --git a/website/static/img/demo.png b/docs/static/img/demo.png similarity index 100% rename from website/static/img/demo.png rename to docs/static/img/demo.png diff --git a/website/static/img/git-cliff-social-card.jpg b/docs/static/img/git-cliff-social-card.jpg similarity index 100% rename from website/static/img/git-cliff-social-card.jpg rename to docs/static/img/git-cliff-social-card.jpg diff --git a/website/static/img/git-cliff.png b/docs/static/img/git-cliff.png similarity index 100% rename from website/static/img/git-cliff.png rename to docs/static/img/git-cliff.png diff --git a/website/static/img/logo.png b/docs/static/img/logo.png similarity index 100% rename from website/static/img/logo.png rename to docs/static/img/logo.png diff --git a/website/tsconfig.json b/docs/tsconfig.json similarity index 100% rename from website/tsconfig.json rename to docs/tsconfig.json diff --git a/website/yarn.lock b/docs/yarn.lock similarity index 100% rename from website/yarn.lock rename to docs/yarn.lock