1 // RUN: rm -rf %t && mkdir %t 2 // RUN: clang-doc --format=html --output=%t --asset=%S/Inputs/test-assets --executor=standalone %s 3 // RUN: FileCheck %s -input-file=%t/index.html -check-prefix=INDEX 4 // RUN: FileCheck %s -input-file=%t/test.css -check-prefix=CSS 5 // RUN: FileCheck %s -input-file=%t/test.js -check-prefix=JS 6 7 // INDEX: <!DOCTYPE html> 8 // INDEX-NEXT: <meta charset="utf-8"/> 9 // INDEX-NEXT: <title>Index</title> 10 // INDEX-NEXT: <link rel="stylesheet" href="test.css"/> 11 // INDEX-NEXT: <script src="index_json.js"></script> 12 // INDEX-NEXT: <script src="test.js"></script> 13 // INDEX-NEXT: <header id="project-title"></header> 14 // INDEX-NEXT: <main> 15 // INDEX-NEXT: <div id="sidebar-left" path="" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left" style="flex: 0 100%;"></div> 16 // INDEX-NEXT: </main> 17 18 // CSS: body { 19 // CSS-NEXT: padding: 0; 20 // CSS-NEXT: } 21 22 // JS: console.log("Hello, world!");