Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.44 KB

Pageflow Outline Navigation Bar

Gem Version

A navigation bar displaying chapter titles.

Installation

Add this line to your application's Gemfile:

gem 'pageflow-outline-navigation-bar'

Register the plugin inside the configure block in config/initializers/pageflow.rb

Pageflow.configure do |config|
  config.plugin(Pageflow::OutlineNavigationBar.plugin)
end

Include javascripts and stylesheets:

# app/assets/javascripts/pageflow/application.js
//= require pageflow/outline_navigation_bar

# app/assets/stylesheets/pageflow/themes/default.scss
@import "pageflow/outline_navigation_bar/themes/default";

Execute bundle install and restart the application server. Now the widget type can be enabled in your feature settings.

Troubleshooting

If you run into problems while installing the page type, please also refer to the Troubleshooting wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

Contributing Locales

Edit the translations directly on the pageflow-outline-navigation-bar locale project.