diff --git a/configuration.yaml b/configuration.yaml index 19663da..42657e0 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -7,11 +7,14 @@ url: http://www.pygal.org/ menu: - Documentation: link: /documentation/ - - Contribute: - link: /contribute/ + - Support: + link: /support/ - Download: link: /download/ +ribbon: + url: http://github.com/Kozea/pygal + project (git): url: git://github.com/Kozea/pygal.git path: pygal @@ -23,9 +26,9 @@ vcs (git): code browser (github): project name: Kozea/pygal -bug tracker (redmine): - base url: http://redmine.kozea.fr/ - project name: pygal +bug tracker (github): + base url: http://github.com/Kozea/pygal/issues + project name: Kozea/pygal continuous integration (jenkins): base url: http://jenkins.kozea.org/ diff --git a/pages/contribute.rst b/pages/contribute.rst deleted file mode 100644 index 7d34a76..0000000 --- a/pages/contribute.rst +++ /dev/null @@ -1,29 +0,0 @@ -============ - Contribute -============ - -As a Lazy Person -================ - -Want to write kind words? Please contact florian.mounier@kozea.fr. - - -As a Jabberer -============= - -Want to say something? Join our Jabber room: pygal@room.jabber.kozea.fr. - - -As a Simple User -================ - -Found a bug? Want a new feature? Report a new issue on the `pygal -bug-tracker `_ (registration -needed). - - -As a Hacker -=========== - -Interested in hacking? Feel free to clone the :codelink:`git repository on -GitHub` if you want to add new features, fix bugs or update documentation. diff --git a/pages/download.rst b/pages/download.rst index 4261fed..6e55527 100644 --- a/pages/download.rst +++ b/pages/download.rst @@ -14,17 +14,15 @@ Git Repository ============== If you want the development version of pygal, take a look at the -:codelink:`git repository on GitHub`, or clone it thanks to:: +:codelink:`git repository on GitHub`, or clone it with:: git clone git://github.com/Kozea/pygal.git -You can also download `the pygal package of the git repository -`_. +You can also download `the development snapshot from github `_. Linux Distribution Packages =========================== *Not packaged yet.* -If you are interested in creating packages for Linux distributions, read the -`"Contribute" page `_. +If you are interested in creating packages for Linux distributions, `contact us `_. diff --git a/pages/metadata.rst b/pages/metadata.rst index 5f2c5bc..8a46096 100644 --- a/pages/metadata.rst +++ b/pages/metadata.rst @@ -17,11 +17,11 @@ You can add per value metadata like labels, by specifying a dictionary instead o .. pygal-code:: chart = pygal.Bar() - chart.add('Red', {'value': 2, 'label': 'This is red'}) - chart.add('Green', {'value': 4, 'label': 'This is green'}) + chart.add('Red', [{'value': 2, 'label': 'This is red'}]) + chart.add('Green', [{'value': 4, 'label': 'This is green'}]) chart.add('Yellow', 7) - chart.add('Blue', {'value': 5}) - chart.add('Violet', {'value': 3, 'label': 'This is violet'}) + chart.add('Blue', [{'value': 5}]) + chart.add('Violet', [{'value': 3, 'label': 'This is violet'}]) Links @@ -35,26 +35,26 @@ You can also add hyper links: .. pygal-code:: chart = pygal.Bar() - chart.add('Red', { + chart.add('Red', [{ 'value': 2, 'label': 'This is red', - 'xlink': 'http://en.wikipedia.org/wiki/Red'}) + 'xlink': 'http://en.wikipedia.org/wiki/Red'}]) - chart.add('Green', { + chart.add('Green', [{ 'value': 4, 'label': 'This is green', - 'xlink': 'http://en.wikipedia.org/wiki/Green'}) + 'xlink': 'http://en.wikipedia.org/wiki/Green'}]) chart.add('Yellow', 7) - chart.add('Blue', { + chart.add('Blue', [{ 'value': 5, - 'xlink': 'http://en.wikipedia.org/wiki/Blue'}) + 'xlink': 'http://en.wikipedia.org/wiki/Blue'}]) - chart.add('Violet', { + chart.add('Violet', [{ 'value': 3, 'label': 'This is violet', - 'xlink': 'http://en.wikipedia.org/wiki/Violet_(color)'}) + 'xlink': 'http://en.wikipedia.org/wiki/Violet_(color)'}]) Advanced @@ -65,35 +65,35 @@ You can specify a dictionary to xlink with all links attributes: .. pygal-code:: chart = pygal.Bar() - chart.add('Red', { + chart.add('Red', [{ 'value': 2, 'label': 'This is red', - 'xlink': {'href': 'http://en.wikipedia.org/wiki/Red'}}) + 'xlink': {'href': 'http://en.wikipedia.org/wiki/Red'}}]) - chart.add('Green', { + chart.add('Green', [{ 'value': 4, 'label': 'This is green', 'xlink': { 'href': 'http://en.wikipedia.org/wiki/Green', 'target': '_top'} - }) + }]) chart.add('Yellow', 7) - chart.add('Blue', { + chart.add('Blue', [{ 'value': 5, 'xlink': { 'href': 'http://en.wikipedia.org/wiki/Blue', 'target': '_blank'} - }) + }]) - chart.add('Violet', { + chart.add('Violet', [{ 'value': 3, 'label': 'This is violet', 'xlink': { 'href': 'http://en.wikipedia.org/wiki/Violet_(color)', 'target': '_self'} - }) + }]) diff --git a/pages/other_customizations.rst b/pages/other_customizations.rst index 70a5fbd..0e57fe4 100644 --- a/pages/other_customizations.rst +++ b/pages/other_customizations.rst @@ -25,7 +25,7 @@ You can set the scale to be logarithmic: .. caution:: - Negative values are ignored, interpolation might be broken if it goes below zero... + Negative values are ignored Custom css and js diff --git a/pages/support.rst b/pages/support.rst new file mode 100644 index 0000000..9f95cd8 --- /dev/null +++ b/pages/support.rst @@ -0,0 +1,18 @@ +========= + Support +========= + + +IRC +=== + +For fast support, try our irc channel `##kozea `_ on +`Freenode `_. + + +Github +====== + +Submit your bug reports and your feature requests to the `github bug tracker `_. +Never hesitate to fork the project on github. +Pull requests are always welcomed. diff --git a/static/css/style.css b/static/css/style.css index a2e9e9b..0be027d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -103,7 +103,7 @@ nav { font-size: 1.1em; position: absolute; top: 70px; - right: 5%; + right: 8%; } nav ul { @@ -287,6 +287,10 @@ footer { } +footer ul li { + list-style-type: none; +} + footer ul li a { color: #6c6c6c; margin: 0 5px; @@ -297,3 +301,30 @@ footer ul li a:hover, footer ul li a:focus { color: #8b8b8b; } + +/* + ---------- + - RIBBON - + ---------- +*/ + +.ribbon { + background: linear-gradient(#E95355, #D63739); + overflow: hidden; + position: fixed; + right: -3em; + top: 2em; + transform: rotate(45deg); + box-shadow: 0 0 1em #888; +} +.ribbon a { + font: bold .8em "philisopher"; + border: 1px solid #faa; + color: #fff; + display: block; + margin: 0.05em 0 0.075em 0; + padding: 0.5em 3.5em; + text-align: center; + text-decoration: none; + text-shadow: 0 0 0.5em #444; +}