History

Remove notebook-buttons img and broken link

Lukas Geiger committed 6 years ago

Commit dd6586d1 parent c7a2a371 file · +1 −1Browse files

Unified · Split

lib/docs/filters/tensorflow/clean_html.rb+1−1
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
4 def call4 def call
5 @doc = at_css('.devsite-article-inner')5 @doc = at_css('.devsite-article-inner')
6 6
7 css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br', '.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img').remove7 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
8 8
9 css('aside.note').each do |node|9 css('aside.note').each do |node|
10 node.name = 'blockquote'10 node.name = 'blockquote'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t