Fixing STON wiki exportation.
This commit is contained in:
parent
4ee3b43795
commit
d066d77a1c
@ -87,7 +87,7 @@ Tiddler >> asStonStringPretty [
|
|||||||
temp wiki: nil.
|
temp wiki: nil.
|
||||||
output := '' writeStream.
|
output := '' writeStream.
|
||||||
(STON writer on: output)
|
(STON writer on: output)
|
||||||
newLine: String crlf;
|
newLine: String lf;
|
||||||
prettyPrint: true;
|
prettyPrint: true;
|
||||||
keepNewLines: true;
|
keepNewLines: true;
|
||||||
nextPut: temp.
|
nextPut: temp.
|
||||||
|
@ -345,7 +345,8 @@ TiddlyWiki >> exportSTONFiles [
|
|||||||
wikiTemp := self copy.
|
wikiTemp := self copy.
|
||||||
wikiTemp tiddlers: self commonTiddlers.
|
wikiTemp tiddlers: self commonTiddlers.
|
||||||
MiniDocs exportAsSton: self shadow on: shadowFile.
|
MiniDocs exportAsSton: self shadow on: shadowFile.
|
||||||
^ MiniDocs exportAsSton: wikiTemp on: stonFile
|
MiniDocs exportAsSton: wikiTemp on: stonFile.
|
||||||
|
^ self folder
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
@ -532,10 +533,10 @@ TiddlyWiki >> largeTiddlersFolder [
|
|||||||
for example the ones that come in the plugins or in system tiddlers.
|
for example the ones that come in the plugins or in system tiddlers.
|
||||||
For more information about shadow tiddlers, see #shadow method."
|
For more information about shadow tiddlers, see #shadow method."
|
||||||
|
|
||||||
| folder |
|
| largeFilesFolder |
|
||||||
folder := self file parent / self largeTiddlersFolderName.
|
largeFilesFolder := self folder / self largeTiddlersFolderName.
|
||||||
folder ensureCreateDirectory.
|
largeFilesFolder ensureCreateDirectory.
|
||||||
^ folder
|
^ largeFilesFolder
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
|
Loading…
Reference in New Issue
Block a user