Open-Cap-Table-Coalition / Open-Cap-Format-OCF

Open Cap Format (OCF) - The Open Source Company Capitalization Data Standard. OCF can be used to structure and track the complex data structures necessary to build and maintain accurate capitalization (cap) tables.

Home Page:https://opencaptablecoalition.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: "Compatibility Wrapper" object docs written to wrong part of tree

pjohnmeyer opened this issue · comments

Current Behavior:

PlanSecurity* transaction markdown is being written to docs/schema_markdown/PlanSecurity*.md instead of docs/schema_markdown/schema/objects/transactions/*/PlanSecurity*.md. This may only happen on releases for some reason.

Expected Behavior:

Markdown should be written to the same paths as other txns.

Steps to Reproduce:

Feel free to replace 1.1.0 with some other fake release version.

node --loader ts-node/esm --no-warnings --experimental-json-modules ./utils/schema-utils/EnforceCopyrightNotices.ts check-notices -fvart --tag v1.1.0 && git add schema utils

# updates ids and refs
npm run generate-release-docs 1.1.0 && git add schema utils

# manually update enums
# search and replace all JSON files replacing manifest version with "1.1.0"

# generate docs
rm -rf docs/schema_markdown/**/*.md # delete everything first, fresh start
npm run generate-docs && git add docs/schema_markdown

Environment:

MacOS 12.16, Node 16.16, npm 9.6.4

Anything else we need to know?

Follow-up on #422