ソースを参照

Update Bootstrap documentation

Simon Legner 3 年 前
コミット
6abbb2a0d3
1 ファイル変更2 行追加0 行削除
  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