pageflow-outline-navigation-bar

Pageflow navigation widget.


License
MIT
Install
gem install pageflow-outline-navigation-bar -v 1.3.1

Documentation

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.