diff --git a/lib/asciidoctor/foodogsquared-extensions.rb b/lib/asciidoctor/foodogsquared-extensions.rb index dac22dc..545d656 100644 --- a/lib/asciidoctor/foodogsquared-extensions.rb +++ b/lib/asciidoctor/foodogsquared-extensions.rb @@ -2,7 +2,6 @@ require 'asciidoctor' require 'asciidoctor/extensions' -require 'open-uri/cached' require_relative 'helpers' @@ -23,8 +22,6 @@ require_relative 'flathub-link-inline-macro/extension' require_relative 'repology-link-inline-macro/extension' require_relative 'ietf-rfc-link-inline-macro/extension' -OpenURI::Cache.cache_path = '/tmp/open-uri-cache-foodogsquared-website' - Asciidoctor::Extensions.register do inline_macro ManInlineMacro inline_macro IETFRFCLinkInlineMacro diff --git a/templates/admonition.html.erb b/templates/admonition.html.erb deleted file mode 100644 index 4788308..0000000 --- a/templates/admonition.html.erb +++ /dev/null @@ -1,23 +0,0 @@ - class="<%= ['admonitionblock',(attr :name),role].compact * ' ' %>"> - - - - - -
<% - if document.attr? :icons, 'font' %> - <% - elsif document.attr? :icons %> - - - <% - else %> -
<%= @caption %>
<% - end %> -
<% - if title? %> -
<%= title %>
<% - end %> - <%= content %> -
- diff --git a/templates/paragraph.html.erb b/templates/paragraph.html.erb deleted file mode 100644 index e548e55..0000000 --- a/templates/paragraph.html.erb +++ /dev/null @@ -1,6 +0,0 @@ - <% if role %>class="<%= role %>"<% end %>><% -if title? %> -
<%= title %>
<% -end %> -<%= content %> -