Merge branch 'master' of https://code.tupale.co/Offray/MiniDocs
Renaming files to improve Windows naming support and folder naming consistency.
This commit is contained in:
commit
789dfae85e
@ -153,7 +153,7 @@ LePage >> metadataInit [
|
|||||||
{ #category : #'*MiniDocs' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePage >> navTop [
|
LePage >> navTop [
|
||||||
| topNavFile |
|
| topNavFile |
|
||||||
topNavFile := ((self optionAt: 'storage') / '_navtop.html').
|
topNavFile := ((self optionAt: 'storage' ifAbsentPut: [ FileLocator temp ]) / '_navtop.html').
|
||||||
topNavFile exists
|
topNavFile exists
|
||||||
ifFalse: [ ^ '' ]
|
ifFalse: [ ^ '' ]
|
||||||
ifTrue: [ ^ topNavFile contents ]
|
ifTrue: [ ^ topNavFile contents ]
|
||||||
|
14
src/MiniDocs/LePageHeaderBuilder.extension.st
Normal file
14
src/MiniDocs/LePageHeaderBuilder.extension.st
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Extension { #name : #LePageHeaderBuilder }
|
||||||
|
|
||||||
|
{ #category : #'*MiniDocs' }
|
||||||
|
LePageHeaderBuilder >> addExportPageButton [
|
||||||
|
<leHeaderAction>
|
||||||
|
| newButton |
|
||||||
|
|
||||||
|
newButton := BrButton new
|
||||||
|
aptitude: BrGlamorousButtonWithIconAptitude;
|
||||||
|
label: 'Export Page';
|
||||||
|
icon: BrGlamorousVectorIcons down;
|
||||||
|
action: [ :aButton | self page asMarkdeepFile ].
|
||||||
|
self toolbarElement addItem: newButton.
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user