diff --git a/.github/workflows/publish_docs.yaml b/.github/workflows/publish_docs.yaml index 50600c90ce..279c5d46db 100644 --- a/.github/workflows/publish_docs.yaml +++ b/.github/workflows/publish_docs.yaml @@ -29,7 +29,7 @@ jobs: uses: pnpm/action-setup@v4 with: run_install: false - package_json_file: docs_new/package.json + package_json_file: docs/package.json version: 8 - name: Setup Node uses: actions/setup-node@v4 @@ -39,19 +39,19 @@ jobs: uses: actions/configure-pages@v5 - name: Install dependencies run: pnpm install - working-directory: ./docs_new + working-directory: ./docs - name: Build with VitePress run: | echo "{\"version\":\"${RELEASE_TAG}\"}" > ./.vitepress/version.json pnpm docs:build - working-directory: ./docs_new + working-directory: ./docs - name: Download the helm index run: | - curl https://github.com/kanisterio/kanister/releases/download/${RELEASE_TAG}/helm_index.yaml -f -L -o docs_new/.vitepress/dist/index.yaml + curl https://github.com/kanisterio/kanister/releases/download/${RELEASE_TAG}/helm_index.yaml -f -L -o docs/.vitepress/dist/index.yaml - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: docs_new/.vitepress/dist + path: docs/.vitepress/dist name: docs publish_docs: diff --git a/BUILD.md b/BUILD.md index 82c46bf5a3..fd39384161 100644 --- a/BUILD.md +++ b/BUILD.md @@ -220,7 +220,7 @@ Alternatively to build docs using a docker container, you can run: make docs ``` -This will create the `docs_new/.vitepress/dist` folder with html docs there. +This will create the `docs/.vitepress/dist` folder with html docs there. To start a local webserver that you can use to preview the documentation that has been rendered by the command above, use this command: diff --git a/build/build_docs.sh b/build/build_docs.sh index ac4be4b409..c565833c16 100755 --- a/build/build_docs.sh +++ b/build/build_docs.sh @@ -3,7 +3,7 @@ set -o errexit set -o xtrace -cd docs_new +cd docs if [[ -z ${VERSION} ]] then diff --git a/docs_new/.gitignore b/docs/.gitignore similarity index 100% rename from docs_new/.gitignore rename to docs/.gitignore diff --git a/docs_new/.vitepress/config.mts b/docs/.vitepress/config.mts similarity index 100% rename from docs_new/.vitepress/config.mts rename to docs/.vitepress/config.mts diff --git a/docs_new/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts similarity index 100% rename from docs_new/.vitepress/theme/index.ts rename to docs/.vitepress/theme/index.ts diff --git a/docs_new/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css similarity index 100% rename from docs_new/.vitepress/theme/style.css rename to docs/.vitepress/theme/style.css diff --git a/docs_new/.vitepress/version.json b/docs/.vitepress/version.json similarity index 100% rename from docs_new/.vitepress/version.json rename to docs/.vitepress/version.json diff --git a/docs_new/api-examples.md b/docs/api-examples.md similarity index 100% rename from docs_new/api-examples.md rename to docs/api-examples.md diff --git a/docs_new/architecture.md b/docs/architecture.md similarity index 100% rename from docs_new/architecture.md rename to docs/architecture.md diff --git a/docs_new/functions.md b/docs/functions.md similarity index 100% rename from docs_new/functions.md rename to docs/functions.md diff --git a/docs_new/generateSidebar.js b/docs/generateSidebar.js similarity index 100% rename from docs_new/generateSidebar.js rename to docs/generateSidebar.js diff --git a/docs_new/generatedSidebar.js b/docs/generatedSidebar.js similarity index 100% rename from docs_new/generatedSidebar.js rename to docs/generatedSidebar.js diff --git a/docs_new/index.md b/docs/index.md similarity index 100% rename from docs_new/index.md rename to docs/index.md diff --git a/docs_new/install.md b/docs/install.md similarity index 100% rename from docs_new/install.md rename to docs/install.md diff --git a/docs_new/markdown-examples.md b/docs/markdown-examples.md similarity index 100% rename from docs_new/markdown-examples.md rename to docs/markdown-examples.md diff --git a/docs_new/overview.md b/docs/overview.md similarity index 100% rename from docs_new/overview.md rename to docs/overview.md diff --git a/docs_new/package.json b/docs/package.json similarity index 100% rename from docs_new/package.json rename to docs/package.json diff --git a/docs_new/pnpm-lock.yaml b/docs/pnpm-lock.yaml similarity index 100% rename from docs_new/pnpm-lock.yaml rename to docs/pnpm-lock.yaml diff --git a/docs_new/public/favicon.ico b/docs/public/favicon.ico similarity index 100% rename from docs_new/public/favicon.ico rename to docs/public/favicon.ico diff --git a/docs_new/public/kanister-logo.png b/docs/public/kanister-logo.png similarity index 100% rename from docs_new/public/kanister-logo.png rename to docs/public/kanister-logo.png diff --git a/docs_new/public/kanister.svg b/docs/public/kanister.svg similarity index 100% rename from docs_new/public/kanister.svg rename to docs/public/kanister.svg diff --git a/docs_new/public/kanister_workflow.png b/docs/public/kanister_workflow.png similarity index 100% rename from docs_new/public/kanister_workflow.png rename to docs/public/kanister_workflow.png diff --git a/docs_new/public/tasks/argo-cron-architecture.png b/docs/public/tasks/argo-cron-architecture.png similarity index 100% rename from docs_new/public/tasks/argo-cron-architecture.png rename to docs/public/tasks/argo-cron-architecture.png diff --git a/docs_new/public/tasks/argo-cron-created-ui-desc.png b/docs/public/tasks/argo-cron-created-ui-desc.png similarity index 100% rename from docs_new/public/tasks/argo-cron-created-ui-desc.png rename to docs/public/tasks/argo-cron-created-ui-desc.png diff --git a/docs_new/public/tasks/argo-cron-created-ui-list.png b/docs/public/tasks/argo-cron-created-ui-list.png similarity index 100% rename from docs_new/public/tasks/argo-cron-created-ui-list.png rename to docs/public/tasks/argo-cron-created-ui-list.png diff --git a/docs_new/public/tasks/argo-default-ui.png b/docs/public/tasks/argo-default-ui.png similarity index 100% rename from docs_new/public/tasks/argo-default-ui.png rename to docs/public/tasks/argo-default-ui.png diff --git a/docs_new/public/tasks/logs-grafana-data-source.png b/docs/public/tasks/logs-grafana-data-source.png similarity index 100% rename from docs_new/public/tasks/logs-grafana-data-source.png rename to docs/public/tasks/logs-grafana-data-source.png diff --git a/docs_new/public/tasks/logs-grafana-login.png b/docs/public/tasks/logs-grafana-login.png similarity index 100% rename from docs_new/public/tasks/logs-grafana-login.png rename to docs/public/tasks/logs-grafana-login.png diff --git a/docs_new/public/tasks/logs-grafana-loki-test.png b/docs/public/tasks/logs-grafana-loki-test.png similarity index 100% rename from docs_new/public/tasks/logs-grafana-loki-test.png rename to docs/public/tasks/logs-grafana-loki-test.png diff --git a/docs_new/public/tasks/logs-kanister-all-logs.png b/docs/public/tasks/logs-kanister-all-logs.png similarity index 100% rename from docs_new/public/tasks/logs-kanister-all-logs.png rename to docs/public/tasks/logs-kanister-all-logs.png diff --git a/docs_new/public/tasks/logs-kanister-datapath-logs.png b/docs/public/tasks/logs-kanister-datapath-logs.png similarity index 100% rename from docs_new/public/tasks/logs-kanister-datapath-logs.png rename to docs/public/tasks/logs-kanister-datapath-logs.png diff --git a/docs_new/rbac.md b/docs/rbac.md similarity index 100% rename from docs_new/rbac.md rename to docs/rbac.md diff --git a/docs_new/tasks/argo.md b/docs/tasks/argo.md similarity index 100% rename from docs_new/tasks/argo.md rename to docs/tasks/argo.md diff --git a/docs_new/tasks/logs.md b/docs/tasks/logs.md similarity index 100% rename from docs_new/tasks/logs.md rename to docs/tasks/logs.md diff --git a/docs_new/tasks/logs_labels.md b/docs/tasks/logs_labels.md similarity index 100% rename from docs_new/tasks/logs_labels.md rename to docs/tasks/logs_labels.md diff --git a/docs_new/tasks/logs_level.md b/docs/tasks/logs_level.md similarity index 100% rename from docs_new/tasks/logs_level.md rename to docs/tasks/logs_level.md diff --git a/docs_new/tasks/scaleworkload.md b/docs/tasks/scaleworkload.md similarity index 100% rename from docs_new/tasks/scaleworkload.md rename to docs/tasks/scaleworkload.md diff --git a/docs_new/templates.md b/docs/templates.md similarity index 100% rename from docs_new/templates.md rename to docs/templates.md diff --git a/docs_new/tooling.md b/docs/tooling.md similarity index 100% rename from docs_new/tooling.md rename to docs/tooling.md diff --git a/docs_new/troubleshooting.md b/docs/troubleshooting.md similarity index 100% rename from docs_new/troubleshooting.md rename to docs/troubleshooting.md diff --git a/docs_new/tutorial.md b/docs/tutorial.md similarity index 100% rename from docs_new/tutorial.md rename to docs/tutorial.md