All Projects → codeplant → Simple Navigation

codeplant / Simple Navigation

Licence: mit
A ruby gem for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. Render your navigation as html list, link list or breadcrumbs.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Simple Navigation

Menuspy
A JavaScript library to make navigation menus highlight the item based on currently in view section.
Stars: ✭ 283 (-67.4%)
Mutual labels:  navigation, menu
Hamburger React
Animated hamburger menu icons for React (1.5 KB) 🍔
Stars: ✭ 391 (-54.95%)
Mutual labels:  navigation, menu
React Horizontal Scrolling Menu
Horizontal scrolling menu component for React.
Stars: ✭ 289 (-66.71%)
Mutual labels:  navigation, menu
Pluck to hash
Extend ActiveRecord pluck to return array of hashes
Stars: ✭ 275 (-68.32%)
Mutual labels:  rails, sinatra
Will paginate
Pagination library for Rails, Sinatra, Merb, DataMapper, and more
Stars: ✭ 5,621 (+547.58%)
Mutual labels:  rails, sinatra
Pagy
🏆 The Best Pagination Ruby Gem 🥇
Stars: ✭ 3,340 (+284.79%)
Mutual labels:  rails, sinatra
Django Sitetree
Reusable application for Django introducing site tree, menu and breadcrumbs navigation elements.
Stars: ✭ 330 (-61.98%)
Mutual labels:  navigation, menu
navbar.js
Modern Navigation Component
Stars: ✭ 47 (-94.59%)
Mutual labels:  navigation, menu
Laravel Menu
Html menu generator for Laravel
Stars: ✭ 650 (-25.12%)
Mutual labels:  navigation, menu
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (-25.23%)
Mutual labels:  navigation, menu
Transformerslayout
🔥 App金刚区导航菜单,类似淘宝、QQ音乐等APP导航,方格布局横向多行滑动翻页带滚动条
Stars: ✭ 258 (-70.28%)
Mutual labels:  navigation, menu
Active link to
Rails view helper to manage "active" state of a link
Stars: ✭ 792 (-8.76%)
Mutual labels:  rails, navigation
ml-stack-nav
Customizable, responsive, accessible, easy-to-use multi-level stack navigation menu with slide effect.
Stars: ✭ 20 (-97.7%)
Mutual labels:  navigation, menu
Sidr
Sidr is a jQuery plugin for creating side menus and the easiest way for doing your menu responsive.
Stars: ✭ 2,924 (+236.87%)
Mutual labels:  navigation, menu
simple-sidenav
Simple, easily customizable, animated menu.
Stars: ✭ 40 (-95.39%)
Mutual labels:  navigation, menu
Navigasmic
Navigasmic: Semantic navigation for Rails using simple view level or configuration definitions.
Stars: ✭ 327 (-62.33%)
Mutual labels:  rails, navigation
bsnav
An extended Bootstrap 4 menu with a bunch of utilities
Stars: ✭ 90 (-89.63%)
Mutual labels:  navigation, menu
priority-plus
A modern implementation of the priority plus navigation pattern.
Stars: ✭ 30 (-96.54%)
Mutual labels:  navigation, menu
Dawnscanner
Dawn is a static analysis security scanner for ruby written web applications. It supports Sinatra, Padrino and Ruby on Rails frameworks.
Stars: ✭ 642 (-26.04%)
Mutual labels:  rails, sinatra
Luxbar
🍸 Featherweight, Responsive, CSS Only Navigation Bar
Stars: ✭ 663 (-23.62%)
Mutual labels:  navigation, menu

Simple Navigation

Gem Version Build Status Code Climate Coverage Status

Simple Navigation is a ruby library for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. It runs with all ruby versions (including ruby 2.x).

Documentation

For the complete documentation, take a look at the project's wiki.

RDoc

You can consult the project's RDoc on RubyDoc.info.

If you need to generate the RDoc files locally, check out the repository and simply call the rake rdoc in the project's folder.

Online Demo

You can try simple-navigation with the online demo.

The source code of this online demo is available on Github.

Feedback and Questions

Don't hesitate to come talk on the project's group.

Contributing

Fork, fix, then send a Pull Request.

To run the test suite locally against all supported frameworks:

% bundle install
% rake spec:all

To target the test suite against one framework:

% rake spec:rails-4-2-stable

You can find a list of supported spec tasks by running rake -T. You may also find it useful to run a specific test for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration, then you can run the specific test:

% BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle install -j 4 % BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle exec rspec ./spec/requests/users_spec.rb

Rake and Bundler

If you use a shell plugin (like oh-my-zsh:bundler) that auto-prefixes commands with bundle exec using the rake command will fail.

Get the original command with type -a rake:

% type -a rake
rake is an alias for bundled_rake
rake is /Users/username/.rubies/ruby-2.2.3/bin/rake
rake is /usr/bin/rake

In this situation /Users/username/.rubies/ruby-2.2.3/bin/rake is the command you should use.

License

Copyright (c) 2019 codeplant GmbH, released under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].