LispCookbook / cl-cookbook

The Common Lisp Cookbook
http://lispcookbook.github.io/cl-cookbook/
Other
930 stars 138 forks source link

Feature Request: GNU info file #468

Open jgarte opened 1 year ago

jgarte commented 1 year ago

I would love to have a info file of the cookbook so I can then package it in GNU Guix similar to the sicp package:

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/scheme.scm#n479

pandoc produces info files also ;()

jgarte commented 1 year ago

Would require modifying this file: https://github.com/LispCookbook/cl-cookbook/blob/master/make-cookbook.lisp

vindarel commented 1 year ago

Curious, what is the purpose of packaging the Cookbook ? (ease of building it locally ?)

jgarte commented 1 year ago

So I can make a guix package similar to this one:

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/scheme.scm#n479

Source repo:

https://github.com/sarabander/sicp

The above Guix package provides the sicp book as an info page.

So, I can just do:

guix install sicp

info sicp

I'd like to do

guix-install cl-cookbook

info cl-cookbook

jgarte commented 1 year ago

@vindarel Do you think this would be hard to implement? Any issues you forsee?

vindarel commented 1 year ago

Depends on whether you want to package the Ruby libs? (I'm only a user of guix package, no experience with packaging)

jgarte commented 1 year ago

What ruby libs need to be packaged besides what's transitive to jekyll?

jgarte commented 1 year ago

Forgot to check here: https://github.com/LispCookbook/cl-cookbook/blob/master/Gemfile.lock

🦆 🦆 🦆