mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Move attachments into meta zone
This commit is contained in:
parent
c5561491a2
commit
c7cc36b307
12 changed files with 77 additions and 80 deletions
|
@ -68,6 +68,12 @@ func Numberize(pages []Page) {
|
|||
}
|
||||
pages[i].Numbering = numbering
|
||||
|
||||
// Troubleshooting help
|
||||
if len(numbering) == 0 {
|
||||
fmt.Printf("No number allocated to page %s ('%s')",
|
||||
pages[i].RefID, pages[i].Title)
|
||||
}
|
||||
|
||||
// update state
|
||||
prevPageLevel = p.Level
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue