Skip to content

Commit 97462f3

Browse files
authored
Merge pull request #3 from OpenDucks/fix-docs-parser
v1.3.1
2 parents f938eac + b9fcd5d commit 97462f3

98 files changed

Lines changed: 5442 additions & 326 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# CHANGELOG.md
22

3+
## v1.3.1
4+
5+
- Added `markdown` and `text` renderers for readability-focused exports of `.pml` documents.
6+
- Added built-in docs entries for `markdown` and `text`.
7+
- Improved Markdown and text rendering so meeting content keeps headings, links, TOCs, and readable macro output while stripping embedded CSS and JavaScript.
8+
- Changed the default output extensions for `markdown` to `.md` and `text` to `.txt`.
9+
- Added built-in meta keys `@status`, `@record_id`, `@confidentiality`, `@effective_date`, `@valid_until`, and `@review_date`.
10+
- Extended local imported `.pml` meta preservation for fixed meta keys referenced via `@@ref=meta:...`.
11+
- Added validation warnings for duplicate meta keys and for ambiguous use of built-in meta keys through `@meta=...`.
12+
- Fixed field inconsistencies between `@signatures` / `@approvals` parsing and Markdown/Text rendering.
13+
- Added `protoparser register <dir> statistics|json|html|pdf` as a governance-style document register with status summary, missing metadata checks, review/expiry hints, and open-task visibility across document directories.
14+
- Added `protoparser bundle <pml_file>` to write a bundled, import-expanded `.pml` archive file.
15+
- Added built-in docs entries for `register` and `bundle`.
16+
- Finished the native Windows HTML Help setup in `docs/chm/`, including generated topic pages, TOC, index, project file, and working CHM compilation via `npm run build:chm`.
17+
- Added `protoparser analyze <pml_file> graph` for Mermaid-style import and tag-import graphs.
18+
- Added support for saving `protoparser analyze <pml_file> graph` output directly as a `.mmd` file via `-output=...`.
19+
- Improved the graph output styling and labels for better readability.
20+
- Added `@author`, `@version`, and flexible `@meta=key:value` metadata support.
21+
- Added `@@ref=...` for structured references such as metadata, participant fields, signatures, and approvals.
22+
- Added `@@toc` for automatic table of contents generation inside the `@meeting` block.
23+
- Added `@signatures` with `@@signature=id` and `@approvals` with `@@approval=id`.
24+
- Added `@references` and `@attachments` blocks for linked supporting context in rendered output.
25+
- Added `protoparser validate <pml_file>` and `protoparser tags <tags_file> validate` for basic document and shared tag validation.
26+
- Added `protoparser macros <pml_file>` to inspect registered and used macros across imported `.pml` files.
27+
- Added `protoparser scaffold meeting [target_dir]` and `protoparser init [target_dir]` for bootstrapping starter ProtoML files and project structures.
28+
- Added missing built-in docs entries for newer commands and syntax such as `protocol`, `title`, `import`, `output`, `tag_sources`, `analyze`, `validate`, `macros`, `scaffold`, `init`, `macro_dir`, and `graph`.
29+
330
## v1.3.0
431

532
- Added support for `@title "..."` in shared `@tags_import` files so tag statistics outputs (`statistics`, `json`, `html`, `pdf`) can use a custom report title instead of the file path.
@@ -8,10 +35,10 @@
835
- `protoparser tags <tags_file> json`
936
- `protoparser tags <tags_file> html`
1037
- `protoparser tags <tags_file> pdf`
11-
- Added support for cross-file tag statistics using multiple shared tag files with nested `@tags_import` references.
12-
- Updated tag statistics so local tag overrides inside referenced source `.pml` files are preserved and shown in the task entries.
13-
- Added general `.pml` cross-reference analysis via `protoparser analyze <pml_file> <format>` with local stats, resolved stats, content imports, tag imports and recursive reference trees.
14-
- Added output directory support via `protoparser <file> <format> <output_dir>` e.g. `protoparser test.pml html ./html`
38+
- Added support for cross-file tag statistics using multiple shared tag files with nested `@tags_import` references.
39+
- Updated tag statistics so local tag overrides inside referenced source `.pml` files are preserved and shown in the task entries.
40+
- Added general `.pml` cross-reference analysis via `protoparser analyze <pml_file> <format>` with local stats, resolved stats, content imports, tag imports and recursive reference trees.
41+
- Added output directory support via `protoparser <file> <format> <output_dir>` e.g. `protoparser test.pml html ./html`
1542
- Added automatic output subdirectories for documents that use `@import ... html` or `@import ... pml` so rendered files are written to folders like `html/test.html` instead of cluttering the source directory.
1643
- Added a complete example and feature test set under `examples/feature-suite/` including:
1744
- 2 shared tag files

0 commit comments

Comments
 (0)