You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sh...@apache.org on 2020/04/15 05:00:41 UTC
[lucenenet-site] branch asf-site updated: Updates to website based
on docs/4.8.0-beta00007 changes
This is an automated email from the ASF dual-hosted git repository.
shazwazza pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/lucenenet-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 39f5752 Updates to website based on docs/4.8.0-beta00007 changes
39f5752 is described below
commit 39f5752db843b58035c4245892a5e10b5546c398
Author: Shannon <sd...@gmail.com>
AuthorDate: Wed Apr 15 15:00:25 2020 +1000
Updates to website based on docs/4.8.0-beta00007 changes
---
contributing/current-status.html | 2 +-
contributing/documentation.html | 2 +-
contributing/index.html | 2 +-
contributing/issue-tracker.html | 2 +-
contributing/mailing-lists.html | 2 +-
contributing/source.html | 2 +-
contributing/toc.html | 1 +
contributing/wiki.html | 2 +-
docs.html | 12 ++++--
download/download.html | 2 +-
download/toc.html | 1 +
download/version-2.html | 2 +-
download/version-3.html | 2 +-
download/version-4.html | 4 +-
index.html | 33 +++++++++++++--
manifest.json | 86 ++++++++++++++++++++--------------------
styles/docfx.css | 6 +++
styles/docfx.js | 39 +++++++++++++++++-
styles/docfx.vendor.js | 14 +++----
styles/site.css | 12 ++++++
toc.html | 1 +
21 files changed, 157 insertions(+), 72 deletions(-)
diff --git a/contributing/current-status.html b/contributing/current-status.html
index ddb8078..55a3859 100644
--- a/contributing/current-status.html
+++ b/contributing/current-status.html
@@ -8,7 +8,7 @@
<title>The current status of the Lucene.Net project | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="The current status of the Lucene.Net project | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/documentation.html b/contributing/documentation.html
index ec96d29..b543a48 100644
--- a/contributing/documentation.html
+++ b/contributing/documentation.html
@@ -8,7 +8,7 @@
<title>Documentation & Website | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Documentation & Website | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/index.html b/contributing/index.html
index f65e83b..f2adcf6 100644
--- a/contributing/index.html
+++ b/contributing/index.html
@@ -8,7 +8,7 @@
<title>Lucene.Net project contributing guide | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Lucene.Net project contributing guide | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/issue-tracker.html b/contributing/issue-tracker.html
index aa5bf66..afb7afb 100644
--- a/contributing/issue-tracker.html
+++ b/contributing/issue-tracker.html
@@ -8,7 +8,7 @@
<title>Issue Tracker | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Issue Tracker | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/mailing-lists.html b/contributing/mailing-lists.html
index 94ed46b..a073991 100644
--- a/contributing/mailing-lists.html
+++ b/contributing/mailing-lists.html
@@ -8,7 +8,7 @@
<title>Mailing Lists | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Mailing Lists | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/source.html b/contributing/source.html
index 0e7721e..32dfc07 100644
--- a/contributing/source.html
+++ b/contributing/source.html
@@ -8,7 +8,7 @@
<title>Source code | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Source code | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/contributing/toc.html b/contributing/toc.html
index 56d9fee..6ab6a4a 100644
--- a/contributing/toc.html
+++ b/contributing/toc.html
@@ -4,6 +4,7 @@
<div class="sidefilter">
<form class="toc-filter">
<span class="glyphicon glyphicon-filter filter-icon"></span>
+ <span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
<input type="text" id="toc_filter_input" placeholder="Enter here to filter..." onkeypress="if(event.keyCode==13) {return false;}">
</form>
</div>
diff --git a/contributing/wiki.html b/contributing/wiki.html
index bf61997..7bf633e 100644
--- a/contributing/wiki.html
+++ b/contributing/wiki.html
@@ -8,7 +8,7 @@
<title>Wiki | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Wiki | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/docs.html b/docs.html
index e3597c6..73c75bf 100644
--- a/docs.html
+++ b/docs.html
@@ -8,7 +8,7 @@
<title>Lucene.Net Documentation | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Lucene.Net Documentation | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="logo/favicon.ico">
<link rel="stylesheet" href="styles/docfx.vendor.css">
@@ -60,11 +60,15 @@
<hr>
<h2 id="lucene-480">Lucene 4.8.0</h2>
-<p>The documentation website for Lucene 4.8.0 is currently still a work in progress. Currently they are available on a temporary website here <a href="https://lucenenetdocs.azurewebsites.net/">https://lucenenetdocs.azurewebsites.net/</a></p>
+<p>The API docs are slightly different between versions, each one is listed below:</p>
+<ul>
+<li><a href="https://lucenenet.apache.org/docs/4.8.0-beta00007/">4.8.0-beta00007</a></li>
+<li><a href="https://lucenenet.apache.org/docs/4.8.0-beta00005/">4.8.0-beta00001 -> 4.8.0-beta00006</a></li>
+</ul>
<h2 id="lucene-303">Lucene 3.0.3</h2>
-<p>The documentation website for Lucene 3.0.3 is here <a href="http://lucenenet.apache.org/docs/3.0.3/Index.html">http://lucenenet.apache.org/docs/3.0.3/Index.html</a></p>
+<p>The documentation website for Lucene 3.0.3 is here <a href="https://lucenenet.apache.org/docs/3.0.3/Index.html">http://lucenenet.apache.org/docs/3.0.3/Index.html</a></p>
<h2 id="lucene-2941">Lucene 2.9.4.1</h2>
-<p>The documentation website for Lucene 3.0.3 is here <a href="http://lucenenet.apache.org/docs/2.9.4/Index.html">http://lucenenet.apache.org/docs/2.9.4/Index.html</a></p>
+<p>The documentation website for Lucene 3.0.3 is here <a href="https://lucenenet.apache.org/docs/2.9.4/Index.html">http://lucenenet.apache.org/docs/2.9.4/Index.html</a></p>
</article>
</div>
diff --git a/download/download.html b/download/download.html
index 0285b94..d5d3e18 100644
--- a/download/download.html
+++ b/download/download.html
@@ -8,7 +8,7 @@
<title>Download Lucene.Net | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Download Lucene.Net | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/download/toc.html b/download/toc.html
index 138054c..c728d8e 100644
--- a/download/toc.html
+++ b/download/toc.html
@@ -4,6 +4,7 @@
<div class="sidefilter">
<form class="toc-filter">
<span class="glyphicon glyphicon-filter filter-icon"></span>
+ <span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
<input type="text" id="toc_filter_input" placeholder="Enter here to filter..." onkeypress="if(event.keyCode==13) {return false;}">
</form>
</div>
diff --git a/download/version-2.html b/download/version-2.html
index 1eb7c10..e7c4680 100644
--- a/download/version-2.html
+++ b/download/version-2.html
@@ -8,7 +8,7 @@
<title>Download Lucene.Net 2.9.4 | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Download Lucene.Net 2.9.4 | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/download/version-3.html b/download/version-3.html
index 7a63791..e2467d0 100644
--- a/download/version-3.html
+++ b/download/version-3.html
@@ -8,7 +8,7 @@
<title>Download Lucene.Net 3.3 | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Download Lucene.Net 3.3 | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
diff --git a/download/version-4.html b/download/version-4.html
index 435fe83..37bc0d6 100644
--- a/download/version-4.html
+++ b/download/version-4.html
@@ -8,7 +8,7 @@
<title>Download Lucene.Net | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Download Lucene.Net | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="../logo/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
@@ -78,7 +78,7 @@
<p><em>Status:</em> <strong><code>Beta</code></strong></p>
<p><em>Released:</em> <strong><code>Pending...</code></strong></p>
<div class="nuget-well" style="text-align:left;">
- PM> Install-Package Lucene.Net -Version 4.8.0-beta00005
+ PM> Install-Package Lucene.Net -Version 4.8.0-beta00007
</div>
<h3 id="source-code">Source code</h3>
<ul>
diff --git a/index.html b/index.html
index 243a810..b70eae1 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
<title>Welcome to the Lucene.Net website! | Apache Lucene.NET 4.8.0 </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Welcome to the Lucene.Net website! | Apache Lucene.NET 4.8.0 ">
- <meta name="generator" content="docfx 2.46.0.0">
+ <meta name="generator" content="docfx 2.50.0.0">
<link rel="shortcut icon" href="logo/favicon.ico">
<link rel="stylesheet" href="styles/docfx.vendor.css">
@@ -113,8 +113,12 @@ var writer = new IndexWriter(dir, indexConfig);
Document doc = new Document
{
// StringField indexes but doesn't tokenize
- new StringField("name", source.Name, Field.Store.YES),
- new TextField("favoritePhrase", source.FavoritePhrase, Field.Store.YES)
+ new StringField("name",
+ source.Name,
+ Field.Store.YES),
+ new TextField("favoritePhrase",
+ source.FavoritePhrase,
+ Field.Store.YES)
};
writer.AddDocument(doc);
@@ -154,7 +158,8 @@ foreach (var hit in hits)
</section> <section class="home-section">
<div class="container">
<div class="row">
-
+ <div class="col-md-12">
+
<h2 id="about" class="text-center">About the project</h2>
<p>Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users</p>
<h3 id="our-goals">Our Goals</h3>
@@ -164,6 +169,26 @@ foreach (var hit in hits)
<li>Maximize usability and power when used within the .NET runtime. To that end, it will present a highly idiomatic, carefully tailored API that takes advantage of many of the special features of the .NET runtime</li>
</ul>
+ </div>
+ </div>
+ </div>
+ </section>
+ <section class="home-section books">
+ <div class="container">
+ <div class="row">
+ <h2 id="books" class="text-center">Popular Books</h2>
+
+ <div class="row">
+ <div class="col-xs-12 col-md-6">
+ <a href="https://www.amazon.com/Instant-Lucene-NET-Michael-Heydt-ebook/dp/B00E7NC9EG" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/51ovFeqMwBL.jpg"></a>
+ </div>
+ <div class="col-xs-12 col-md-6">
+ <a href="https://www.amazon.com/Lucene-4-Cookbook-Edwood-Ng-ebook/dp/B00ZPJWC9S" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/51uIsUPhaeL.jpg"></a>
+ </div>
+ </div>
+
+
+
</div>
</div>
</section>
diff --git a/manifest.json b/manifest.json
index 8df14e0..9e80551 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"homepages": [],
- "source_base_path": "C:/Users/Shannon/Documents/_Projects/Lucene.Net/Lucenenet.4.x-copy/websites/site",
+ "source_base_path": "D:/a/1/s/websites/site",
"xrefmap": "xrefmap.yml",
"files": [
{
@@ -53,10 +53,10 @@
"output": {
".html": {
"relative_path": "contributing/current-status.html",
- "hash": "iJGTaRTs7VEQSCcN3d9Drw=="
+ "hash": "mIi333xZR971VtpyWC3YGw=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -65,10 +65,10 @@
"output": {
".html": {
"relative_path": "contributing/documentation.html",
- "hash": "VzheO7vjbbf68yeuVx7Xng=="
+ "hash": "SPDpj8nG6DuFE7Key/7ltA=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -77,10 +77,10 @@
"output": {
".html": {
"relative_path": "contributing/index.html",
- "hash": "IjwhBH3dUCgEF2GfsxVM8Q=="
+ "hash": "Z+xnVm+pMF5f5wC+XmIqtA=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -89,10 +89,10 @@
"output": {
".html": {
"relative_path": "contributing/issue-tracker.html",
- "hash": "u5rxN6RYRFeddOe3GNc/8A=="
+ "hash": "TSZ66SUYlHnaXgrC93xawg=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -101,10 +101,10 @@
"output": {
".html": {
"relative_path": "contributing/mailing-lists.html",
- "hash": "F4DOAIFuXqRkp5VC6s3hug=="
+ "hash": "xyRL7aPwL4HcdUfQDjrnwg=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -113,10 +113,10 @@
"output": {
".html": {
"relative_path": "contributing/source.html",
- "hash": "LWsFxiD2lE57lpnB0QdKSg=="
+ "hash": "v7YSbix1xSC71jXQRStprA=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -125,7 +125,7 @@
"output": {
".html": {
"relative_path": "contributing/toc.html",
- "hash": "S6rpztM6ysexbX1hZQUd0A=="
+ "hash": "B6jpRqA1jr99rIfue1o//g=="
}
},
"is_incremental": false,
@@ -137,10 +137,10 @@
"output": {
".html": {
"relative_path": "contributing/wiki.html",
- "hash": "/56isfWQcq+3yKbJ6drGzQ=="
+ "hash": "1BOpNvjSvh1hyTMJp+L3Tw=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -149,7 +149,7 @@
"output": {
".html": {
"relative_path": "docs.html",
- "hash": "yrhpNgAqjtUBS9dDUyKZzQ=="
+ "hash": "nyePnUyXy83p/Icz3lfBqg=="
}
},
"is_incremental": false,
@@ -161,10 +161,10 @@
"output": {
".html": {
"relative_path": "download/download.html",
- "hash": "GhEfpsvH+2PxQOhqAzRv1g=="
+ "hash": "VH/OFq02ZiUmlkQfpGTCXw=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -173,7 +173,7 @@
"output": {
".html": {
"relative_path": "download/toc.html",
- "hash": "3Tfuuqz4uLMn7nWN8h/3yg=="
+ "hash": "2zs2wjCmYX8RdGkOIlUOFg=="
}
},
"is_incremental": false,
@@ -185,10 +185,10 @@
"output": {
".html": {
"relative_path": "download/version-2.html",
- "hash": "JmPLmTlcFBuEwObbbXPUeA=="
+ "hash": "j3CaGReHob1Kd4oSpjsHeA=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -197,10 +197,10 @@
"output": {
".html": {
"relative_path": "download/version-3.html",
- "hash": "99vUhClFwWimJQh3T6bhlA=="
+ "hash": "/gYYlsCrAKNW/Hotsl62og=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -209,10 +209,10 @@
"output": {
".html": {
"relative_path": "download/version-4.html",
- "hash": "AMmzAoZFavz+4vDs5DElZw=="
+ "hash": "Zp+YA+p4TGJ1rlbB7pk3ug=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -221,10 +221,10 @@
"output": {
".html": {
"relative_path": "index.html",
- "hash": "Ir7s5mdY7YLNHCzbwsbFIw=="
+ "hash": "oZvTcJ7TLuMTjQWjkKt7eg=="
}
},
- "is_incremental": true,
+ "is_incremental": false,
"version": ""
},
{
@@ -244,7 +244,7 @@
"output": {
".html": {
"relative_path": "toc.html",
- "hash": "/3zCSyB7mc87KQ6kytX9vw=="
+ "hash": "82wg/hiM/QB034Bch5WEbA=="
}
},
"is_incremental": false,
@@ -254,24 +254,19 @@
"incremental_info": [
{
"status": {
- "can_incremental": true,
+ "can_incremental": false,
+ "details": "Cannot build incrementally because last build info is missing.",
"incrementalPhase": "build",
"total_file_count": 0,
- "skipped_file_count": 0
+ "skipped_file_count": 0,
+ "full_build_reason_code": "NoAvailableBuildCache"
},
"processors": {
- "TocDocumentProcessor": {
- "can_incremental": false,
- "details": "Processor TocDocumentProcessor cannot support incremental build because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.",
- "incrementalPhase": "build",
- "total_file_count": 0,
- "skipped_file_count": 0
- },
"ConceptualDocumentProcessor": {
- "can_incremental": true,
+ "can_incremental": false,
"incrementalPhase": "build",
"total_file_count": 13,
- "skipped_file_count": 12
+ "skipped_file_count": 0
},
"ResourceDocumentProcessor": {
"can_incremental": false,
@@ -279,13 +274,20 @@
"incrementalPhase": "build",
"total_file_count": 0,
"skipped_file_count": 0
+ },
+ "TocDocumentProcessor": {
+ "can_incremental": false,
+ "details": "Processor TocDocumentProcessor cannot support incremental build because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.",
+ "incrementalPhase": "build",
+ "total_file_count": 0,
+ "skipped_file_count": 0
}
}
},
{
"status": {
- "can_incremental": true,
- "details": "Can support incremental post processing.",
+ "can_incremental": false,
+ "details": "Cannot support incremental post processing, the reason is: last post processor info is null.",
"incrementalPhase": "postProcessing",
"total_file_count": 0,
"skipped_file_count": 0
diff --git a/styles/docfx.css b/styles/docfx.css
index 087cf46..dc00b04 100644
--- a/styles/docfx.css
+++ b/styles/docfx.css
@@ -562,6 +562,7 @@ body .toc{
border: 0;
color: #666666;
padding-left: 20px;
+ padding-right: 20px;
width: 100%;
}
.toc-filter > input:focus {
@@ -572,6 +573,11 @@ body .toc{
top: 10px;
left: 5px;
}
+.toc-filter > .clear-icon {
+ position: absolute;
+ top: 10px;
+ right: 5px;
+}
.article {
margin-top: 120px;
margin-bottom: 115px;
diff --git a/styles/docfx.js b/styles/docfx.js
index 6d06b4b..d8b2c8c 100644
--- a/styles/docfx.js
+++ b/styles/docfx.js
@@ -434,20 +434,39 @@ $(function () {
}
function registerTocEvents() {
+ var tocFilterInput = $('#toc_filter_input');
+ var tocFilterClearButton = $('#toc_filter_clear');
+
$('.toc .nav > li > .expand-stub').click(function (e) {
$(e.target).parent().toggleClass(expanded);
});
$('.toc .nav > li > .expand-stub + a:not([href])').click(function (e) {
$(e.target).parent().toggleClass(expanded);
});
- $('#toc_filter_input').on('input', function (e) {
+ tocFilterInput.on('input', function (e) {
var val = this.value;
+ //Save filter string to local session storage
+ if (typeof(Storage) !== "undefined") {
+ sessionStorage.filterString = val;
+ }
if (val === '') {
// Clear 'filtered' class
$('#toc li').removeClass(filtered).removeClass(hide);
+ tocFilterClearButton.fadeOut();
return;
}
+ tocFilterClearButton.fadeIn();
+ // set all parent nodes status
+ $('#toc li>a').filter(function (i, e) {
+ return $(e).siblings().length > 0
+ }).each(function (i, anchor) {
+ var parent = $(anchor).parent();
+ parent.addClass(hide);
+ parent.removeClass(show);
+ parent.removeClass(filtered);
+ })
+
// Get leaf nodes
$('#toc li>a').filter(function (i, e) {
return $(e).siblings().length === 0
@@ -488,6 +507,22 @@ $(function () {
return false;
}
});
+
+ // toc filter clear button
+ tocFilterClearButton.hide();
+ tocFilterClearButton.on("click", function(e){
+ tocFilterInput.val("");
+ tocFilterInput.trigger('input');
+ if (typeof(Storage) !== "undefined") {
+ sessionStorage.filterString = "";
+ }
+ });
+
+ //Set toc filter from local session storage on page load
+ if (typeof(Storage) !== "undefined") {
+ tocFilterInput.val(sessionStorage.filterString);
+ tocFilterInput.trigger('input');
+ }
}
function loadToc() {
@@ -1137,7 +1172,7 @@ $(function () {
$(window).on('hashchange', scrollToCurrent);
- $(window).load(function () {
+ $(window).on('load', function () {
// scroll to the anchor if present, offset by the header
scrollToCurrent();
});
diff --git a/styles/docfx.vendor.js b/styles/docfx.vendor.js
index ff662c6..00c7687 100644
--- a/styles/docfx.vendor.js
+++ b/styles/docfx.vendor.js
@@ -1,8 +1,6 @@
-/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
-!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r= [...]
-return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(functio [...]
-void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c [...]
-//# sourceMappingURL=jquery.min.map
+/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e& [...]
+
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
@@ -46,10 +44,10 @@ built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
//
-// AnchorJS - v4.2.0 - 2019-01-01
-// https://github.com/bryanbraun/anchorjs
+// AnchorJS - v4.2.2 - 2019-11-14
+// https://www.bryanbraun.com/anchorjs/
// Copyright (c) 2019 Bryan Braun; Licensed MIT
//
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
-!function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function f(A){A.icon=A.hasOwnProperty("icon")?A.icon:"",A.visible=A.hasOwnProperty("visible")?A.visible:"hover",A.placement=A.hasOwnProperty("placement")?A.placement:"right",A.ariaLabel=A.hasOwnProperty("ariaLabel")?A.ariaLabel:"Anchor",A.class=A.hasOwnProperty( [...]
+!function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function f(A){A.icon=A.hasOwnProperty("icon")?A.icon:"",A.visible=A.hasOwnProperty("visible")?A.visible:"hover",A.placement=A.hasOwnProperty("placement")?A.placement:"right",A.ariaLabel=A.hasOwnProperty("ariaLabel")?A.ariaLabel:"Anchor",A.class=A.hasOwnProperty( [...]
// @license-end
\ No newline at end of file
diff --git a/styles/site.css b/styles/site.css
index aa5f52a..a85d1ed 100644
--- a/styles/site.css
+++ b/styles/site.css
@@ -143,6 +143,18 @@ pre.clean {
padding: 4rem 0 4rem 0;
}
+.home-section.books .row {
+ text-align:center;
+}
+
+.home-section.books img {
+ max-width:90%;
+}
+.home-section.books a {
+ display:block;
+ padding:20px;
+}
+
@media screen and (min-width: 700px) {
.project-links {
margin-top: 4rem;
diff --git a/toc.html b/toc.html
index e69d557..f617294 100644
--- a/toc.html
+++ b/toc.html
@@ -4,6 +4,7 @@
<div class="sidefilter">
<form class="toc-filter">
<span class="glyphicon glyphicon-filter filter-icon"></span>
+ <span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
<input type="text" id="toc_filter_input" placeholder="Enter here to filter..." onkeypress="if(event.keyCode==13) {return false;}">
</form>
</div>