Skip to content

DanielKuhn/pageflow-outline-navigation-bar

 
 

Repository files navigation

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.

About

A navigation bar displaying chapter titles.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 38.9%
  • JavaScript 38.4%
  • HTML 15.0%
  • Ruby 7.7%