Skip to content

Repo organization for book with local package #109

Answered by matthewfeickert
cranmer asked this question in Q&A
Discussion options

You must be logged in to vote

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 the docs/ (as jupyter-book itself seems to do). So for a toy example this might look something like

$ tree
.
├── book
│   ├── _config.yml
│   ├── notebook.ipynb
│   ├── requirements.txt
│   └── _toc.yml
├── setup.cfg
├── setup.py
└── src
    └── package
        └── __init__.py

3 directories, 6 files

suggestions on the requirements / setup / postBuild for building the book with GitHub actions and working with Binder

Seems like you could just install the package local…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisjsewell
Comment options

@matthewfeickert
Comment options

@cranmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants