diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build_docs.py | 4 | ||||
-rw-r--r-- | docs/write_plugins.rst | 2 |
2 files changed, 1 insertions, 5 deletions
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 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 <pyload.plugin.Plugin.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)`, |