MiniDocs/src/BaselineOfMiniDocs/BaselineOfMiniDocs.class.st

39 lines
1014 B
Smalltalk
Raw Normal View History

2022-05-15 04:04:04 +00:00
Class {
#name : #BaselineOfMiniDocs,
#superclass : #BaselineOf,
#category : #BaselineOfMiniDocs
}
{ #category : #accessing }
BaselineOfMiniDocs >> baseline: spec [
<baseline>
spec
for: #common
do: [
2022-06-10 01:30:37 +00:00
"Dependencies"
spec
baseline: 'Mustache' with: [ spec repository: 'github://noha/mustache' ];
2023-01-03 18:06:25 +00:00
baseline: 'Tealight' with: [ spec repository: 'https://github.com/astares/Tealight' ].
"self xmlParserHTML: spec."
2022-05-15 04:04:04 +00:00
"Packages"
spec
2022-07-17 02:47:46 +00:00
package: 'MiniDocs'
2023-01-03 18:06:25 +00:00
with: [ spec requires: #('Mustache' 'Tealight' "'XMLParserHTML'") ]
2022-05-15 04:04:04 +00:00
].
spec
2022-06-10 01:30:37 +00:00
2022-05-15 04:04:04 +00:00
]
{ #category : #accessing }
BaselineOfMiniDocs >> xmlParserHTML: spec [
Metacello new
baseline: 'XMLParserHTML';
repository: 'github://pharo-contributions/XML-XMLParserHTML/src';
onConflict: [ :ex | ex useLoaded ];
onUpgrade: [ :ex | ex useLoaded ];
onDowngrade: [ :ex | ex useLoaded ];
onWarningLog;
load.
spec baseline: 'XMLParserHTML' with: [spec repository: 'github://pharo-contributions/XML-XMLParserHTML/src']
]