[devdocsgjs/main: 2/239] Add base_urls attribute in scraper-reference.md




commit fa45fd3e7aebaf6e2dfed9ba83ae028a1e3736a9
Author: Enoc <brianhernandez222 hotmail com>
Date:   Thu Jun 10 02:01:12 2021 -0600

    Add base_urls attribute in scraper-reference.md

 docs/scraper-reference.md | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/docs/scraper-reference.md b/docs/scraper-reference.md
index 35c49dfa..88bbdf04 100644
--- a/docs/scraper-reference.md
+++ b/docs/scraper-reference.md
@@ -60,6 +60,8 @@ Configuration is done via class attributes and divided into three main categorie
    Defaults to `localhost` in `FileScraper`. _(Note: any iframe, image, or skipped link pointing to 
localhost will be removed by the `CleanLocalUrls` filter; the value should be overridden if the documents are 
available online.)_
   Unless `root_path` is set, the root/initial URL is equal to `base_url`.
 
+* `base_urls` [Array] **(the `MultipleBaseUrls` module must be included)** Documentation's locations. Almost 
the same as `base_url` but in this case more than one URL can be added, should be used when a documentation 
is split in different URLs or needs more URLs to be completed. See 
[`typescript.rb`](https://github.com/freeCodeCamp/devdocs/blob/main/lib/docs/scrapers/typescript.rb).
+
 * `root_path` [String] **(inherited)**
   The path from the `base_url` of the root URL.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]