[devdocsgjs/main: 1780/1867] Update MariaDB documentation (10.6.4)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1780/1867] Update MariaDB documentation (10.6.4)
- Date: Fri, 19 Nov 2021 23:48:19 +0000 (UTC)
commit ceb73a1776e0639e7314a88c152fc55ef8781848
Author: Enoc <brianhernandez222 hotmail com>
Date: Thu Sep 23 01:08:33 2021 -0600
Update MariaDB documentation (10.6.4)
lib/docs/scrapers/mariadb.rb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/lib/docs/scrapers/mariadb.rb b/lib/docs/scrapers/mariadb.rb
index fedc1e5e..cf2c69c3 100644
--- a/lib/docs/scrapers/mariadb.rb
+++ b/lib/docs/scrapers/mariadb.rb
@@ -2,9 +2,9 @@ module Docs
class Mariadb < UrlScraper
self.name = 'MariaDB'
self.type = 'mariadb'
- self.release = '10.4.8'
+ self.release = '10.6.4'
self.base_url = 'https://mariadb.com/kb/en/'
- self.root_path = 'library/documentation/'
+ self.root_path = 'documentation/'
self.links = {
home: 'https://mariadb.com/',
code: 'https://github.com/MariaDB/server'
@@ -24,13 +24,14 @@ module Docs
]
options[:attribution] = <<-HTML
- © 2019 MariaDB<br>
+ © 2021 MariaDB<br>
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation
License.
HTML
def get_latest_version(opts)
doc = fetch_doc('https://mariadb.com/downloads/', opts)
- doc.at_css('[data-version-id="mariadb_server-versions"] option').content.split('-')[0]
+ doc.at_css('#version-select-community_server > option').content.split('-')[0]
end
+
end
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]