-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command line options to control which macros to include in the ge…
…nerated docs And add tests for macro generation and capture prefixes
- Loading branch information
Showing
14 changed files
with
246 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
subdoc/gen_tests/struct-complex/macro.sus_macro_for_test.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<meta name="generator" content="subdoc"></meta> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"></meta> | ||
<meta property="og:type" content="website"></meta> | ||
<meta property="og:site_name" content="PROJECT NAME"></meta> | ||
<title>sus_macro_for_test - PROJECT NAME</title> | ||
<meta property="og:title" content="sus_macro_for_test - PROJECT NAME"></meta> | ||
<meta name="description" content="Comment headline on sus_macro_for_test."></meta> | ||
<meta property="og:description" content="Comment headline on sus_macro_for_test."></meta> | ||
<link rel="stylesheet" href="../subdoc-test-style.css"> | ||
<link rel="icon" type="image/svg+xml" href="../icon.svg"> | ||
<link rel="alternate icon" type="image/png" href="../icon.png"> | ||
<meta property="og:image" content="../icon.svg"></meta> | ||
</head> | ||
|
||
<body> | ||
<nav class="topbar"> | ||
<button class="sidebar-menu-button" onclick="let e = document.getElementsByClassName('sidebar')[0];e.classList.toggle('shown');"> | ||
☰ | ||
</button> | ||
<a class="topbar-logo-link" href="index.html"><div class="topbar-logo-border"> | ||
<img class="topbar-logo" src="PROJECT LOGO.png"></img> | ||
</div></a> | ||
<span class="topbar-text-area"> | ||
<span class="topbar-title"> | ||
<a href="#">sus_macro_for_test</a> | ||
</span> | ||
</span> | ||
</nav> | ||
<nav class="sidebar"> | ||
<a class="sidebar-logo-link" href="index.html"><div class="sidebar-logo-border"> | ||
<img class="sidebar-logo" src="PROJECT LOGO.png"></img> | ||
</div></a> | ||
<div class="sidebar-pretitle sidebar-text"> | ||
macro | ||
</div> | ||
<div class="sidebar-title sidebar-text"> | ||
<a href="#">sus_macro_for_test</a> | ||
</div> | ||
<div class="sidebar-subtitle sidebar-text"> | ||
</div> | ||
<div class="sidebar-links sidebar-text"> | ||
<ul> | ||
</ul> | ||
</div> | ||
</nav> | ||
<main> | ||
<div class="macro"> | ||
<div class="section overview"> | ||
<div class="section-header"> | ||
<span> | ||
Macro | ||
</span> | ||
<a class="project-name" href="index.html">PROJECT NAME</a> | ||
<span class="namespace-dots">::</span> | ||
<a class="macro-name" href="#">sus_macro_for_test</a> | ||
</div> | ||
<div class="overload-set"> | ||
<div class="overload"> | ||
<div class="macro-signature"><span class="macro-define">#define</span> <a class="macro-name" href="#">sus_macro_for_test</a></div> | ||
</div> | ||
</div> | ||
<div class="description long"> | ||
<p>Comment headline on sus_macro_for_test.</p> | ||
<p>Also refers to <a href="macro.sus_macro_for_test_fn.html">the other</a></p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</body> |
73 changes: 73 additions & 0 deletions
73
subdoc/gen_tests/struct-complex/macro.sus_macro_for_test_fn.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<meta name="generator" content="subdoc"></meta> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"></meta> | ||
<meta property="og:type" content="website"></meta> | ||
<meta property="og:site_name" content="PROJECT NAME"></meta> | ||
<title>sus_macro_for_test_fn - PROJECT NAME</title> | ||
<meta property="og:title" content="sus_macro_for_test_fn - PROJECT NAME"></meta> | ||
<meta name="description" content="Comment headline on sus_macro_for_test_fn."></meta> | ||
<meta property="og:description" content="Comment headline on sus_macro_for_test_fn."></meta> | ||
<link rel="stylesheet" href="../subdoc-test-style.css"> | ||
<link rel="icon" type="image/svg+xml" href="../icon.svg"> | ||
<link rel="alternate icon" type="image/png" href="../icon.png"> | ||
<meta property="og:image" content="../icon.svg"></meta> | ||
</head> | ||
|
||
<body> | ||
<nav class="topbar"> | ||
<button class="sidebar-menu-button" onclick="let e = document.getElementsByClassName('sidebar')[0];e.classList.toggle('shown');"> | ||
☰ | ||
</button> | ||
<a class="topbar-logo-link" href="index.html"><div class="topbar-logo-border"> | ||
<img class="topbar-logo" src="PROJECT LOGO.png"></img> | ||
</div></a> | ||
<span class="topbar-text-area"> | ||
<span class="topbar-title"> | ||
<a href="#">sus_macro_for_test_fn</a> | ||
</span> | ||
</span> | ||
</nav> | ||
<nav class="sidebar"> | ||
<a class="sidebar-logo-link" href="index.html"><div class="sidebar-logo-border"> | ||
<img class="sidebar-logo" src="PROJECT LOGO.png"></img> | ||
</div></a> | ||
<div class="sidebar-pretitle sidebar-text"> | ||
macro | ||
</div> | ||
<div class="sidebar-title sidebar-text"> | ||
<a href="#">sus_macro_for_test_fn</a> | ||
</div> | ||
<div class="sidebar-subtitle sidebar-text"> | ||
</div> | ||
<div class="sidebar-links sidebar-text"> | ||
<ul> | ||
</ul> | ||
</div> | ||
</nav> | ||
<main> | ||
<div class="macro"> | ||
<div class="section overview"> | ||
<div class="section-header"> | ||
<span> | ||
Macro | ||
</span> | ||
<a class="project-name" href="index.html">PROJECT NAME</a> | ||
<span class="namespace-dots">::</span> | ||
<a class="macro-name" href="#">sus_macro_for_test_fn</a> | ||
</div> | ||
<div class="overload-set"> | ||
<div class="overload"> | ||
<div class="macro-signature"><span class="macro-define">#define</span> <a class="macro-name" href="#">sus_macro_for_test_fn</a>(a, b, c, ...)</div> | ||
</div> | ||
</div> | ||
<div class="description long"> | ||
<p>Comment headline on sus_macro_for_test_fn.</p> | ||
<p>Also refers to <a href="macro.sus_macro_for_test.html">the other</a></p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters