Skip to content

Conversation

@YDX-2147483647
Copy link
Member

@YDX-2147483647 YDX-2147483647 commented Nov 21, 2025

https://deploy-preview-68--clreq-gap-typst.netlify.app/index.json

TODO: Add links to workarounds. Done.

TODO: 兼容旧ID。 已完成。

@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for clreq-gap-typst ready!

Name Link
🔨 Latest commit eb3a9ad
🔍 Latest deploy log https://app.netlify.com/projects/clreq-gap-typst/deploys/692d2eb1c836c30008f52511
😎 Deploy Preview https://deploy-preview-68--clreq-gap-typst.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

Diff between #68 and main

Feedback

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 adds functionality to generate a JSON index from the Typst document, making structured data about sections, priorities, and linked issues/PRs available for programmatic access via dist/index.json.

Key changes:

  • New script generate-json-index.ts that queries the Typst document and generates a structured JSON index
  • Export of IssueMeta and PullMeta interfaces for reuse across scripts
  • Integration of JSON index generation into the build pipeline

Reviewed Changes

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

Show a summary per file
File Description
scripts/generate-json-index.ts New script that parses Typst document structure and generates JSON index with sections, priorities, and issue/PR links
typ/prioritization.typ Adds metadata output to make priority levels queryable via Typst query command
scripts/check_issues.ts Exports IssueMeta and PullMeta interfaces for use in other scripts
package.json Integrates JSON index generation into the build script pipeline
main.typ Adds <addendum> label to enable query boundary detection

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@YDX-2147483647 YDX-2147483647 force-pushed the json branch 2 times, most recently from 16b9a07 to 0c1f217 Compare November 22, 2025 12:25
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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@YDX-2147483647

This comment was marked as resolved.

@YDX-2147483647 YDX-2147483647 marked this pull request as draft November 30, 2025 10:53
@YDX-2147483647 YDX-2147483647 marked this pull request as ready for review November 30, 2025 14:03
@YDX-2147483647
Copy link
Member Author

@copilot Reviewing pull request

@YDX-2147483647 YDX-2147483647 merged commit 78fe1b1 into typst-doc-cn:main Dec 1, 2025
7 checks passed
@YDX-2147483647 YDX-2147483647 deleted the json branch December 1, 2025 06:04
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.

1 participant