pressbooks / pressbooks-aldine

Aldine is the default root theme for Pressbooks.
https://pressbooks.org/
GNU General Public License v3.0
11 stars 7 forks source link

feat: add new Catalog support #351

Closed richard015ar closed 2 years ago

richard015ar commented 2 years ago

Issue: https://github.com/pressbooks/pressbooks-aldine/issues/345

This change adds support for the new catalog: https://github.com/pressbooks/pressbooks-network-catalog/ It also allows to add any page as a Catalog page independently of the title of the page. It only requires the page must be Catalog page template to be accepted as a Catalog page. If the user picks multiple pages with the Catalog template, then the network will contain multiple catalogues.

codecov-commenter commented 2 years ago

Codecov Report

Merging #351 (9fd60d8) into dev (ad9d705) will not change coverage. The diff coverage is 0.00%.

@@          Coverage Diff          @@
##             dev    #351   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          7       7           
  Lines        590     595    +5     
=====================================
- Misses       590     595    +5     
Impacted Files Coverage Δ
inc/actions/namespace.php 0.00% <0.00%> (ø)
inc/activation/namespace.php 0.00% <0.00%> (ø)
inc/helpers/namespace.php 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.