We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90fed11 commit 52a9a3dCopy full SHA for 52a9a3d
lib/docs/scrapers/es_toolkit.rb
@@ -61,13 +61,14 @@ def render(filename)
61
s.gsub!(%r{(</?h)3>}, "\\14>")
62
63
# manually add attribution
64
+ link = "#{self.class.links[:home]}#{filename.gsub(/^docs/,'').gsub(/md$/,'html')}"
65
s += <<~HTML
66
<div class="_attribution">
67
<p class="_attribution-p">
68
#{options[:attribution]}
69
<br>
- <a href="#{self.class.links[:home]}" class="_attribution-link">
70
- #{self.class.links[:home]}
+ <a href="#{link}" class="_attribution-link">
71
+ #{link}
72
</a>
73
</p>
74
</div>
0 commit comments