-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Generate a JSON index #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for clreq-gap-typst ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this 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.tsthat queries the Typst document and generates a structured JSON index - Export of
IssueMetaandPullMetainterfaces 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.
16b9a07 to
0c1f217
Compare
There was a problem hiding this 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.
e891ce9 to
0b26778
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
@copilot Reviewing pull request |
https://deploy-preview-68--clreq-gap-typst.netlify.app/index.json
TODO: Add links to workarounds.Done.TODO: 兼容旧ID。已完成。