Skip to content

Conversation

@YDX-2147483647
Copy link
Contributor

@3w36zj6 3w36zj6 requested review from 3w36zj6 and Copilot September 8, 2025 06:17
Copy link
Contributor

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 updates the mise configuration to use a basePath variable from metadata.json instead of a hardcoded /docs/ path in the documentation generation task.

  • Adds a vars section that loads variables from website/metadata.json
  • Updates the generate-docs task to use the basePath variable instead of hardcoded /docs/

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@3w36zj6 3w36zj6 left a comment

Choose a reason for hiding this comment

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

Nice catch! This is really useful, thank you.

@3w36zj6 3w36zj6 changed the title chore: use basePath from metadata.json for mise run generate-docs chore: use base path from metadata JSON file for mise tasks Sep 8, 2025
@3w36zj6 3w36zj6 merged commit 70a137a into typst-jp:main Sep 8, 2025
5 checks passed
@YDX-2147483647 YDX-2147483647 deleted the patch-1 branch September 8, 2025 07:57
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.

2 participants