Skip to content

CORE-1035 - customizable folio #413

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

TylerZeroMaster
Copy link
Contributor

@TylerZeroMaster TylerZeroMaster commented Jun 18, 2025

https://openstax.atlassian.net/browse/CORE-1035

One part of the folio for algebra-1. This new version of BakeFolio is very similar to the old version except it will not include the separator if the number is missing (unnumbered unit/chapter) and it gets the number out of the title instead of trying to generate it.

For algebra-1 at least, this approach works better. Another difference is that v2 only supports the "new approach" to the folio. This becomes relevant when looking at the style changes in ce-styles PR. In short, the old folio was automatically generated purely in CSS. This new one can be generated in cookbook which is good for cases like this where I need to conditionally have different text.

As for the fix to chapter titles... I don't think this should affect the web build at all. I am pretty sure the web version ignores the chapter titles.

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (201e692) to head (bd36b8c).

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #413   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          217       219    +2     
  Lines         3603      3681   +78     
=========================================
+ Hits          3603      3681   +78     
Files with missing lines Coverage Δ
lib/kitchen/directions/bake_folio/main.rb 100.00% <100.00%> (ø)
lib/kitchen/directions/bake_folio/v1.rb 100.00% <ø> (ø)
lib/kitchen/directions/bake_folio/v2.rb 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TylerZeroMaster TylerZeroMaster requested a review from jivey June 18, 2025 21:53
@TylerZeroMaster TylerZeroMaster marked this pull request as ready for review June 18, 2025 21:53
@TylerZeroMaster TylerZeroMaster force-pushed the core-1035-customizable-folio branch from b311cbb to 17393db Compare June 20, 2025 19:30
@TylerZeroMaster TylerZeroMaster force-pushed the core-1035-customizable-folio branch from 17393db to bd36b8c Compare June 20, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant