Skip to content

Stop baking answer key in additive-manufacturing #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

* Stop baking `answer key` in `additive-manufacturing`

## [v2.25.0] - 2025-01-16

* Bake `glossary` in `additive-manufacturing`
Expand Down
13 changes: 0 additions & 13 deletions lib/recipes/additive-manufacturing/recipe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

AddInjectedExerciseId.v1(book: book)

answer_key = BookAnswerKeyContainer.v1(book: book)

book.chapters.each do |chapter|
BakeNonIntroductionPages.v1(chapter: chapter)

Expand Down Expand Up @@ -78,19 +76,8 @@
BakeInjectedExerciseQuestion.v1(question: question, number: question.count_in(:chapter))
end

answer_key_inner_container = AnswerKeyInnerContainer.v1(
chapter: chapter, metadata_source: metadata, append_to: answer_key
)

exercises = %w[review-questions practice free-response]
exercises.each do |klass|
Kitchen::Directions::MoveSolutionsFromExerciseSection.v1(
within: chapter, append_to: answer_key_inner_container, section_class: klass
)
end
end

AnswerKeyCleaner.v1(book: book)
BakeFootnotes.v1(book: book)
BakeIndex.v1(book: book)
BakeCompositePages.v1(book: book)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,6 @@ Introduction to Additive Manufacturing
<span class="os-text">Index</span>
</a>
</li>
<li class="os-toc-composite-chapter" cnx-archive-shortid="" cnx-archive-uri="" data-toc-type="sub-book-tree">
<a href="#">
<span class="os-text">Answer Key</span>
</a>
<ol class="os-chapter">

</ol>
</li>
<li class="os-toc-index" cnx-archive-shortid="" cnx-archive-uri="composite-page-6" data-toc-type="book-content" data-toc-target-type="index">
<a href="#composite-page-6">
<span class="os-text">Index</span>
Expand Down Expand Up @@ -1500,22 +1492,6 @@ Layer &#x2013; The layer is made by selectively and precisely depositing the mat
</div>
</div>
</div>
<div class="os-eob os-solutions-container" data-type="composite-chapter" data-uuid-key=".solutions">
<h1 data-type="document-title">
<span class="os-text">Answer Key</span>
</h1>
<div data-type="metadata" style="display: none;">
<h1 data-type="document-title" itemprop="name">Answer Key</h1>
<span data-type="revised" data-value="2024-07-09T23:27:30+00:00"></span>
<span data-type="slug" data-value="additive-manufacturing-essentials"></span>
<div class="permissions">
<p class="license">
Licensed:
<a href="http://creativecommons.org/licenses/by/4.0/" itemprop="dc:license,lrmi:useRightsURL" data-type="license" target="_blank" rel="noopener nofollow">Creative Commons Attribution License</a>
</p>
</div>
</div>
</div>
<div class="os-eob os-index-container" data-type="composite-page" data-uuid-key="index" id="composite-page-6">
<h1 data-type="document-title">
<span class="os-text">Index</span>
Expand Down
Loading