diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/module_overview.rst | 4 | ||||
-rw-r--r-- | docs/write_addons.rst | 4 | ||||
-rw-r--r-- | docs/write_plugins.rst | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/module_overview.rst b/docs/module_overview.rst index 9a2d445b6..a69aa9d9d 100644 --- a/docs/module_overview.rst +++ b/docs/module_overview.rst @@ -15,5 +15,5 @@ You can find an overview of some important classes here: pyload.plugin.Account.Account pyload.plugin.Addon.Addon pyload.manager.Addon.AddonManager - pyload.datatypes.PyFile.PyFile - pyload.datatypes.PyPackage.PyPackage + pyload.Datatype.File.PyFile + pyload.Datatype.Package.PyPackage diff --git a/docs/write_addons.rst b/docs/write_addons.rst index 58e73e675..9b94a0233 100644 --- a/docs/write_addons.rst +++ b/docs/write_addons.rst @@ -50,8 +50,8 @@ The easiest way is to overwrite specific methods defined by the :class:`Addon <p The name is indicating when the function gets called. See :class:`Addon <pyload.plugin.Addon.Addon>` page for a complete listing. -You should be aware of the arguments the Addon is called with, whether its a :class:`PyFile <pyload.datatype.File.PyFile>` -or :class:`PyPackage <pyload.datatype.Package.PyPackage>` you should read its related documentation to know how to access her great power and manipulate them. +You should be aware of the arguments the Addon is called with, whether its a :class:`PyFile <pyload.Datatype.File.PyFile>` +or :class:`PyPackage <pyload.Datatype.Package.PyPackage>` you should read its related documentation to know how to access her great power and manipulate them. A basic excerpt would look like: :: diff --git a/docs/write_plugins.rst b/docs/write_plugins.rst index 8d42aea7f..0b568f74c 100644 --- a/docs/write_plugins.rst +++ b/docs/write_plugins.rst @@ -60,7 +60,7 @@ An example ``process`` function could look like this :: # download the file, destination is determined by pyLoad self.download(parsed_url) -You need to know about the :class:`PyFile <pyload.datatype.File.PyFile>` class, since an instance of it is given as parameter to every pyfile. +You need to know about the :class:`PyFile <pyload.Datatype.File.PyFile>` class, since an instance of it is given as parameter to every pyfile. Some tasks your plugin should handle: proof if file is online, get filename, wait if needed, download the file, etc.. Wait times |