Explorar o código

Update Bootstrap documentation

Simon Legner %!s(int64=3) %!d(string=hai) anos
pai
achega
6abbb2a0d3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/docs/filters/bootstrap/clean_html_v5.rb

+ 2 - 0
lib/docs/filters/bootstrap/clean_html_v5.rb

@@ -4,6 +4,8 @@ module Docs
       def call
 
         @doc = at_css('main')
+        at_css('.bd-content').prepend_child(at_css('h1').remove)
+        @doc = at_css('.bd-content')
 
         # Toc
         css('.bd-toc').remove