From 22167646416cc26c14b063bab900860b801d7608 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 2 Jun 2022 23:53:30 +0200 Subject: [PATCH] Update Docker documentation (20.10.16) --- lib/docs/scrapers/docker.rb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/docs/scrapers/docker.rb b/lib/docs/scrapers/docker.rb index ce481b3d..527441c5 100644 --- a/lib/docs/scrapers/docker.rb +++ b/lib/docs/scrapers/docker.rb @@ -4,12 +4,6 @@ module Docs self.name = 'Docker' self.type = 'simple' - self.release = '20.10.6' - - self.base_urls = [ - 'https://docs.docker.com/', - 'https://docs.docker.com/machine/' - ] self.links = { home: 'https://docker.com/', @@ -56,6 +50,15 @@ module Docs 'engine/examples/dotnetcore/' => 'samples/dotnetcore/' } + version do + self.release = '20.10.16' + self.base_url = "https://docs.docker.com" + self.base_urls = [ + 'https://docs.docker.com/', + 'https://docs.docker.com/machine/' + ] + end + version '19' do self.release = '19.03' self.base_url = "https://docs.docker.com"