.. dir:: /tmp
.. dir:: /tmp
digraph { | |
subgraph interfaces { | |
node [shape = folder]; | |
host_if_inet; | |
host_if_lxc; | |
lxc_if; | |
lxc_if; | |
} | |
lxc_default_route [label = "default route"]; |
sys.path += ['.'] | |
extensions += ['sphinxcontrib_roles'] | |
# configuration case.1: define roles as list (define only roles) | |
roles = ['strike', 'red'] | |
# configuration case.2: define roles as dict (define roles and its style on HTML) | |
roles = {'strike': "text-decoration: line-through;", | |
'red': "color: red;" } |
# -*- coding: utf-8 -*- | |
import os | |
from docutils import nodes | |
from docutils.parsers.rst import roles | |
class footnote_defs(nodes.General, nodes.Element): | |
pass | |
.. dir:: /tmp
.. dir:: /tmp
# -*- coding: utf-8 -*- | |
""" | |
sphinxcontrib.slide | |
~~~~~~~~~~~~~~~~~~~ | |
:copyright: Copyright 2012 by Takeshi KOMIYA | |
:license: BSD, see LICENSE for details. | |
""" | |
import os |
Usage | |
====== | |
.. wiki-table:: | |
:header-rows: 1 | |
:widths: 2 3 5 | |
|id|header1|header2| | |
|1|hello|world| | |
|2|foo|:strong:`bar`| |
sys.path.insert(0, '.') | |
extensions += ['sphinxcontrib_googlemaps'] |
# This recipe is unused | |
# Please use RVM-Plugin for Jenkins | |
include_recipe "jenkins" | |
script "Install RVM to jenkins" do | |
interpreter "bash" | |
not_if {::File.exists?("/var/lib/jenkins/.rvm")} | |
code <<-EOH | |
sudo -u jenkins bash -c ' |
[buildout] | |
parts = app | |
[app] | |
recipe = zc.recipe.egg | |
eggs = | |
PIL | |
openpyxl | |
interpreter = py |
=================== | |
Example of autoref | |
=================== | |
Section 1 | |
========== | |
You can write reference to section title without any definitions: | |
:ref:`Section 1` |