Skip to content

Conversation

@Arun24-8
Copy link

Overview

Adds a printable "Book" layout and supporting print stylesheet for the curriculum guides.

Changes

  • Added layouts/_default/book.html
  • Added assets/css/book-print.css and print.css
  • Added sample content/book/_index.md
  • Updated styles for print optimization

Why

This makes the site’s guides printable and lays the groundwork for generating PDFs.

Fixes #127

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-piscine pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-curriculum pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-launch pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-sdc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-tracks pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-common pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Oct 30, 2025

👷 Deploy request for cyf-itd pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a92dc61

@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for cyf-programming ready!

Name Link
🔨 Latest commit a92dc61
🔍 Latest deploy log https://app.netlify.com/projects/cyf-programming/deploys/6903512019b26e000807a116
😎 Deploy Preview https://deploy-preview-1636--cyf-programming.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 84 (🔴 down 16 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@illicitonion
Copy link
Member

I took a look at this, and I'm not sure it's quite solving the right problem here.

We want to make it so that all of the existing content of the course can easily be printed. So on the org-cyf-itp site you could easily generate a PDF that contains each of the modules, all of the prep and backlogs and dayplans for each sprint, etc.

This looks like it's instead creating a new section of the guides repo which adds brand new (placeholder) content.

Ideally e.g. if I go to https://deploy-preview-1636--cyf-programming.netlify.app/book/ it would show the whole course as one page (either as HTML that will print conveniently to a PDF, or as a PDF itself generated at build time).

@Arun24-8
Copy link
Author

Arun24-8 commented Nov 7, 2025

“Hi! My PR’s deploy preview (#1636) is pending review in Netlify (cyf-piscine). Could someone please approve it so I can verify the Book layout changes?”

@illicitonion
Copy link
Member

All of our sites work the same. I allowed one of the deploy previews (see #1636 (comment)) which you can use, but I'd recommend developing locally and verifying things there (see instructions in https://github.com/CodeYourFuture/curriculum/blob/main/CONTRIBUTING.md) rather than trying to iterate on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

Feature: PDF book

2 participants