Adding configuration files to pages for granular control of exportation.
This commit is contained in:
parent
8983f25b3a
commit
979facfd86
@ -79,6 +79,15 @@ LePage >> asMarkdownFile [
|
|||||||
^ MarkupFile exportAsFileOn: folder / self markdownFileName containing: self asMarkdown contents
|
^ MarkupFile exportAsFileOn: folder / self markdownFileName containing: self asMarkdown contents
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'*MiniDocs' }
|
||||||
|
LePage >> config [
|
||||||
|
| configFile |
|
||||||
|
configFile := self storage / 'config.ston'.
|
||||||
|
configFile exists
|
||||||
|
ifTrue: [^ STON fromString: configFile contents ]
|
||||||
|
ifFalse: [ ^ nil ]
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePage >> defaultPandocTemplate [
|
LePage >> defaultPandocTemplate [
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user