forked from HumanSignal/label-studio
-
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.
Docs search added. (HumanSignal#231)
* Docs search added. * Space results. * Fix. * from_search in query. * Playground margin top.
- Loading branch information
Showing
13 changed files
with
806 additions
and
483 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 |
---|---|---|
|
@@ -95,3 +95,8 @@ deploy: | |
type: git | ||
repo: [email protected]:heartexlabs/heartexlabs.github.io.git | ||
branch: master | ||
|
||
search: | ||
path: search.xml | ||
field: all | ||
content: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<meta property="og:description" content="<%- theme.site_description %>"> | ||
<meta property="og:image" content="https://repository-images.githubusercontent.com/192640529/6b34d180-dd95-11e9-8016-fddd7751cb2c"> | ||
<meta name="thumbnail" content="https://<%- theme.root_domain %>/images/opossum/[email protected]"/> | ||
|
||
|
||
<meta name="twitter:card" content="summary"> | ||
<meta name="twitter:title" content="<%- page.title ? page.title + ' — ' : '' %>Label Studio"> | ||
|
@@ -27,30 +27,33 @@ | |
<link rel="manifest" href="/manifest.json"> | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico"/> | ||
|
||
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'> | ||
<link href='//fonts.googleapis.com/css?family=Dosis:500&text=LabelStudio' rel='stylesheet' type='text/css'> | ||
|
||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
|
||
<!-- Place this tag in your head or just before your close body tag. --> | ||
<script src="<%- url_for("js/jquery.min.js") %>"></script> | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
<script src="<%- url_for("js/search.js") %>"></script> | ||
|
||
<script src="<%- url_for("/js/smooth-scroll.min.js") %>"></script> | ||
|
||
<!-- main page styles --> | ||
<%- css(isIndex ? 'css/index' : 'css/page') %> | ||
<%- css('css/search') %> | ||
|
||
<% if (page.type === "playground") { %> | ||
<%- css('css/codemirror') %> | ||
<script src="<%- url_for("/js/jquery.min.js") %>"></script> | ||
<script src="<%- url_for("/js/jquery-ui.min.js") %>"></script> | ||
<script src="<%- url_for("/js/codemirror.js") %>"></script> | ||
<script src="<%- url_for("/js/xml.js") %>"></script> | ||
<script src="<%- url_for("/js/xml.js") %>"></script> | ||
<% } %> | ||
|
||
<!-- this needs to be loaded before guide's inline scripts --> | ||
|
||
</head> | ||
<body class="<%- isIndex ? '' : 'docs' -%>"> | ||
<div id="mobile-bar" <%- isIndex ? 'style="display: none"' : '' %>> | ||
|
@@ -68,5 +71,5 @@ | |
<script src="<%- url_for("/js/css.escape.js") %>"></script> | ||
<script src="<%- url_for("/js/common.js") %>"></script> | ||
<%- partial('partials/google_analytics') %> | ||
</body> | ||
</body> | ||
</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
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 |
---|---|---|
|
@@ -7,3 +7,5 @@ | |
<%- partial('partials/main_menu', { context: 'nav' }) %> | ||
</ul> | ||
</div> | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#site_search | ||
right: 0; | ||
z-index: 2000; | ||
margin-right: 1em; | ||
margin-left: 1em; | ||
|
||
#local-search-input | ||
padding: 5px; | ||
border-radius: 3px; | ||
border: solid 1px #d67500 !important; | ||
opacity: 0.7; | ||
|
||
#local-search-result-wrapper | ||
margin-bottom: 3em; | ||
position: fixed; | ||
background: white; | ||
z-index: 1000; | ||
top: 70px; | ||
right: 0; | ||
margin-right: 1em; | ||
margin-left: 1em; | ||
|
||
#local-search-result | ||
min-width: 400px; | ||
box-shadow: 0 0 10px rgba(0,0,0,0.3); | ||
border-radius: 5px; | ||
background: white; | ||
overflow: auto; | ||
max-height: 4in; | ||
padding: 20px; | ||
word-break: break-all; | ||
|
||
h3 | ||
margin-top: 1.5em; | ||
|
||
ul.search-result-list | ||
padding-left: 20px; | ||
|
||
li | ||
margin-top: 1em; | ||
margin-bottom: 0.5em; | ||
cursor: pointer; | ||
|
||
a.search-result-title | ||
margin-top: 2em !important; | ||
font-weight: bold; | ||
color: #f58a48; | ||
|
||
p.search-result | ||
color: #555; | ||
margin-top: 0; | ||
|
||
em.search-keyword | ||
border-bottom: 1px dashed #4088b8; | ||
font-weight: bold !important; | ||
font-style: normal; | ||
|
||
@media screen and (max-width: 900px) | ||
#local-search-result | ||
min-width: 200px; |
Oops, something went wrong.