Skip to content

Commit

Permalink
Current menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Apr 12, 2015
1 parent 22ea526 commit 718f623
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: contributing
---
# Contributing

First of all, **thank you** for contributing!
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: home
---
Silly CLI micro-framework based on Symfony Console.

[![Build Status](https://img.shields.io/travis/mnapoli/silly.svg?style=flat-square)](https://travis-ci.org/mnapoli/silly)
Expand Down
2 changes: 1 addition & 1 deletion couscous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ menu:
helpers:
text: Console helpers
relativeUrl: docs/helpers.html
container:
dependency-injection:
text: Dependency injection
relativeUrl: docs/dependency-injection.html
php-di:
Expand Down
3 changes: 3 additions & 0 deletions docs/command-callables.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: callable
---
# Command callables

A command can be [any PHP callable](http://php.net/manual/en/language.types.callable.php):
Expand Down
3 changes: 3 additions & 0 deletions docs/command-definition.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: definition
---
# Command definition

Commands are defined using a string expression.
Expand Down
3 changes: 3 additions & 0 deletions docs/dependency-injection.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: dependency-injection
---
# Dependency injection

Silly helps you to do dependency injection without forcing you to use a specific dependency injection container.
Expand Down
3 changes: 3 additions & 0 deletions docs/helpers.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: helpers
---
# Console helpers

You can use [Symfony's console helpers](http://symfony.com/doc/current/components/console/helpers/index.html) by getting them from the application:
Expand Down
3 changes: 3 additions & 0 deletions docs/php-di.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: php-di
---
# The PHP-DI edition

As explained in the [dependency injection](dependency-injection.md) documentation, Silly can work with any dependency injection container.
Expand Down
3 changes: 3 additions & 0 deletions docs/pimple.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
currentMenu: pimple
---
# The Pimple edition

As explained in the [dependency injection](dependency-injection.md) documentation, Silly can work with any dependency injection container.
Expand Down
4 changes: 2 additions & 2 deletions website/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ header.navbar {
#sidebar .text-muted {
color: #bbbbbb;
}
#sidebar a {
#sidebar li>a {
text-transform: uppercase;
color: #e69411;
border-radius: 0;
border-bottom: solid 2px transparent;
padding: 8px 15px;
}
#sidebar a:hover, #sidebar a:focus {
#sidebar li.active>a, #sidebar li>a:hover, #sidebar li>a:focus {
text-decoration: none;
background: none;
border-bottom: solid 2px;
Expand Down

0 comments on commit 718f623

Please sign in to comment.