From 1fdd59172b321fbebf34dc2f9d1b85ad449d42f7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 16 Apr 2015 17:12:41 +0200 Subject: Fix lib import --- docs/build_docs.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs') diff --git a/docs/build_docs.py b/docs/build_docs.py index 82dd75e0b..15fc2070d 100644 --- a/docs/build_docs.py +++ b/docs/build_docs.py @@ -21,10 +21,6 @@ dir_name = os.path.join(os.path.dirname(os.path.abspath(""))) sys.path.append(dir_name) -if "64" in platform.machine(): - sys.path.append(os.path.join(os.path.dirname, "lib64")) -sys.path.append(os.path.join(os.path.dirname, "lib", "Python", "Lib")) - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the -- cgit v1.2.3 From 3eec058b29cc37af8ff116926d4273b377c7471b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 16 Apr 2015 18:07:46 +0200 Subject: Fix comments --- docs/write_plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/write_plugins.rst b/docs/write_plugins.rst index 6c2a1d453..64868d638 100644 --- a/docs/write_plugins.rst +++ b/docs/write_plugins.rst @@ -92,7 +92,7 @@ Example: :: urls = ["http://get.pyload.org/src", "http://get.pyload.org/debian", "http://get.pyload.org/win"] - self.packages.append(("pyLoad packages", urls, "pyLoad packages")) # urls list of urls + self.packages.append(("pyLoad packages", urls, "pyLoad packages")) #: urls list of urls They can access all the methods from :class:`Plugin `, but the important thing is they have to append all packages they parsed to the `self.packages` list. Simply append tuples with `(name, urls, folder)`, -- cgit v1.2.3