From ace5ef554d3716f62ed2d671adcf9db48f3122dd Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Sat, 2 Feb 2013 13:24:00 +0000 Subject: Sync with web/nav (nav.mageia.org) code base. --- _nav/README.md | 69 +- _nav/css/source.css | 23 + _nav/html/index.php | 7 +- _nav/index.php | 2 +- _nav/js/source.js | 6 +- _nav/lib.php | 193 ++- _nav/lib/php-markdown/LICENSE | 39 + _nav/lib/php-markdown/README | 737 ++++++++ _nav/lib/php-markdown/README.markdown | 737 ++++++++ _nav/lib/php-markdown/markdown.php | 3042 +++++++++++++++++++++++++++++++++ 10 files changed, 4812 insertions(+), 43 deletions(-) create mode 100644 _nav/lib/php-markdown/LICENSE create mode 100644 _nav/lib/php-markdown/README create mode 100644 _nav/lib/php-markdown/README.markdown create mode 100644 _nav/lib/php-markdown/markdown.php (limited to '_nav') diff --git a/_nav/README.md b/_nav/README.md index d7bd19b86..8e0fd4d1c 100644 --- a/_nav/README.md +++ b/_nav/README.md @@ -5,36 +5,42 @@ a same, consistent looking, synchronized navigation bar. You have two ways to use this service: -* using a Javascript snippet; -* using directly CSS and HTML and placing them at the right place. +1. using a Javascript snippet; +1. using directly CSS and HTML and placing them at the right place. - -## Use a Javascript snippet (preferred, less work) +--- +## 1. Use a Javascript snippet (preferred, less work) Place this at the end of your HTML document: -> ``` +> ``` > ``` It will: * load the stylesheet rules * detect some of your document features; -* build a ```