Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit202e7bf

Browse files
authored
Search Bar Update (#701)
* updated search to new version
1 parentc9c9c18 commit202e7bf

File tree

6 files changed

+757
-11
lines changed

6 files changed

+757
-11
lines changed

‎_docs/whats-new/changelog.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ This page gives you the complete list of changelogs and release notes.
1212

1313
If you missed any of our previous online announcements, you can find the latest features, enhancements, and bug fixes, right here.
1414

15+
>To subscribe to an RSS / Atom feed please[click here]({{ site.baseurl }}/changelog/feed.xml).
16+
1517
<ul>
1618
{% for post in site.posts %}
1719
<li>
1820
<ahref="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
1921
</li>
2022
{% endfor %}
21-
</ul>
23+
</ul>

‎_includes/docs-navbar.html‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
<spanclass="badge cf-badge cf-badge-doc align-middle ml-1">Codefresh Documentation</span>
88
</a>
99
{% if page.layout != "home" %}
10-
<formclass="bd-search {% if page.layout =="docs" %}bd-search-docs {% endif %}d-flex mt-1 mb-1 mt-md-0 order-2 order-md-2 align-items-center">
10+
<divid="searchbar"class="order-2 order-md-2 align-items-center"></div>
11+
<!-- <form class="bd-search {% if page.layout == "docs" %}bd-search-docs {% endif %}d-flex mt-1 mb-1 mt-md-0 order-2 order-md-2 align-items-center">
1112
<input type="search" class="form-control form-control-dark mr-sm-2 doc-search-input" id="navbar-search-input" placeholder="{{ site.data.translations[site.locale].search_placeholder_text }}" aria-label="{{ site.data.translations[site.locale].search_placeholder_text }}" autocomplete="off">
1213
<i class="fa fa-search"></i>
1314
{% if page.layout == "docs" %}
1415
<button class="btn btn-link bd-search-docs-toggle d-md-none p-0 ml-3" type="button" data-toggle="collapse" data-target="#bd-docs-nav" aria-controls="bd-docs-nav" aria-expanded="false" aria-label="Toggle docs navigation">
1516
{%- include icons/menu.svg width="30" height="30" -%}
1617
</button>
1718
{% endif %}
18-
</form>
19+
</form> -->
1920
{% endif %}
2021
<divclass="navbar-nav-scroll order-1 order-md-1 mx-md-auto">
2122
<ulclass="navbar-nav flex-row mx-md-auto">
@@ -90,7 +91,8 @@
9091
-->
9192
{% endcomment %}
9293
</ul>
93-
<!--- </div>
94-
<a class="btn btn-primary order-2 order-md-2" href="https://codefresh.io/docs/" style="background-color: #212437; border-color: #212437; color: #5FFFBF; font-weight: 500">View Codefresh Docs</a>
94+
</div>
95+
-<!-- </div>
96+
<a class="btn btn-primary order-2 order-md-2" href="https://codefresh.io/docs/" style="background-color: #212437; border-color: #212437; color: #5FFFBF; font-weight: 500">View Codefresh Docs</a>
9597
</div> -->
9698
</header>

‎_includes/header.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
<linkhref="https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i|Source+Code+Pro:400,500,600|Roboto:400,500,700"rel="stylesheet">
2626
<linkrel="stylesheet"href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"crossorigin="anonymous">
2727

28+
<linkhref="{{ site.baseurl }}/assets/css/docsearch.css"rel="stylesheet"><!-- Doc Search local -->
29+
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typesense-docsearch-css@0.3.0"/> -->
2830
<!-- <link href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" rel="stylesheet"> -->
29-
<linkrel="stylesheet"href="https://cdn.jsdelivr.net/npm/typesense-docsearch.js@latest/dist/cdn/docsearch.min.css"/>
31+
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typesense-docsearch.js@latest/dist/cdn/docsearch.min.css" /> -->
3032

3133
<linkhref="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css"rel="stylesheet">
3234
<linkhref="{{ site.baseurl }}/assets/css/docs.min.css"rel="stylesheet">

‎_includes/scripts.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
{%- endif -%}
1111

1212
{%- if page.layout == "docs" -%} {%- endif -%}
13-
14-
<scriptsrc="https://cdn.jsdelivr.net/npm/typesense-docsearch.js@latest/dist/cdn/docsearch.min.js"></script>
13+
<scriptsrc="https://cdn.jsdelivr.net/npm/typesense-docsearch.js@3.0.1"></script>
14+
<!-- <script src="https://cdn.jsdelivr.net/npm/typesense-docsearch.js@latest/dist/cdn/docsearch.min.js"></script> -->
1515
<!-- <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> -->
1616

1717
<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js"></script>
@@ -37,7 +37,8 @@
3737
<!-- Start of Doc Search Embed Code -->
3838
<script>
3939
docsearch({
40-
inputSelector:'.doc-search-input',
40+
// inputSelector: '.doc-search-input',
41+
container:'#searchbar',
4142
typesenseCollectionName:'project-one-doc-index',// Should match the collection name you mention in the docsearch scraper config.js
4243
typesenseServerConfig:{
4344
nodes:[{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp