diff --git a/assets/stylesheets/application.css.scss b/assets/stylesheets/application.css.scss index d6189c5d..8a6221b6 100644 --- a/assets/stylesheets/application.css.scss +++ b/assets/stylesheets/application.css.scss @@ -87,7 +87,6 @@ 'pages/mkdocs', 'pages/modernizr', 'pages/moment', - 'pages/moment_timezone', 'pages/nginx', 'pages/node', 'pages/npm', diff --git a/assets/stylesheets/pages/_moment_timezone.scss b/assets/stylesheets/pages/_moment_timezone.scss deleted file mode 100644 index b30da34d..00000000 --- a/assets/stylesheets/pages/_moment_timezone.scss +++ /dev/null @@ -1,5 +0,0 @@ -._moment_timezone { - > h2 { @extend %block-heading; } - > h3 { @extend %block-label, %label-blue; } - code { @extend %label; } -} diff --git a/lib/docs/filters/moment_timezone/clean_html.rb b/lib/docs/filters/moment_timezone/clean_html.rb deleted file mode 100644 index e6e0b6d1..00000000 --- a/lib/docs/filters/moment_timezone/clean_html.rb +++ /dev/null @@ -1,29 +0,0 @@ -module Docs - class MomentTimezone - class CleanHtmlFilter < Filter - def call - # Set id attributes on headings - css('a.docs-section-target', 'a.docs-method-target').each do |node| - node.next_element['id'] = node['id'] - node.remove - end - - css('> article', '.docs-method-prose', '.docs-method-signature', 'h2 > a', 'h3 > a', 'pre > code').each do |node| - node.before(node.children).remove - end - - css('.docs-method-edit', 'hr').remove - - css('pre').each do |node| - if node.content =~ /\A