summaryrefslogtreecommitdiff
path: root/doc/source/contributor
diff options
context:
space:
mode:
authorchenxing <chason.chan@foxmail.com>2018-05-22 15:36:19 +0800
committerchenxing <chason.chan@foxmail.com>2018-05-22 15:36:19 +0800
commit819663d1343a5025e2f677803b0faa91acc83318 (patch)
tree334df190a134a6037d914b0e964a05ac4f7fe3fb /doc/source/contributor
parentf7e4d31820e797e0d374e7dfde1142373245ea87 (diff)
downloadpython-openstackclient-819663d1343a5025e2f677803b0faa91acc83318.tar.gz
Update the content about Import Format
Following by https://git.openstack.org/cgit/openstack-dev/hacking/tree/HACKING.rst#n71 Change-Id: I2f32d773c12d484e8c0e435a78a3fe16d0eeae03
Diffstat (limited to 'doc/source/contributor')
-rw-r--r--doc/source/contributor/developing.rst21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/source/contributor/developing.rst b/doc/source/contributor/developing.rst
index 721a016a..14888168 100644
--- a/doc/source/contributor/developing.rst
+++ b/doc/source/contributor/developing.rst
@@ -177,18 +177,21 @@ or
Standardize Import Format
=========================
-.. _`Import Order Guide`: https://docs.openstack.org/hacking/latest/user/hacking.html#imports
+More information about Import Format, see `Import Order Guide
+<https://docs.openstack.org/hacking/latest/user/hacking.html#imports>`__.
The import order shows below:
-* {{stdlib imports in human alphabetical order}}
-* \n
-* {{third-party lib imports in human alphabetical order}}
-* \n
-* {{project imports in human alphabetical order}}
-* \n
-* \n
-* {{begin your code}}
+.. code-block:: none
+
+ {{stdlib imports in human alphabetical order}}
+ \n
+ {{third-party lib imports in human alphabetical order}}
+ \n
+ {{project imports in human alphabetical order}}
+ \n
+ \n
+ {{begin your code}}
Example
~~~~~~~