diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4557821..2eec45c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,6 @@ +--- +currentMenu: contributing +--- # Contributing First of all, **thank you** for contributing! diff --git a/README.md b/README.md index 70841e3..b3dcab5 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/couscous.yml b/couscous.yml index af3f776..48b7daf 100755 --- a/couscous.yml +++ b/couscous.yml @@ -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: diff --git a/docs/command-callables.md b/docs/command-callables.md index 874785a..5735876 100644 --- a/docs/command-callables.md +++ b/docs/command-callables.md @@ -1,3 +1,6 @@ +--- +currentMenu: callable +--- # Command callables A command can be [any PHP callable](http://php.net/manual/en/language.types.callable.php): diff --git a/docs/command-definition.md b/docs/command-definition.md index 00e639f..027e9a8 100644 --- a/docs/command-definition.md +++ b/docs/command-definition.md @@ -1,3 +1,6 @@ +--- +currentMenu: definition +--- # Command definition Commands are defined using a string expression. diff --git a/docs/dependency-injection.md b/docs/dependency-injection.md index 6ffb7f3..c2610d5 100644 --- a/docs/dependency-injection.md +++ b/docs/dependency-injection.md @@ -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. diff --git a/docs/helpers.md b/docs/helpers.md index ff0c227..a7c9111 100644 --- a/docs/helpers.md +++ b/docs/helpers.md @@ -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: diff --git a/docs/php-di.md b/docs/php-di.md index 9bc203a..80c1bf6 100644 --- a/docs/php-di.md +++ b/docs/php-di.md @@ -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. diff --git a/docs/pimple.md b/docs/pimple.md index f7e5f5a..2aa32f6 100644 --- a/docs/pimple.md +++ b/docs/pimple.md @@ -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. diff --git a/website/css/main.css b/website/css/main.css index daba5c4..ea31b48 100755 --- a/website/css/main.css +++ b/website/css/main.css @@ -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;