Repo organization for book with local package #109
-
Say I have a book that pairs with a local package and the notebooks need to import the package.
or like this with the package inside the book
And suggestions on the requirements / setup / postBuild for building the book with GitHub actions and working with Binder? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Seems like the first example (with the package and the book being at the same top level) makes more sense conceptually to me. I say this based on the view that for a library you could conceptually view the
Seems like you could just install the package locally, then install requirements for the book, then build the book
|
Beta Was this translation helpful? Give feedback.
-
It worked, thanks @matthewfeickert Book: Repo: Modified deploy script: |
Beta Was this translation helpful? Give feedback.
Seems like the first example (with the package and the book being at the same top level) makes more sense conceptually to me. I say this based on the view that for a library you could conceptually view the
book/
similar to thedocs/
(asjupyter-book
itself seems to do). So for a toy example this might look something likeSeems like you could just install the package local…