소스 검색

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