Commit cf8ddaa8 authored by Cédric CORAZZA's avatar Cédric CORAZZA

Début de la traduction du manuel du client de synchronisation.

parents
# Dolphin file manager
*.directory
# Generated Files
*/_build/*
# Meta Data
.DS_Store
# Backups
*~
*.sav
*.backup
# Exclude NetBeans project
/nbproject/*
*.db
*.snag
\ No newline at end of file
This diff is collapsed.
# Client de synchronisation pour ordinateur ownCloud
| Tâche | État |
|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| client-build-matrix | [![Build Status](https://ci.owncloud.org/job/client-build-matrix-linux/badge/icon)](https://ci.owncloud.org/job/client-build-matrix-linux/) |
| client-test-matrix-linux-no-build | [![Build Status](https://ci.owncloud.org/buildStatus/icon?job=client-test-matrix-linux-no-build)](https://ci.owncloud.org/job/client-test-matrix-linux-no-build/) |
| coverity_scan | [![Build Status](https://img.shields.io/coverity/scan/2482.svg)](https://scan.coverity.com/projects/owncloud-mirall)
## Introduction
Le client pour ordinateur ownCloud est un outil pour synchroniser les fichiers
de votre serveur ownCloud vers votre ordinateur.
## Téléchargement
### Paquets binaires
* Consulter la page de téléchargements https://owncloud.org/install/#install-clients
### Code source
Le développement du client pour ordinateur ownCloud utilise un dépôt Git. Puisque
Git permet facilement de créer des versions dérivées et d'améliorer le code et
de l'adapter à ses besoins, de nombreuses copies peuvent être trouvées sur
Internet, en particulier sur GitHub. Cependant, le dépôt officiel maintenu par les
développeurs se trouve sur https://github.com/owncloud/client.
## Compilation du code source
[Compilation du client](http://doc.owncloud.org/desktop/2.0/building.html)
dans le manuel du client ownCloud.
## Mainteneurs et contributeurs
Les mainteneurs de ce dépôt sont :
* Klaas Freitag <freitag@owncloud.com>
* Daniel Molkentin <danimo@owncloud.com>
* Markus Goetz <guruz@owncloud.com>
* Olivier Goffart <ogoffart@owncloud.com>
Le client pour ordinateur ownCloud est développé par la communauté ownCloud et
reçoit des correctifs de divers auteurs.
## Rapport de problèmes et contribution
Si vous trouvez des bogues ou si vous avez des suggestions d'amélioration,
veuillez saisir un ticket sur https://github.com/owncloud/client/issues. Ne
contactez pas les auteurs directement par courriel, car cela augmente les
chances que votre rapport soit perdu.
Si vous créez un correctif, veuillez soumettre une [requête de
«  pull » ](https://github.com/owncloud/client/pulls). Pour les correctifs
non triviaux, vous devez signer [l'accord de
contribution](https://owncloud.org/contribute/agreement) avons que nous
puissions accepter votre correctif.
Si vous voulez nous contacter, par exemple avant de commencer le développement
d'une fonctionnalité plus complexe, vous pouvez nous joindre sur
[#owncloud-client-dev](irc://irc.freenode.net/#owncloud-client-dev).
## License
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
## Traduction de la licence
Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou
le modifier selon les termes de la licence GNU General Public License
telle que publiée par la Free Software Foundation ; dans la version 2
de la licence, ou (si vous le voulez), dans une version ultérieure.
Ce programme est distribué dans l'espoir qu'il sera utile, mais SANS
GARANTIE AUCUNE ; sans même la garantie implicite de MARCHANDABILITÉ
ou D'ADÉQUATION À UN BESOIN PARTICULIER. Consulter la licence GNU
General Public License pour plus de détails.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 512 512"
height="512px"
id="Layer_1"
version="1.1"
viewBox="0 0 512 512"
width="512px"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="diaspora.svg"><metadata
id="metadata23"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs21" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="835"
id="namedview19"
showgrid="false"
inkscape:snap-page="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:zoom="0.65186405"
inkscape:cx="44.967724"
inkscape:cy="89.460609"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g3" /><g
id="g3"><rect
style="opacity:1;fill:#212121;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="rect4151"
width="512"
height="512"
x="0"
y="0"
ry="256" /><path
transform="matrix(0.99926466,0,0,0.99926466,0.18974539,0.19224343)"
style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd"
d="m 256.078,321.98 -71.808,98.86 -57.139,-41.563 71.652,-98.711 -116.095,-37.793 21.767,-67.269 116.248,37.789 0,-122.141 70.594,0 0,122.141 116.246,-37.789 21.766,67.269 -116.094,37.637 71.801,98.867 -57.133,41.563 z"
id="polygon17" /></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="150.24112mm"
height="150.24112mm"
viewBox="0 0 532.35042 532.35042"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="mail.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="-325.44712"
inkscape:cy="335.55007"
inkscape:document-units="px"
inkscape:current-layer="text4136"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1600"
inkscape:window-height="835"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-101.01527,-213.93559)">
<rect
style="opacity:1;fill:#5cb85c;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="rect4140"
width="532.3504"
height="532.3504"
x="101.01527"
y="213.93559"
ry="266.1752" />
<g
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:325.95983887px;line-height:125%;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="text4136">
<path
d="m 530.17038,434.63649 c -5.45692,6.00261 -11.64142,11.27763 -18.18972,15.82506 -30.37684,20.55439 -60.93558,41.29067 -90.58482,62.75455 -15.27937,11.27763 -34.19668,25.10181 -54.02348,25.10181 l -0.1819,0 -0.1819,0 c -19.8268,0 -38.74411,-13.82418 -54.02347,-25.10181 -29.64925,-21.64577 -60.20799,-42.20016 -90.40293,-62.75455 -6.7302,-4.54743 -12.9147,-9.82245 -18.37162,-15.82506 l 0,144.4264 c 0,16.00696 13.0966,29.10356 29.10356,29.10356 l 267.75272,0 c 16.00696,0 29.10356,-13.0966 29.10356,-29.10356 l 0,-144.4264 z m 0,-53.47778 c 0,-16.00696 -13.2785,-29.10356 -29.10356,-29.10356 l -267.75272,0 c -19.46301,0 -29.10356,15.27937 -29.10356,33.1053 0,16.55264 18.37162,37.10703 31.28632,45.8381 28.19408,19.6449 56.75194,39.2898 84.94601,59.1166 11.82332,8.18537 31.83202,24.91992 46.56569,24.91992 l 0.1819,0 0.1819,0 c 14.73367,0 34.74237,-16.73455 46.56569,-24.91992 28.19407,-19.8268 56.75193,-39.4717 85.1279,-59.1166 16.00696,-11.09573 31.10443,-29.46735 31.10443,-49.83984 z"
style=""
id="path4137" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 32 32"
version="1.1"
viewBox="0 0 32 32"
xml:space="preserve"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="rss.svg"><metadata
id="metadata25"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs23" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1359"
id="namedview21"
showgrid="false"
inkscape:zoom="7.375"
inkscape:cx="16"
inkscape:cy="16"
inkscape:window-x="0"
inkscape:window-y="240"
inkscape:window-maximized="1"
inkscape:current-layer="g5" /><g
id="Flat_copy_6"><g
id="g5"><path
d="M16,0C7.163,0,0,7.163,0,16c0,8.836,7.163,16,16,16s16-7.164,16-16C32,7.163,24.837,0,16,0z"
fill="#FABC3D"
id="path7"
style="fill:#F8991D" /></g><path
d="M21.705,22.647h2.942c0-8.434-6.861-15.3-15.294-15.3v2.934C16.163,10.281,21.705,15.829,21.705,22.647z M11.39,22.652c1.128,0,2.039-0.906,2.039-2.029c0-1.117-0.911-2.033-2.039-2.033c-1.123,0-2.036,0.916-2.036,2.033 C9.353,21.746,10.266,22.652,11.39,22.652z M16.506,22.648L16.506,22.648h2.945c0-5.57-4.531-10.101-10.099-10.101v2.933 c1.91,0,3.705,0.746,5.057,2.1C15.761,18.929,16.506,20.732,16.506,22.648z"
fill="#FFFFFF"
id="path9" /><g
id="g11"><defs
id="defs13"><path
d="M50.696-47.198c-8.837,0-16,7.163-16,16c0,8.836,7.163,16,16,16s16-7.164,16-16 C66.696-40.034,59.533-47.198,50.696-47.198z"
id="SVGID_3_" /></defs><clipPath
id="SVGID_4_"><use
overflow="visible"
xlink:href="#SVGID_3_"
id="use17" /></clipPath><g
clip-path="url(#SVGID_4_)"
opacity="0.99"
id="g19" /></g></g></svg>
\ No newline at end of file
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 512 512" height="512px" id="Layer_1" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path clip-rule="evenodd" d="M256.23,512C396.81,512,512,396.81,512,256.23 C512,115.184,396.81,0,256.23,0C115.184,0,0,115.184,0,256.23C0,396.81,115.184,512,256.23,512L256.23,512z" fill="#1EBEF0" fill-rule="evenodd"/><path clip-rule="evenodd" d="M276.635,137.407c-9.077,6.351-15.873,15.42-20.865,25.396 l-2.265,5.898c-1.359,4.077-2.273,8.163-2.726,12.241c-0.453,2.265-0.453,4.085-0.906,5.898v3.625l0.453,5.898l0.906,7.71h-0.453 h-2.719h-1.813c-22.224-0.453-43.987-5.445-63.04-14.061l-11.334-5.437c-2.265-0.914-4.078-2.273-6.351-3.632 c-12.694-7.257-24.028-16.78-34.012-27.208c-6.343-6.804-12.241-14.061-17.232-21.771c-5.438,10.437-8.616,22.677-8.616,35.379 c0,4.531,0.453,9.069,1.359,13.6c0,2.265,0.453,4.085,0.914,5.898c4.078,13.6,11.334,25.849,21.31,34.918l4.992,4.539l-6.351-1.367 c-8.163-2.266-16.326-4.984-24.036-8.164c0.906,16.327,7.257,31.293,17.232,43.089c9.522,11.327,22.224,19.951,36.73,24.028 l-16.779,0.906l-14.054-0.453c10.429,25.403,34.465,43.995,63.033,46.261c-26.302,19.498-58.955,30.388-93.873,30.388 c25.849,15.873,55.33,25.841,87.521,27.653h20.865c99.31-5.438,177.77-87.522,177.77-188.199v-9.522 c3.625-3.171,7.25-6.343,10.89-9.975c8.608-7.71,16.326-16.78,22.67-26.302c-10.437,6.804-22.67,10.429-36.277,10.429h-0.453 h-0.453h0.453c12.232-8.163,21.763-20.404,26.747-34.465c-9.515,4.992-20.404,8.616-31.294,11.796l-1.359,0.453l-8.155,1.812 c-11.795-12.702-28.575-20.865-47.167-20.865h-0.452h-0.906c-4.984,0-9.983,0.453-14.968,1.367 c-7.249,1.812-14.514,4.984-20.404,8.616L276.635,137.407z" fill="#FFFFFF" fill-rule="evenodd"/></g></svg>
\ No newline at end of file
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 512 512" height="512px" id="Layer_1" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><linearGradient gradientUnits="userSpaceOnUse" id="SVGID_1_" x1="29.8503" x2="443.0858" y1="48.8522" y2="462.0877"><stop offset="0" style="stop-color:#DD272D"/><stop offset="0.5153" style="stop-color:#CA2429"/><stop offset="1" style="stop-color:#B22025"/></linearGradient><polygon fill="url(#SVGID_1_)" points="217.949,313.149 313.196,256 217.949,198.851 "/><linearGradient gradientUnits="userSpaceOnUse" id="SVGID_2_" x1="39.3513" x2="452.5868" y1="39.3513" y2="452.5867"><stop offset="0" style="stop-color:#DD272D"/><stop offset="0.5153" style="stop-color:#CA2429"/><stop offset="1" style="stop-color:#B22025"/></linearGradient><path d="M256,7.098C118.535,7.098,7.098,118.535,7.098,256c0,137.465,111.437,248.902,248.902,248.902 c137.465,0,248.902-111.437,248.902-248.902C504.902,118.535,393.465,7.098,256,7.098z M408.349,268.287 c0,26.307-3.048,52.605-3.048,52.605s-2.981,22.402-12.106,32.251c-11.592,12.935-24.574,13.011-30.527,13.773 C320.026,370.183,256,370.297,256,370.297s-79.227-0.771-103.601-3.267c-6.782-1.353-21.993-0.962-33.594-13.897 c-9.134-9.849-12.106-32.251-12.106-32.251s-3.048-26.289-3.048-52.605v-24.65c0-26.298,3.048-52.596,3.048-52.596 s2.981-22.412,12.106-32.279c11.601-12.935,24.574-13.011,30.527-13.744c42.633-3.305,106.592-3.305,106.592-3.305h0.143 c0,0,63.959,0,106.601,3.305c5.953,0.733,18.935,0.81,30.527,13.744c9.134,9.868,12.106,32.279,12.106,32.279 s3.048,26.298,3.048,52.605V268.287z" fill="url(#SVGID_2_)"/></g></svg>
\ No newline at end of file
========================
Sphinx Bootstrap Theme
========================
This repository integrates the Twitter Bootstrap_ CSS / JavaScript framework
as a Sphinx_ theme_. A live demo_ is available to preview the theme.
.. _Bootstrap: http://twitter.github.com/bootstrap/
.. _Sphinx: http://sphinx.pocoo.org/
.. _theme: http://sphinx.pocoo.org/theming.html
.. _demo: http://ryan-roemer.github.com/sphinx-bootstrap-theme
Installation
============
To install the theme, download the theme directory and update your
configuration
1. Create a "_themes" directory in your project source root.
2. Get the "bootstrap" themes either as raw files or as a zipfile from
the repository.
a. Most current way is to just clone this repo or download the full
repo source and move the "bootstrap" directory to "_themes".
b. Alternatively, there are some prepackaged theme zip files (containing
only the theme files), which can be read directly by Sphinx. See the
repo downloads_ page for available packages. Then download
"bootstrap.zip"::
$ cd /path/to/_themes
$ wget https://github.com/downloads/ryan-roemer/sphinx-bootstrap-theme/bootstrap.zip
In addition to the "current" release, the GitHub zipfiles have either git
hash releases (for development builds) or tags for official tagged
releases. E.g.::
bootstrap.zip
bootstrap-v0.0.2.zip
bootstrap-f51d73491e9bae68eb1b1c57059d9e0ece03d125.zip
3. Edit your configuration file to point to the bootstrap theme::
# Activate the theme.
sys.path.append(os.path.abspath('_themes'))
html_theme_path = ['_themes']
html_theme = 'bootstrap'
# (Optional) Use a shorter name to conserve nav. bar space.
html_short_title = "Demo"
# (Optional) Logo. Should be exactly 32x32 px to fit the nav. bar.
# Path should be relative to the html_static_path setting (e.g.,
# "_static") in source.
html_logo = "my_logo.png"
.. _downloads: https://github.com/ryan-roemer/sphinx-bootstrap-theme/downloads
Theme Notes
===========
Sphinx
------
The theme places the global TOC, local TOC, navigation (prev, next) and
source links all in the top Bootstrap navigation bar, along with the Sphinx
search bar on the left side.
The global (site-wide) table of contents is the "Site" navigation dropdown,
which is a multi-level deep rendering of the ``toctree`` for the entire site.
The local (page-level) table of contents is the "Page" navigation dropdown,
which is a multi-level rendering of the current page's ``toc``.
Generally speaking, this is a quick and dirty hack to get the basic theme
going, so there are likely some oversights and lurking issues. Help and
bug filings for the project are most welcome.
Bootstrap
---------
The theme uses Twitter Bootstrap v2.0. You can override any static JS/CSS files
by dropping different versions in your Sphinx "_static" directory.
Licenses
========
Sphinx Bootstrap Theme is licensed under the MIT_ license.
Twitter Bootstrap is licensed under the Apache_ license.
.. _MIT: https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/LICENSE.txt
.. _Apache: https://github.com/twitter/bootstrap/blob/master/LICENSE
<li class="dropdown">
<a href="{{ pathto(master_doc) }}" class="dropdown-toggle" data-toggle="dropdown">{{ _('Site') }} <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc">{{ toctree(maxdepth=1) }}</ul>
</li>
{% extends "basic/layout.html" %}
{% set script_files = script_files + ['_static/bootstrap.js'] %}
{% set css_files = ['_static/bootstrap.css', '_static/bootstrap-sphinx.css'] + css_files %}
{# Sidebar: Rework into our Boostrap nav section. #}
{% macro navBar() %}
<div id="navbar" class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="{{ pathto(master_doc) }}">{{ project|e }}</a>
<span class="navbar-text pull-left"><b>{{ version|e }}</b></span>
<ul class="nav">
<li class="divider-vertical"></li>
{% block sidebartoc %}
{% include "globaltoc.html" %}
{% include "localtoc.html" %}
{% endblock %}
{% block sidebarrel %}
{% include "relations.html" %}
{% endblock %}
{% block sidebarsourcelink %}
{% include "sourcelink.html" %}
{% endblock %}
</ul>
{% block sidebarsearch %}
{% include "searchbox.html" %}
{% endblock %}
</ul>
</div>
</div>
</div>
</div>
{% endmacro %}
{%- block extrahead %}
<script type="text/javascript">
(function () {
/**
* Patch TOC list.
*
* Will mutate the underlying span to have a correct ul for nav.
*
* @param $span: Span containing nested UL's to mutate.
* @param minLevel: Starting level for nested lists. (1: global, 2: local).
*/
var patchToc = function ($ul, minLevel) {
var findA;
// Find all a "internal" tags, traversing recursively.
findA = function ($elem, level) {
var level = level || 0,
$items = $elem.find("> li > a.internal, > ul, > li > ul");
// Iterate everything in order.
$items.each(function (index, item) {
var $item = $(item),
tag = item.tagName.toLowerCase(),
pad = 15 + ((level - minLevel) * 10);
if (tag === 'a' && level >= minLevel) {
// Add to existing padding.
$item.css('padding-left', pad + "px");
console.log(level, $item, 'padding-left', pad + "px");
} else if (tag === 'ul') {
// Recurse.
findA($item, level + 1);
}
});
};
console.log("HERE");
findA($ul);
};
$(document).ready(function () {
// Add styling, structure to TOC's.
$(".dropdown-menu").each(function () {
$(this).find("ul").each(function (index, item){
var $item = $(item);
$item.addClass('unstyled');
});
$(this).find("li").each(function () {
$(this).parent().append(this);
});
});
// Patch in level.
patchToc($("ul.globaltoc"), 2);
patchToc($("ul.localtoc"), 2);
// Enable dropdown.
$('.dropdown-toggle').dropdown();
});
}());
</script>
{% endblock %}
{% block header %}{{ navBar() }}{% endblock %}
{# Silence the sidebar's, relbar's #}
{% block sidebar1 %}{% endblock %}
{% block sidebar2 %}{% endblock %}
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
{%- block content %}
<div class="container">
{% block body %} {% endblock %}
</div>
{%- endblock %}
{%- block footer %}
<footer class="footer">
<div class="container">
<p class="pull-right"><a href="#">Back to top</a></p>
<p>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
{%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
{%- endif %}
{%- endif %}
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
{%- endif %}
</p>
</div>
</footer>
{%- endblock %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ _('Page') }} <b class="caret"></b></a>
<ul class="dropdown-menu localtoc">{{ toc }}</ul>
<!--<span class="localtoc">{{ toc }}</span>-->
</li>
{%- if prev %}
<li><a href="{{ prev.link|e }}"
title="{{ _('previous chapter') }}">{{ "&laquo;"|safe }} {{ prev.title }}</a></li>
{%- endif %}
{%- if next %}
<li><a href="{{ next.link|e }}"
title="{{ _('next chapter') }}">{{ next.title }} {{ "&raquo;"|safe }}</a></li>
{%- endif %}