File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ You can include metadata in your markdown file using YAML frontmatter:
216216``` markdown
217217---
218218title: My Document Title
219- parentNpi : abc123
219+ parentId : abc123
220220---
221221
222222# Document content starts here
@@ -230,7 +230,7 @@ parentNpi: abc123
230230
231231** Parent Resolution Priority:**
2322321 . CLI option (` --parent ` )
233- 2 . Frontmatter (` parentNpi ` )
233+ 2 . Frontmatter (` parentId ` )
2342343 . None (document created at space root)
235235
236236** Examples:**
@@ -267,7 +267,7 @@ cat document.md | funcli documents create z2zK66AaEF --title "New Document"
267267# my-document.md
268268---
269269title: API Documentation
270- parentNpi : def456
270+ parentId : def456
271271---
272272
273273# API Reference
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ documentsCommand
193193 }
194194
195195 // Determine parent (priority: CLI arg > frontmatter)
196- const parentDocumentId = options . parent || frontmatter . parentNpi ;
196+ const parentDocumentId = options . parent || frontmatter . parentId ;
197197
198198 // Create document from markdown
199199 const document = await client . createDocument ( spaceId , {
You can’t perform that action at this time.
0 commit comments