thesis v0.0.12 API Reference

Modules

Installs Thesis by adding these to your host app

Thesis is a simple and straightforward content editor for Phoenix websites. It doesn’t hijack your development workflow, but rather bolts on and works seamlessly with your existing web application

Provides a plug that preloads any Thesis content for a page. Typically, you’ll add this to your web/web.ex file, under the controller function

Thesis.EctoStore is the most commonly-used store for Thesis pages and content. It interfaces with the host application’s repo (which is provided in the config.exs of the host applicaton)

Creates the routes that Thesis uses to handle requests from its javascript editor client as well as static assets

Thesis.Store is an Elixir “behaviour” that defines the public function interface necessary for Thesis to use a particular store module

Provides several view helper functions, including the primary content/4 function. Look at individual function documentation to learn more about them