File tree Expand file tree Collapse file tree 8 files changed +21
-21
lines changed
books/additive-manufacturing Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
+ * Move ` additive-manufacturing ` out of archived recipes and outline test data
10
+
9
11
## [ v2.15.0] - 2024-04-19
10
12
11
13
* Bake ` TableColumns ` in ` nursing-internal `
File renamed without changes.
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env ruby
2
-
3
1
# frozen_string_literal: true
4
2
5
- # ARCHIVED. NO LONGER IN PRODUCTION
6
-
7
- require_relative '../recipes_helper'
8
-
9
- recipe = Kitchen ::BookRecipe . new ( book_short_name : :additive_manufacturing ) do |doc |
3
+ ADDITIVE_MANUFACTURING_RECIPE = Kitchen ::BookRecipe . new ( book_short_name : :addman ) \
4
+ do |doc , _resources |
10
5
include Kitchen ::Directions
11
6
12
7
book = doc . book
70
65
)
71
66
end
72
67
73
- BakeFootnotes . v1 ( book : book )
74
- BakeIndex . v1 ( book : book )
68
+ # TODO: Footnotes, Index, and ToC baking turned off until there's content
69
+
70
+ # BakeFootnotes.v1(book: book)
71
+ # BakeIndex.v1(book: book)
75
72
BakeCompositePages . v1 ( book : book )
76
73
BakeLinkPlaceholders . v1 ( book : book )
77
- BakeToc . v1 ( book : book )
74
+ # BakeToc.v1(book: book)
78
75
BakeFolio . v1 ( book : book )
79
76
BakeLinks . v1 ( book : book )
80
77
end
81
-
82
- opts = Slop . parse do |slop |
83
- slop . string '--input' , 'Assembled XHTML input file' , required : true
84
- slop . string '--output' , 'Baked XHTML output file' , required : true
85
- end
86
-
87
- puts Kitchen ::Oven . bake (
88
- input_file : opts [ :input ] ,
89
- recipes : [ recipe , VALIDATE_OUTPUT ] ,
90
- output_file : opts [ :output ]
91
- )
File renamed without changes.
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ book_recipes = \
18
18
case opts [ :recipe ]
19
19
when 'dummy' then [ DUMMY_RECIPE ]
20
20
when 'accounting' then [ ACCOUNTING_RECIPE ]
21
+ when 'additive-manufacturing' then [ ADDITIVE_MANUFACTURING_RECIPE ]
21
22
when 'american-government' then [ AMERICAN_GOVERNMENT_RECIPE ]
22
23
when 'anatomy' then [ ANATOMY_RECIPE ]
23
24
when 'anthropology' then [ ANTHROPOLOGY_RECIPE ]
Original file line number Diff line number Diff line change
1
+ < html xmlns ="http://www.w3.org/1999/xhtml " lang ="en " xml:lang ="en " data-pdf-folio-preface-message ="Preface " data-pdf-folio-access-message ="Access for free at openstax.org ">
2
+ <!-- POPULATE ME -->
3
+ </ html >
Original file line number Diff line number Diff line change
1
+ < html xmlns ="http://www.w3.org/1999/xhtml " lang ="en " xml:lang ="en ">
2
+ <!-- POPULATE ME -->
3
+ </ html >
Original file line number Diff line number Diff line change 13
13
expect ( 'accounting' ) . to match_expected_when_baked_with ( cmd )
14
14
end
15
15
16
+ it 'bakes additive-manufacturing' do
17
+ cmd = form_bake_cmd ( book : 'additive-manufacturing' )
18
+ expect ( 'additive-manufacturing' ) . to match_expected_when_baked_with ( cmd )
19
+ end
20
+
16
21
it 'bakes american-government' do
17
22
cmd = form_bake_cmd ( book : 'american-government' )
18
23
expect ( 'american-government' ) . to match_expected_when_baked_with ( cmd )
You can’t perform that action at this time.
0 commit comments