Skip to content

Commit 38fb0cf

Browse files
committed
Added first layout test for about page; Updated the doxygen-custom-page-injector.js file; Removed test value from DoxygenLayout.xml
1 parent b609333 commit 38fb0cf

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

doxygen/customization/DoxygenLayout.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</tab>
4343
<tab type="examples" visible="yes" title="" intro=""/>
4444
<!-- Custom Pages -->
45-
<tab id="test" type="user" url="about.html" title="About"/>
45+
<tab type="user" url="about.html" title="About"/>
4646
</navindex>
4747

4848
<!-- Layout definition for a class page -->

doxygen/html/about.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
<script type="text/javascript" src="./doxygen-custom-page-injector.js"></script>
22

33
<div id="injection-wrapper" nav-to="about.html" style="display: none;">
4-
<p>Sample Text</p>
4+
<div class="header">
5+
<div class="headertitle">
6+
<div class="title">
7+
About
8+
</div>
9+
</div>
10+
</div>
11+
<div class="contents">
12+
<div class="textblock">PLACEHOLDER</div>
13+
</div>
514
</div>
615

doxygen/js/doxygen-custom-page-injector.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Created by basicx-StrgV //
33
// https://github.com/basicx-StrgV/ //
44
//--------------------------------------------------//
5+
// Version: 1.0.0 //
6+
//--------------------------------------------------//
57
document.addEventListener("DOMContentLoaded", () => {
68
// Get the injection wrapper element and nav to value
79
let injectionWrapper = document.getElementById("injection-wrapper");

0 commit comments

Comments
 (0)