Skip to content

Commit c4e862b

Browse files
committed
With new version of Chrysal
1 parent 2a69834 commit c4e862b

File tree

5 files changed

+68
-167
lines changed

5 files changed

+68
-167
lines changed

src/BaselineOfPillar/BaselineOfPillar.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ BaselineOfPillar >> baseline: spec [
6767
{ #category : 'dependencies' }
6868
BaselineOfPillar >> chrysal: spec [
6969

70-
spec baseline: 'Chrysal' with: [ spec repository: 'github://Ducasse/Chrysal:v1.0.0/src' ]
70+
spec baseline: 'Chrysal' with: [ spec repository: 'github://Ducasse/Chrysal:v1.1.0/src' ]
7171
]
7272

7373
{ #category : 'dependencies' }

src/Pillar-Chrysal-Generator/CodeBlockDefaultLanguageItem.class.st

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/Pillar-Chrysal-Generator/ConfigurationDescriptionForPillar.class.st

Lines changed: 54 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ ChrysalConfigurationBuilder new
99
withDescriptionItems: ConfigurationDescriptionForPillar itemDescriptionForPillar
1010
"
1111
Class {
12-
#name : #ConfigurationDescriptionForPillar,
13-
#superclass : #Object,
14-
#category : 'Pillar-Chrysal-Generator'
12+
#name : 'ConfigurationDescriptionForPillar',
13+
#superclass : 'Object',
14+
#category : 'Pillar-Chrysal-Generator',
15+
#package : 'Pillar-Chrysal-Generator'
1516
}
1617

17-
{ #category : #sample }
18+
{ #category : 'sample' }
1819
ConfigurationDescriptionForPillar class >> itemDescriptionForPillar [
1920
^ {
2021
(PathConfigurationItem new
@@ -26,96 +27,112 @@ ConfigurationDescriptionForPillar class >> itemDescriptionForPillar [
2627
(StringConfigurationItem new
2728
propertyName: #title;
2829
default: 'my super cool book';
29-
yourself).
30+
yourself)
31+
.
3032
(StringConfigurationItem new
3133
propertyName: #attribution;
3234
default: 'me, myself and I';
33-
yourself).
35+
yourself)
36+
.
3437
(NumberConfigurationItem new
3538
propertyName: #headingLevelOffset;
3639
explanation:
37-
'Indicate how to convert from the level of a Pillar heading to the level of heading in your exported document.
38-
For example, a headingLevelOffset of 3 converts a 1st level Pillar heading to an <h4>in HTML';
40+
'Indicate how to convert from the level of a heading to the level of heading in your exported document.
41+
For example, a headingLevelOffset of 3 converts a 1st level heading to an <h4>in HTML';
3942
default: 0;
40-
yourself).
43+
yourself)
44+
.
4145
(StringConfigurationItem new
4246
propertyName: #series;
4347
default: 'Square Bracket Associate Collection';
44-
yourself).
48+
yourself)
49+
.
4550
(StringConfigurationItem new
4651
propertyName: #keywords;
4752
default: 'Pharo';
48-
yourself).
53+
yourself)
54+
.
4955
(PathConfigurationItem new
5056
propertyName: #outputDirectory;
51-
default: 'build').
57+
default: '_result')
58+
.
5259
(FolderConfigurationItem new
5360
propertyName: #baseDirectory;
54-
default: '.').
55-
(FileConfigurationItem new
56-
propertyName: #outputFile;
61+
default: '.')
62+
.
63+
64+
"(FileConfigurationItem new
65+
propertyName: #separatedOutputFiles;
5766
default: 'output';
5867
explanation:
5968
'If separateOutputFiles is false, indicate the name of the output file. This can also be a write stream.').
69+
"
6070
(FileConfigurationItem new
6171
propertyName: #mainDocument;
62-
default: 'book').
72+
default: 'book')
73+
.
74+
6375
(FileConfigurationItem new
6476
propertyName: #inputFile;
65-
default: 'book';
77+
default: 'index';
6678
explanation:
67-
'The Pillar file that must be transformed. You can also specify an input file at the end of the command-line interface. Previously there was no default value').
79+
'The file that must be transformed. You can also specify an input file at the end of the command-line interface. Previously there was no default value') .
80+
6881
(StringConfigurationItem new
6982
propertyName: #latexTemplate;
7083
default: '_support/templates/main.latex.mustache').
71-
(BooleanConfigurationItem new
72-
propertyName: #scrambledEmailAddresses;
73-
beFalseAsDefault).
74-
(BooleanConfigurationItem new
84+
85+
"(BooleanConfigurationItem new
7586
propertyName: #separateOutputFiles;
7687
explanation:
7788
'If true, each input file is exported to one output file. If false (the default), all input files are exported to outputFile.';
78-
beFalseAsDefault).
79-
(BooleanConfigurationItem new
89+
beFalseAsDefault) ."
90+
91+
"(BooleanConfigurationItem new
8092
propertyName: #renderStructureAsSlide;
8193
explanation:
8294
'When true (the default), Pillar will create a dedicated slide for each Pillar header. This parameter is meaningless when generating a written document';
83-
beTrueAsDefault).
95+
beTrueAsDefault)."
96+
8497
(StringConfigurationItem new
8598
propertyName: #latexChapterTemplate;
86-
default: '_support/templates/chapter.latex.mustache').
99+
default: '_support/templates/chapter.latex.mustache')
100+
.
87101
(StringConfigurationItem new
88102
propertyName: #htmlTemplate;
89-
default: '_support/templates/html.mustache').
103+
default: '_support/templates/html.mustache')
104+
.
90105
(StringConfigurationItem new
91106
propertyName: #htmlChapterTemplate;
92-
default: '_support/templates/html.mustache').
107+
default: '_support/templates/html.mustache')
108+
.
93109
(NewLineConfigurationItem new
94110
propertyName: #newLine;
95-
defaultIsPlatform).
111+
defaultIsPlatform)
112+
.
96113
(StringConfigurationItem new
97114
propertyName: #latexWriter;
98-
default: #latex:sbabook;
115+
default: #miclatex:sbabook;
99116
yourself)
100-
.
117+
.
101118
(StringConfigurationItem new
102119
propertyName: #htmlWriter;
103-
default: #html;
120+
default: #michtml;
104121
yourself)
105-
.
122+
.
106123
(NumberConfigurationItem new
107124
propertyName: #slideInTemplateForDeckJS;
108125
explanation: 'Number of slides in Template: Indicate the number of slides created by the DeckJS template. This is important to create anchors.';
109126
default: 1;
110-
yourself).
111-
(CodeBlockDefaultLanguageItem new)
127+
yourself)
112128
.
129+
".
113130
(CompositeConfigurationItem new
114131
propertyName: #levelSpecification;
115132
default: #PRTitlePrinterSpecification;
116133
fields: #(level renderAs capitalization numbering headerSize);
117-
yourself)
118-
.
134+
yourself)"
135+
119136
(ListConfigurationItem new
120137
propertyName: #levels;
121138
default: #OrderedCollection;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Package { #name : #'Pillar-Chrysal-Generator' }
1+
Package { #name : 'Pillar-Chrysal-Generator' }

0 commit comments

Comments
 (0)