Skip to content

Commit

Permalink
Update test website to test seach panel headings
Browse files Browse the repository at this point in the history
  • Loading branch information
nusjzx committed Jul 23, 2018
1 parent 080c3ab commit 0a1d690
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_site/expected/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h1 id="panel-with-boilerplate">Panel with boilerplate</h1>
<panel header="## boilerplate referencing" src="/test_site\testPanels\boilerTestPanel._include_.html" expanded=""></panel>
<panel header="## Referencing specified path in boilerplate" src="/test_site\testPanels\notInside._include_.html" expanded=""></panel>
<h1 id="nested-panel">Nested panel</h1>
<panel header="## Outer nested panel" src="/test_site\testPanels\nestedPanel._include_.html" expanded=""></panel>
<panel header="## Outer nested panel" src="/test_site\testPanels\NestedPanel._include_.html" expanded=""></panel>
<h1 id="panel-with-src-from-another-markbind-site">panel with src from another Markbind site</h1>
<panel header="## Panel with src from another Markbind site" src="/test_site\sub_site\index._include_.html" expanded=""></panel>
</div>
Expand Down
11 changes: 11 additions & 0 deletions test/test_site/expected/sub_site/index._include_.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<p>This is a page from another Markbind site.</p>
<h2 id="feature-list">Feature list</h2>
<p>It is a list of features (or functionalities) grouped according to some criteria such as priority (e.g. must-have, nice-to-have, etc. ), order of delivery, object or process related (e.g. order-related, invoice-related, etc.). Here is a sample feature
list from Minesweeper (only a brief description has been provided to save space).</p>
<ol>
<li>Basic play – Single player play.</li>
<li>Difficulty levels – Additional Medium and Advanced levels.</li>
<li>Versus play – Two players can play against each other.</li>
<li>Timer – Additional fixed time restriction on the player.</li>
</ol>
<img src="/test_site/sub_site/images/I'm not allowed to use my favorite tool.png">
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<panel header="## Nested Panel" src="/test_site\testPanels\NormalPanelContent._include_.html" expanded=""></panel>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h3 id="normal-panel-content-heading">normal panel content heading</h3>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h3 id="panel-normal-source-content-headings">panel normal source content headings</h3>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div id="segment">
<h3 id="panel-source-segment-content-headings">panel source segment content headings</h3>
</div>
<h3 id="this-heading-is-not-src-of-any-panel-so-it-should-not-be-in-the-search-data">this heading is not src of any panel, so it should not be in the search data</h3>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h3 id="boilerplate-test-for-panel-heading">boilerplate test for panel heading</h3>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h3 id="heading-in-panel-boilerplate">heading in panel boilerplate</h3>

0 comments on commit 0a1d690

Please sign in to comment.