Hex.pmDocumentation

LivebookUtils

LivebookUtils is an experimental collection of utility tasks and modules that make managing a complex Livebook project easier.

We use this library at DockYard Academy and LiveView Native Guides and are in between migrating tasks and modules from those projects into this project.

Installation

Add the dependency to your project's mix path.

def deps do
  [
    {:livebook_utils, "~> 0.1.0"}
  ]
end

Configure project environment variables in your dev.exs file.

# Livebook Utils Configuration
config :livebook_utils,
  index_path: "guides/index.livemd",
  notebooks_path: "guides"

Index

LivebookUtils assumes you have an index file. This file should contain links to all of your notebooks in chronological order.

For example

* [Book 1](book1.livemd)
* [Book 2](book2.livemd)
* [Book 3](book3.livemd)

These links may be in any format or order as long as they match the regular expression we use to find links.