[devdocsgjs/main: 1626/1867] SaltStack: migrate to UrlScraper




commit 7c0cc5ac12b06b851b0ea2b2794f1b49622d5c18
Author: Simon Legner <Simon Legner gmail com>
Date:   Thu Apr 29 23:48:40 2021 +0200

    SaltStack: migrate to UrlScraper

 docs/file-scrapers.md           | 13 -------------
 lib/docs/scrapers/salt_stack.rb |  3 +--
 2 files changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index ea5b5d8f..590faa4d 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -202,19 +202,6 @@ tar -xf ruby.tar; cd ruby-$RELEASE; ./configure && make html; mv .ext/html path/
 To generate the htmls file you have to run `make` command but it does not install Ruby in your system, only 
generates html files so you have not
 to worry about cleaning or removing a new Ruby installation.
 
-## Salt Stack
-
-Replace `2019.2` with the correct tag.
-
-```sh
-git clone https://github.com/saltstack/salt.git --branch 2019.2 --depth 1
-cd salt/doc
-pip install sphinx
-make html
-```
-
-The generated html is in `salt/doc/_build/html`. Copy it to
-
 ## Scala
 
 See `lib/docs/scrapers/scala.rb`
diff --git a/lib/docs/scrapers/salt_stack.rb b/lib/docs/scrapers/salt_stack.rb
index bcb706ca..e27ad1ad 100644
--- a/lib/docs/scrapers/salt_stack.rb
+++ b/lib/docs/scrapers/salt_stack.rb
@@ -1,6 +1,5 @@
 module Docs
-  # The official documentation website is heavily rate-limited
-  class SaltStack < FileScraper
+  class SaltStack < UrlScraper
     self.type = 'simple'
     self.slug = 'saltstack'
     self.release = '3003'


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