Move doc to docs. Fix doc compilation warnings.
authorAntony Chazapis <chazapis@gmail.com>
Fri, 27 May 2011 15:11:30 +0000 (18:11 +0300)
committerAntony Chazapis <chazapis@gmail.com>
Fri, 27 May 2011 15:11:30 +0000 (18:11 +0300)
.gitignore
README
docs/source/backends.rst [moved from doc/source/backends.rst with 100% similarity]
docs/source/base_backend.rst [moved from doc/source/base_backend.rst with 100% similarity]
docs/source/conf.py [moved from doc/source/conf.py with 99% similarity]
docs/source/devguide.rst [moved from doc/source/devguide.rst with 100% similarity]
docs/source/index.rst [moved from doc/source/index.rst with 100% similarity]
docs/source/simple_backend.rst [moved from doc/source/simple_backend.rst with 100% similarity]
pithos/backends/base.py
setup.cfg

index e693aba..ae9a893 100644 (file)
@@ -1,5 +1,5 @@
 settings.py
-doc/build
+docs/build
 *.db
 *.pyc
 .DS_Store
diff --git a/README b/README
index 9541ad2..f54c1d2 100644 (file)
--- a/README
+++ b/README
@@ -7,12 +7,12 @@ http://sphinx.pocoo.org/
 Run:
     python setup.py build_sphinx
 
-The documentation will be built in the doc/build/html directory.
+The documentation will be built in the docs/build/html directory.
 
 Also run:
     python setup.py build_sphinx -b text
 
-Then find the plain text version of the docs in doc/build/text.
+Then find the plain text version of the docs in docs/build/text.
 
 Running the server
 ------------------
similarity index 99%
rename from doc/source/conf.py
rename to docs/source/conf.py
index e9672d9..45a8bec 100644 (file)
@@ -124,7 +124,7 @@ html_theme = 'nature'
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
similarity index 100%
rename from doc/source/index.rst
rename to docs/source/index.rst
index 78c5a85..e592516 100644 (file)
@@ -125,11 +125,11 @@ class BaseBackend(object):
             'delimiter': Return unique names before 'delimiter' and after 'prefix'
             'marker': Start list from the next item after 'marker'
             'limit': Number of objects to return
-            'virtual': If not set, the result will only include names starting
-                with 'prefix' and ending without a 'delimiter' or with the first
-                occurance of the 'delimiter' after 'prefix'.
-                If set, the result will include all names after 'prefix', up to and
-                including the 'delimiter' if it is found
+            'virtual': If not set, the result will only include names starting\
+                       with 'prefix' and ending without a 'delimiter' or with\
+                       the first occurance of the 'delimiter' after 'prefix'.\
+                       If set, the result will include all names after 'prefix',\
+                       up to and including the 'delimiter' if it is found
             'keys': Include objects that have meta with the keys in the list
         
         Raises:
@@ -164,8 +164,8 @@ class BaseBackend(object):
         """Update the metadata associated with the object.
         
         Parameters:
-            'meta': Dictionary with metadata to update.
-                Use the 'versioned' key to control versioning
+            'meta': Dictionary with metadata to update.\
+                    Use the 'versioned' key to control versioning
             'replace': Replace instead of update
         
         Raises:
index 0bf9222..c0df343 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
 [build_sphinx]
 all_files = 1
-build-dir = doc/build
-source-dir = doc/source
+build-dir = docs/build
+source-dir = docs/source