History

graphviz: clean html

Simon Legner committed 1 year ago

Commit 816a4841 parent 28748b91 file · +3 −0Browse files

Showing the changes to lib/docs (1 of 1 file). Show all

Unified · Split

lib/docs/filters/graphviz/clean_html.rb+3−0
@@ -7,6 +7,9 @@ module Docs · 6 unmodified lines
77 content = at_css('.td-content')
88 @doc = content if content
99
10+ css('a:contains("Search the Graphviz codebase")').remove
11+ css('.td-page-meta__lastmod').remove
12+
1013 css('pre:has(code)').each do |node|
1114 pre = Nokogiri::XML::Node.new('pre', @doc)
1215 code = node.at_css('code')

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