Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-10690: remove unused files left over from theme adaptation

Cassandra Targett08711cf4fbe8
diff --git a/solr/solr-ref-guide/src/404.md b/solr/solr-ref-guide/src/404.md
deleted file mode 100755
index a7b58c00214..00000000000
--- a/solr/solr-ref-guide/src/404.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Page Not Found"
-search: exclude
----
-
-Sorry, but the page you were trying to view does not exist. Try searching for it or looking at the URL to see if it looks correct.
diff --git a/solr/solr-ref-guide/src/_config.yml.template b/solr/solr-ref-guide/src/_config.yml.template
index dd7173cfb9f..e10eeb7ad05 100755
--- a/solr/solr-ref-guide/src/_config.yml.template
+++ b/solr/solr-ref-guide/src/_config.yml.template
@@ -36,18 +36,6 @@ exclude:
- .gitignore
- pdf/
-# if you uncomment the next line, the Feedback link gets removed
-feedback_disable: true
-
-# used as a contact email for the Feedback link in the top navigation bar
-# feedback_email: [email protected]
-
-# if you uncomment the next line, it changes the Feedback text
-# feedback_text: "Need help?"
-
-# if you uncomment the next line, it changes where the feedback link points to
-# feedback_link: "http://helpy.io/"
-
# these are defaults used for the frontmatter for these file types
defaults:
-
diff --git a/solr/solr-ref-guide/src/_includes/archive.html b/solr/solr-ref-guide/src/_includes/archive.html
deleted file mode 100755
index 275850c9cb3..00000000000
--- a/solr/solr-ref-guide/src/_includes/archive.html
+++ /dev/null
@@ -1,15 +0,0 @@
----
-layout: default
-type: archive
----
-
-<div class="post-header">
- <h1 class="post-title-main">{{ page.title }}</h1>
-</div>
-<div class="post-content">
-
-{{ content }}
-</div>
-
-
-
diff --git a/solr/solr-ref-guide/src/_includes/feedback.html b/solr/solr-ref-guide/src/_includes/feedback.html
deleted file mode 100755
index bcd5fbc209d..00000000000
--- a/solr/solr-ref-guide/src/_includes/feedback.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!-- Send feedback function -->
-<script>
-function SendLinkByMail(href) {
-var subject= "{{site.site_title}} feedback";
-var body = "I have some feedback about the {{page.title}} page: ";
-body += window.location.href;
-body += "";
-var uri = "mailto:{{site.feedback_email}}?subject=";
-uri += encodeURIComponent(subject);
-uri += "&body=";
-uri += encodeURIComponent(body);
-window.location.href = uri;
-}
-</script>
-
-<li><a href="{% if site.feedback_link %}{{site.feedback_link}}{% else %}javascript:(function()%7BSendLinkByMail()%3B%7D)()%3B{% endif %}" target="_blank">{% if site.feedback_link == null %}<i class="fa fa-envelope-o"></i>{% endif %} {% if site.feedback_text %}{{site.feedback_text}}{% else %}Feedback{% endif %}</a></li>
diff --git a/solr/solr-ref-guide/src/_includes/image.html b/solr/solr-ref-guide/src/_includes/image.html
deleted file mode 100755
index ad129725ccf..00000000000
--- a/solr/solr-ref-guide/src/_includes/image.html
+++ /dev/null
@@ -1 +0,0 @@
-<figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" href="{{include.url}}">{% endif %}<img class="docimage" src="images/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption></figure>{% endif %}
diff --git a/solr/solr-ref-guide/src/_includes/inline_image.html b/solr/solr-ref-guide/src/_includes/inline_image.html
deleted file mode 100755
index 1e7fd187cb7..00000000000
--- a/solr/solr-ref-guide/src/_includes/inline_image.html
+++ /dev/null
@@ -1 +0,0 @@
-<img class="inline" src="images/{{include.file}}" alt="{{include.alt}}" />
diff --git a/solr/solr-ref-guide/src/_includes/links.html b/solr/solr-ref-guide/src/_includes/links.html
deleted file mode 100755
index 4f99e9422ef..00000000000
--- a/solr/solr-ref-guide/src/_includes/links.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{% comment %}Get links from each sidebar, as listed in the _config.yml file under sidebars{% endcomment %}
-
-{% for sidebar in site.sidebars %}
-{% for entry in site.data.sidebars[sidebar].entries %}
-{% for folder in entry.folders %}
-{% for folderitem in folder.folderitems %}
-{% if folderitem.url contains "html#" %}
-[{{folderitem.url | remove: "/" }}]: {{folderitem.url | remove: "/"}}
-{% else %}
-[{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}}
-{% endif %}
-{% for subfolders in folderitem.subfolders %}
-{% for subfolderitem in subfolders.subfolderitems %}
-[{{subfolderitem.url | remove: "/" | remove: ".html"}}]: {{subfolderitem.url | remove: "/"}}
-{% endfor %}
-{% endfor %}
-{% endfor %}
-{% endfor %}
-{% endfor %}
-{% endfor %}
-
-
-{% comment %} Get links from topnav {% endcomment %}
-
-{% for entry in site.data.topnav.topnav %}
-{% for item in entry.items %}
-{% if item.external_url == null %}
-[{{item.url | remove: "/" | remove: ".html"}}]: {{item.url | remove: "/"}}
-{% endif %}
-{% endfor %}
-{% endfor %}
-
-{% comment %}Get links from topnav dropdowns {% endcomment %}
-
-{% for entry in site.data.topnav.topnav_dropdowns %}
-{% for folder in entry.folders %}
-{% for folderitem in folder.folderitems %}
-{% if folderitem.external_url == null %}
-[{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}}
-{% endif %}
-{% endfor %}
-{% endfor %}
-{% endfor %}
-
diff --git a/solr/solr-ref-guide/src/_includes/topnav.html b/solr/solr-ref-guide/src/_includes/topnav.html
index 18eac2f758c..deeb2fe0a74 100755
--- a/solr/solr-ref-guide/src/_includes/topnav.html
+++ b/solr/solr-ref-guide/src/_includes/topnav.html
@@ -33,9 +33,6 @@
<li><a href="https://lucene.apache.org/solr/community.html" target="_blank">Solr Community Links</a></li>
</ul>
</li>
- {% if site.feedback_disable == null or site.feedback_disable == false %}
- {% include feedback.html %}
- {% endif %}
<!--comment out this block if you want to hide search-->
<li>
<!--start search-->
diff --git a/solr/solr-ref-guide/src/_layouts/post.html b/solr/solr-ref-guide/src/_layouts/post.html
deleted file mode 100755
index d1ba8f195d9..00000000000
--- a/solr/solr-ref-guide/src/_layouts/post.html
+++ /dev/null
@@ -1,41 +0,0 @@
----
-layout: default
----
-<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
-
- <header class="post-header">
- <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
- <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time> {% if page.author %}<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">/ {{ page.author }}</span></span>{% endif %}{% if page.tags != null %}/
- {% assign projectTags = site.data.tags.allowed-tags %}
- {% for tag in page.tags %}
- {% if projectTags contains tag %}
- <a href="{{ "../tag_" | append: tag | append: ".html" }}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
- {% endif %}
- {% endfor %}
- {% endif %}
-
- </p>
-
-
- </header>
-
- <div class="post-content" itemprop="articleBody">
-
- {% if page.summary %}
- <div class="summary">{{page.summary}}</div>
- {% endif %}
-
- {{ content }}
- </div>
-
-
-
-</article>
-
-{% if site.disqus %}
-{% include disqus.html %}
-{% endif %}
-
-{{site.data.alerts.hr_shaded}}
-
-{% include footer.html %}