From 8606b72470e0e506d9da26f190a2880d47d289a4 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 10 May 2015 17:01:05 +0200 Subject: Improve and fix file structure a bit --- docs/module_overview.rst | 4 ++-- docs/write_addons.rst | 4 ++-- docs/write_plugins.rst | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') 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

` page for a complete listing. -You should be aware of the arguments the Addon is called with, whether its a :class:`PyFile ` -or :class:`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 ` +or :class:`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 ` class, since an instance of it is given as parameter to every pyfile. +You need to know about the :class:`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 -- cgit v1.2.3