Skip to content

Conversation

SkyeYoung
Copy link
Member

@SkyeYoung SkyeYoung commented May 16, 2025

Fixes: #[Add issue number here]

Changes:

In order for the documentation site to render properly.

Temp solution from #1912 (review).

Screenshots of the change:

image

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR disables the next version documentation task for the apisix-dashboard project to ensure that the documentation site renders properly. Key changes include:

  • In scripts/sync-docs.js, a skip condition is added to bypass extracting next version documents for apisix-dashboard.
  • In doc/docusaurus.config.js, the includeCurrentVersion flag is set to false for the dashboard documentation.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/sync-docs.js Added a skip condition for apisix-dashboard to disable next version docs
doc/docusaurus.config.js Disabled includeCurrentVersion for dashboard docs configuration

@@ -137,6 +137,7 @@ const tasks = new Listr([
},
{
title: `Extract ${project.name} next version documents`,
skip: () => project.name === 'apisix-dashboard',
Copy link
Preview

Copilot AI May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding an inline comment to explain why the extraction is skipped for apisix-dashboard, referencing the temporary solution from the linked review.

Copilot uses AI. Check for mistakes.

@@ -99,6 +99,7 @@ module.exports = {
path: 'docs/apisix-dashboard',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
includeCurrentVersion: false,
Copy link
Preview

Copilot AI May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding an explanatory comment for disabling includeCurrentVersion would clarify that this setting is necessary to render the documentation site properly as a temporary measure.

Copilot uses AI. Check for mistakes.

@juzhiyuan juzhiyuan merged commit 370bf6b into master May 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants