Merge pull request #1533 from viq/patch-1

Update SaltStack documentation to version 3003
pull/1536/head
Simon Legner 4 years ago committed by GitHub
commit ff0ff27005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -738,7 +738,7 @@ credits = [
'https://raw.githubusercontent.com/ReactiveX/rxjs/master/LICENSE.txt' 'https://raw.githubusercontent.com/ReactiveX/rxjs/master/LICENSE.txt'
], [ ], [
'Salt Stack', 'Salt Stack',
'2019 SaltStack', '2021 SaltStack',
'Apache', 'Apache',
'https://raw.githubusercontent.com/saltstack/salt/develop/LICENSE' 'https://raw.githubusercontent.com/saltstack/salt/develop/LICENSE'
], [ ], [

@ -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 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. 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 ## Scala
See `lib/docs/scrapers/scala.rb` See `lib/docs/scrapers/scala.rb`

@ -1,13 +1,12 @@
module Docs module Docs
# The official documentation website is heavily rate-limited class SaltStack < UrlScraper
class SaltStack < FileScraper
self.type = 'simple' self.type = 'simple'
self.slug = 'saltstack' self.slug = 'saltstack'
self.release = '2019.2.0' self.release = '3003'
self.base_url = 'https://docs.saltstack.com/en/latest/' self.base_url = 'https://docs.saltproject.io/en/latest/'
self.root_path = 'ref/index.html' self.root_path = 'ref/index.html'
self.links = { self.links = {
home: 'https://www.saltstack.com/', home: 'https://www.saltproject.io/',
code: 'https://github.com/saltstack/salt' code: 'https://github.com/saltstack/salt'
} }
@ -17,7 +16,7 @@ module Docs
options[:container] = '.body-content > .section' options[:container] = '.body-content > .section'
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2019 SaltStack.<br> &copy; 2021 SaltStack.<br>
Licensed under the Apache License, Version 2.0. Licensed under the Apache License, Version 2.0.
HTML HTML

Loading…
Cancel
Save