ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!
https://nixos-and-flakes.thiscute.world
Creative Commons Attribution Share Alike 4.0 International
2.05k stars 104 forks source link

pdf release sections out of order #179

Closed Tactile-Taco closed 3 weeks ago

Tactile-Taco commented 3 months ago

The sections of the book release pdf are out of order. It begins with "Adding Binary Cache Servers" as the first section. The preface comes later and it seems to be the correct order after that, however I do not know the full organization of the book so I can't say for sure.

42Willow commented 3 months ago

https://github.com/ryan4yin/nixos-and-flakes-book/compare/v0.4.1...v0.4.2

Broke somewhere here I believe

dcolestock commented 3 weeks ago

Generating the pdf build of the current 359c1195827f1aa50b7ead6ad8249fb653e78cd2 commit with

git clone git@github.com:ryan4yin/nixos-and-flakes-book.git
cd nixos-and-flakes-book/
nix develop .#export-pdf --ignore-environment --command bash -c '
            pnpm install
            pnpm export-pdf
          '

reveals the issue is fixed. It goes right into the preface. I was also able to replicate the original issue by switching back to tag v0.4.2 and generating the pdf again, so it appears to be fixed somewhere between the then and now.

ryan4yin commented 3 weeks ago

@dcolestock Thanks for the feedback, I add a new tag https://github.com/ryan4yin/nixos-and-flakes-book/releases/tag/v0.4.4 and confirmed the issue is gone.