From 45c769863add03b4777672c9eba24db597adac71 Mon Sep 17 00:00:00 2001 From: Travis Carden Date: Mon, 1 Aug 2022 10:56:01 -0400 Subject: [PATCH] Apply code review additions per @simon04. --- lib/docs/filters/drupal/entries.rb | 2 +- lib/docs/scrapers/drupal.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/drupal/entries.rb b/lib/docs/filters/drupal/entries.rb index 9da70441..b0c99d91 100644 --- a/lib/docs/filters/drupal/entries.rb +++ b/lib/docs/filters/drupal/entries.rb @@ -20,7 +20,7 @@ module Docs elsif subpath =~ /core!themes/ 'themes' else - css('.breadcrumb > a')[1].content + css('.breadcrumb a')[1].content end end diff --git a/lib/docs/scrapers/drupal.rb b/lib/docs/scrapers/drupal.rb index 98c78cda..6c60d696 100644 --- a/lib/docs/scrapers/drupal.rb +++ b/lib/docs/scrapers/drupal.rb @@ -10,7 +10,7 @@ module Docs html_filters.push 'drupal/entries', 'drupal/clean_html', 'title' options[:decode_and_clean_paths] = true - options[:container] = '#page-inner' + options[:container] = '#page' options[:title] = false options[:root_title] = 'Drupal'