File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed 
lib/ex_doc/formatter/html Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ defmodule ExDoc.Formatter.HTML.Templates do
161161  defp  sidebar_type ( :behaviour ) ,  do:  "modules" 
162162
163163  defp  asset_rev ( output ,  pattern )  do 
164+     output  = 
165+       output 
166+       |>  Path . expand ( ) 
167+ 
164168    output 
165169    |>  Path . join ( pattern ) 
166170    |>  Path . wildcard ( ) 
Original file line number Diff line number Diff line change 1313  </div>
1414</section>
1515</div>
16-   <script src="<%= asset_rev Path.expand( config.output) , "dist/app-*.js" %>"></script>
16+   <script src="<%= asset_rev config.output, "dist/app-*.js" %>"></script>
1717  </body>
1818</html>
Original file line number Diff line number Diff line change 77    <title><%= page.title %> – <%= config.project %> v<%= config.version %></title>
88    <meta name="viewport" content="width=device-width, initial-scale=1.0">
99    <meta name="generator" content="ExDoc v<%= ExDoc.version %>">
10-     <link rel="stylesheet" href="<%= asset_rev Path.expand( config.output) , "dist/app-*.css" %>" />
10+     <link rel="stylesheet" href="<%= asset_rev config.output, "dist/app-*.css" %>" />
1111    <script src="dist/sidebar_items.js"></script>
1212  </head>
1313  <body data-type="<%= sidebar_type(page.type) %>">
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments