[devdocsgjs/main: 1170/1867] Remove notebook-buttons img and broken link
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1170/1867] Remove notebook-buttons img and broken link
- Date: Fri, 19 Nov 2021 23:47:47 +0000 (UTC)
commit dd6586de6ac1f9ca829015dd12d35455a5ebbc6f
Author: Lukas Geiger <lukas geiger94 gmail com>
Date: Tue Feb 25 13:32:49 2020 +0000
Remove notebook-buttons img and broken link
lib/docs/filters/tensorflow/clean_html.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/docs/filters/tensorflow/clean_html.rb b/lib/docs/filters/tensorflow/clean_html.rb
index 7eeab03e..22d6b636 100644
--- a/lib/docs/filters/tensorflow/clean_html.rb
+++ b/lib/docs/filters/tensorflow/clean_html.rb
@@ -4,7 +4,7 @@ module Docs
def call
@doc = at_css('.devsite-article-inner')
- css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br',
'.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img').remove
+ css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br',
'.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img', '.tfo-notebook-buttons
img', '.tfo-notebook-buttons>:first-child').remove
css('aside.note').each do |node|
node.name = 'blockquote'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]