Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
addexamples.pyc
� =��Xc @ s: d Z d d l Z d d l Z e j e � Z d � Z d S( sZ Add authored examples to MAN and HTML documentation --------------------------------------------------- This customization allows authored examples in ReST format to be inserted into the generated help for an Operation. To get this to work you need to: * Register the ``add_examples`` function below with the ``doc-examples.*.*`` event. * Create a file containing ReST format fragment with the examples. The file needs to be created in the ``examples/<service_name>`` directory and needs to be named ``<service_name>-<op_name>.rst``. For example, ``examples/ec2/ec2-create-key-pair.rst``. i����Nc K s� t j j t j j t j j t j j t � � � d � } t j j | | j j d t j j � � } | d } t j d | � t j j | � r� | j j j d � t | � } x'