forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating .NET online documentation to new presentation style and upda…
…ting tools for documentation generation
- Loading branch information
Showing
2,404 changed files
with
57,549 additions
and
41,620 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
copy /y build\cpp\Win32\Release\IEDriverServer.exe cpp\prebuilt\Win32\Release | ||
copy /y build\cpp\x64\Release\IEDriverServer.exe cpp\prebuilt\x64\Release |
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,52 @@ | ||
<? | ||
// Contributed to the Sandcastle Help File Builder project by Thomas Levesque | ||
|
||
header("Content-Type: text/html; charset=utf-8"); | ||
$toc = new DOMDocument(); | ||
$toc->load('WebTOC.xml'); | ||
$xpath = new DOMXPath($toc); | ||
$id = $_GET["Id"]; | ||
$nodes = $xpath->query("//HelpTOCNode[@Id='$id']/*"); | ||
if ($nodes->length == 0) | ||
{ | ||
?> | ||
<b>TOC node not found!</b> | ||
<? | ||
die(); | ||
} | ||
foreach($nodes as $node) | ||
{ | ||
$id = $node->getAttribute("Id"); | ||
$url = $node->getAttribute("Url"); | ||
$title = $node->getAttribute("Title"); | ||
if (empty($url)) | ||
{ | ||
$url = "#"; | ||
$target = ""; | ||
} | ||
else | ||
{ | ||
$target = " target=\"TopicContent\""; | ||
} | ||
|
||
if ($node->hasChildNodes()) | ||
{ | ||
?> | ||
<div class="TreeNode"> | ||
<img class="TreeNodeImg" onclick="javascript: Toggle(this);" src="Collapsed.gif"/> | ||
<a class="UnselectedNode" onclick="javascript: Expand(this);" href="<?= $url ?>"<?= $target ?>><?= $title ?></a> | ||
<div id="<?= $id ?>" class="Hidden"></div> | ||
</div> | ||
<? | ||
} | ||
else | ||
{ | ||
?> | ||
<div class="TreeItem"> | ||
<img src="Item.gif"/> | ||
<a class="UnselectedNode" onclick="javascript: SelectNode(this);" href="<?= $url ?>"<?= $target ?>><?= $title ?></a> | ||
</div> | ||
<? | ||
} | ||
} | ||
?> |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,68 @@ | ||
<? | ||
// Contributed to the Sandcastle Help File Builder project by Thomas Levesque | ||
|
||
$ki = new DOMDocument(); | ||
$ki->load("WebKI.xml"); | ||
$xpath = new DOMXPath($ki); | ||
$nodes = $xpath->query("/HelpKI/*"); | ||
$startIndexParam = $_GET["StartIndex"]; | ||
$startIndex = 0; | ||
if (!empty($startIndexParam)) | ||
$startIndex = intval($startIndexParam) * 128; | ||
$endIndex = $startIndex + 128; | ||
|
||
if ($endIndex > $nodes->length) | ||
$endIndex = $nodes->length; | ||
|
||
if($startIndex > 0) | ||
{ | ||
?> | ||
<div class="IndexItem"> | ||
<span> </span><a class="UnselectedNode" onclick="javascript: return ChangeIndexPage(-1);" href="#"><b><< Previous page</b></a> | ||
</div> | ||
<? | ||
} | ||
|
||
while($startIndex < $endIndex) | ||
{ | ||
$node = $nodes->item($startIndex); | ||
$url = $node->getAttribute("Url"); | ||
$title = $node->getAttribute("Title"); | ||
$target = " target=\"TopicContent\""; | ||
|
||
if (empty($url)) | ||
{ | ||
$url = "#"; | ||
$target = ""; | ||
} | ||
?> | ||
<div class="IndexItem"> | ||
<span> </span><a class="UnselectedNode" onclick="javascript: return SelectIndexNode(this);" href="<?= $url ?>"<?= $target ?>><?= $title ?></a> | ||
<? | ||
$subNodes = $xpath->query("./HelpKINode", $node); | ||
foreach($subNodes as $subNode) | ||
{ | ||
$subUrl = $subNode->getAttribute("Url"); | ||
$subTitle = $subNode->getAttribute("Title"); | ||
?> | ||
<div class="IndexSubItem"> | ||
<img src="Item.gif"/><a class="UnselectedNode" onclick="javascript: return SelectIndexNode(this);" href="<?= $subUrl ?>" target="TopicContent"><?= $subTitle ?></a> | ||
</div> | ||
|
||
<? | ||
} | ||
?> | ||
</div> | ||
<? | ||
$startIndex++; | ||
} | ||
|
||
if($startIndex < $nodes->length) | ||
{ | ||
?> | ||
<div class="IndexItem"> | ||
<span> </span><a class="UnselectedNode" onclick="javascript: return ChangeIndexPage(1);" href="#"><b>Next page >></b></a> | ||
</div> | ||
<? | ||
} | ||
?> |
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
Oops, something went wrong.