From 244afd2a449b65019a8f5e41eca487182d113474 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sat, 20 Mar 2021 18:32:47 +0330 Subject: [PATCH] [SKIP CI] update description about `SourceFactory` (#6225) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c69a3d2b3..10bcf75e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -152,11 +152,11 @@ Note that using `compileOnly` restricts you to versions that must be compatible ### Extension main class -The class which is refrenced and defined by `extClass` in `build.gradle`. This class should implement either `SourceFactory` or one of the `Source` implementations: `HttpSource` or `ParsedHttpSource`. +The class which is refrenced and defined by `extClass` in `build.gradle`. This class should implement either `SourceFactory` or extend one of the `Source` implementations: `HttpSource` or `ParsedHttpSource`. | Class | Description | | ----- | ----------- | -|`SourceFactory`| Used to expose multiple `Source`s. Use it when there's minor differences between your target sources or they are essentially mirrors to the same website. | +|`SourceFactory`| Used to expose multiple `Source`s. Used in case of a source that supports multiple languages or mirrors of the same website. For similar websites use [theme sources](#multi-source-themes). | | `HttpSource`| For online source, where requests are made using HTTP. | | `ParsedHttpSource`| Similar to `HttpSource`, but has methods useful for scraping pages. |