enabled c# reference search
This commit is contained in:
Родитель
757131d0e5
Коммит
4a30d85e59
|
@ -28,6 +28,10 @@
|
|||
<RunDoxygen>True</RunDoxygen>
|
||||
<PublishDocs>False</PublishDocs>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Target Name="ExecDoxygen" Condition="'$(Configuration)' == '' OR '$(RunDoxygen)' == 'True'">
|
||||
<Message Text="Generating documentation files." />
|
||||
<Exec Command=""$(DoxygenExeFullPath)" "$(ConfigFileFullPath)"" />
|
||||
|
|
|
@ -1485,7 +1485,7 @@ MATHJAX_CODEFILE =
|
|||
# The default value is: YES.
|
||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||
|
||||
SEARCHENGINE = NO
|
||||
SEARCHENGINE = YES
|
||||
|
||||
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
|
||||
# implemented using a web server instead of a web client using Javascript. There
|
||||
|
@ -1497,7 +1497,7 @@ SEARCHENGINE = NO
|
|||
# The default value is: NO.
|
||||
# This tag requires that the tag SEARCHENGINE is set to YES.
|
||||
|
||||
SERVER_BASED_SEARCH = NO
|
||||
SERVER_BASED_SEARCH = YES
|
||||
|
||||
# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
|
||||
# script for searching. Instead the search results are written to an XML file
|
||||
|
@ -1513,7 +1513,7 @@ SERVER_BASED_SEARCH = NO
|
|||
# The default value is: NO.
|
||||
# This tag requires that the tag SEARCHENGINE is set to YES.
|
||||
|
||||
EXTERNAL_SEARCH = NO
|
||||
EXTERNAL_SEARCH = YES
|
||||
|
||||
# The SEARCHENGINE_URL should point to a search engine hosted by a web server
|
||||
# which will return the search results when EXTERNAL_SEARCH is enabled.
|
||||
|
@ -1524,7 +1524,7 @@ EXTERNAL_SEARCH = NO
|
|||
# Searching" for details.
|
||||
# This tag requires that the tag SEARCHENGINE is set to YES.
|
||||
|
||||
SEARCHENGINE_URL =
|
||||
SEARCHENGINE_URL = search/doxysearch.cgi
|
||||
|
||||
# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
|
||||
# search data is written to a file for indexing by an external tool. With the
|
||||
|
|
|
@ -1505,4 +1505,43 @@ div#doc-content .header {
|
|||
|
||||
div#content-container {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
/* Search overrides */
|
||||
|
||||
|
||||
#MSearchBox {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 80%;
|
||||
background: none;
|
||||
border: 1px solid #C0C0C0;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
#MSearchBox .left {
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 10px;
|
||||
width: inherit;
|
||||
background: none;
|
||||
}
|
||||
|
||||
#MSearchSelect {
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
#MSearchField {
|
||||
background: none;
|
||||
border: inherit;
|
||||
width: 100%;
|
||||
outline: inherit;
|
||||
}
|
||||
|
||||
#MSearchBox .right {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 0px;
|
||||
background: none;
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
doxyindexer docs\searchdata.xml -o docs\html\search\
|
Двоичный файл не отображается.
|
@ -24,6 +24,7 @@ $extrastylesheet
|
|||
var contentcontainer = $('#content-container');
|
||||
contentcontainer.append(sidenav);
|
||||
contentcontainer.append(doccontent);
|
||||
doccontent.prepend($('#referenceSearch'));
|
||||
var top = $('#top');
|
||||
top.before('<div class="fullWidth"></div>');
|
||||
var fullwidth = $('div.fullWidth');
|
||||
|
@ -33,10 +34,13 @@ $extrastylesheet
|
|||
fullwidth.append($('.footer'));
|
||||
var appbody = $('#app-body');
|
||||
appbody.append(fullwidth);
|
||||
|
||||
$('#MSearchField').removeAttr('value').attr('placeholder', 'Search the Bot Builder SDK C# reference');
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="referenceSearch">$searchbox</div>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div>
|
||||
<header>
|
||||
|
@ -62,19 +66,6 @@ $extrastylesheet
|
|||
<a href="https://intercom-devportal-scratch.azurewebsites.net/#/bots/new">Register a bot</a></li><li class="active">
|
||||
<a href="/">Documentation</a></li><li>
|
||||
<a href="https://intercom-botdirectory-scratch.azurewebsites.net/" class="active">Bot Directory</a></li></ul>
|
||||
<!--
|
||||
<div class="search-outter">
|
||||
<div class="open-search"></div>
|
||||
<div class="searchBox">
|
||||
<form method="GET" action="https://intercom-botdirectory-scratch.azurewebsites.net/#/search">
|
||||
<input type="text" class="searchText" name="s" placeholder="Search Microsoft bot directory…">
|
||||
<button type="submit" class="icon-search">
|
||||
<span>Search</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -776,7 +776,7 @@ footer .tsd-legend { display: inline-block; width: 25%; padding: 0; font-size: 1
|
|||
#tsd-search { -webkit-transition: background-color 0.2s; transition: background-color 0.2s; }
|
||||
#tsd-search .title { position: relative; z-index: 2; }
|
||||
#tsd-search .field { position: absolute; left: 0; top: 0; right: 40px; height: 40px; }
|
||||
#tsd-search .field input { box-sizing: border-box; position: relative; z-index: 1; width: 100%; padding: 0 10px; opacity: 0; outline: 0; border: 0; background: transparent; color: #222; }
|
||||
#tsd-search .field input { box-sizing: border-box; position: relative; z-index: 1; width: 100%; padding: 10px 10px; opacity: 0; outline: 0; border: 0; background: transparent; color: #222; }
|
||||
#tsd-search .field label { position: absolute; overflow: hidden; right: -40px; }
|
||||
#tsd-search .field input, #tsd-search .title { -webkit-transition: opacity 0.2s; transition: opacity 0.2s; }
|
||||
#tsd-search .results { position: absolute; visibility: hidden; top: 40px; width: 100%; margin: 0; padding: 0; list-style: none; box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); }
|
||||
|
@ -843,7 +843,7 @@ ul.tsd-parameters .tsd-comment, ul.tsd-type-parameters .tsd-comment { margin-top
|
|||
.tsd-widget:before, .tsd-select .tsd-select-label:before, .tsd-select .tsd-select-list li:before { content: ""; display: inline-block; width: 40px; height: 40px; margin: 0 -8px 0 0; background-image: url(../images/widgets.png); background-repeat: no-repeat; text-indent: -1024px; vertical-align: bottom; }
|
||||
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { .tsd-widget:before, .tsd-select .tsd-select-label:before, .tsd-select .tsd-select-list li:before { background-image: url(../images/widgets@2x.png); background-size: 320px 40px; } }
|
||||
|
||||
.tsd-widget { display: inline-block; overflow: hidden; opacity: 0.6; height: 40px; -webkit-transition: opacity 0.1s, background-color 0.2s; transition: opacity 0.1s, background-color 0.2s; vertical-align: bottom; cursor: pointer; }
|
||||
.tsd-widget { display: inline-block; overflow: hidden; opacity: 0.6; height: 40px; -webkit-transition: opacity 0.1s, background-color 0.2s; transition: opacity 0.1s, background-color 0.2s; vertical-align: bottom; cursor: pointer;line-height: 45px;}
|
||||
.tsd-widget:hover { opacity: 0.8; }
|
||||
.tsd-widget.active { opacity: 1; background-color: #eee; }
|
||||
.tsd-widget.no-caption { width: 40px; }
|
||||
|
@ -856,7 +856,7 @@ ul.tsd-parameters .tsd-comment, ul.tsd-type-parameters .tsd-comment { margin-top
|
|||
input[type=checkbox] + .tsd-widget:before { background-position: -120px 0; }
|
||||
input[type=checkbox]:checked + .tsd-widget:before { background-position: -160px 0; }
|
||||
|
||||
.tsd-select { position: relative; display: inline-block; height: 40px; -webkit-transition: opacity 0.1s, background-color 0.2s; transition: opacity 0.1s, background-color 0.2s; vertical-align: bottom; cursor: pointer; }
|
||||
.tsd-select { position: relative; display: inline-block; height: 40px; -webkit-transition: opacity 0.1s, background-color 0.2s; transition: opacity 0.1s, background-color 0.2s; vertical-align: bottom; cursor: pointer;line-height: 45px;}
|
||||
.tsd-select .tsd-select-label { opacity: 0.6; -webkit-transition: opacity 0.2s; transition: opacity 0.2s; }
|
||||
.tsd-select .tsd-select-label:before { background-position: -240px 0; }
|
||||
.tsd-select.active .tsd-select-label { opacity: 0.8; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче