[devdocsgjs/main: 1834/1867] Update Vuex documentation (4.0.2)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1834/1867] Update Vuex documentation (4.0.2)
- Date: Fri, 19 Nov 2021 23:48:22 +0000 (UTC)
commit 49d182dfd664067ee3fbd231817fd91651166362
Author: Simon Legner <Simon Legner gmail com>
Date: Fri Oct 22 21:43:48 2021 +0200
Update Vuex documentation (4.0.2)
lib/docs/filters/vuex/entries.rb | 6 +++---
lib/docs/scrapers/vuex.rb | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/docs/filters/vuex/entries.rb b/lib/docs/filters/vuex/entries.rb
index 04846fd2..cb037399 100644
--- a/lib/docs/filters/vuex/entries.rb
+++ b/lib/docs/filters/vuex/entries.rb
@@ -4,7 +4,7 @@ module Docs
def get_name
name = at_css('h1').content
- name.remove! '# '
+ name.sub! %r{#\s*}, ''
# Add index on guides
unless subpath.start_with?('api')
@@ -42,9 +42,9 @@ module Docs
title = node
title = title.previous_element until title.name == 'h2'
title = title.content.strip
- title.remove! '# '
+ title.sub! %r{#\s*}, ''
- entry_name.remove! '# '
+ entry_name.sub! %r{#\s*}, ''
unless entry_name.start_with?('router.')
case title
diff --git a/lib/docs/scrapers/vuex.rb b/lib/docs/scrapers/vuex.rb
index e2d9c66a..041593fb 100644
--- a/lib/docs/scrapers/vuex.rb
+++ b/lib/docs/scrapers/vuex.rb
@@ -19,7 +19,7 @@ module Docs
HTML
version '4' do
- self.release = '4.0.0'
+ self.release = '4.0.2'
self.base_url = 'https://next.vuex.vuejs.org/'
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]