You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2017/06/09 22:07:58 UTC
[2/2] lucene-solr:master: SOLR-10863: remove feed.xml from HTML
version of Ref Guide
SOLR-10863: remove feed.xml from HTML version of Ref Guide
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/072e7209
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/072e7209
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/072e7209
Branch: refs/heads/master
Commit: 072e72097cac1515199fb032b2b0cbdd9f6d6331
Parents: b3b8344
Author: Cassandra Targett <ct...@apache.org>
Authored: Fri Jun 9 16:40:32 2017 -0500
Committer: Cassandra Targett <ct...@apache.org>
Committed: Fri Jun 9 17:07:31 2017 -0500
----------------------------------------------------------------------
solr/solr-ref-guide/src/_config.yml.template | 6 +----
solr/solr-ref-guide/src/_includes/head.html | 2 --
solr/solr-ref-guide/src/feed.xml | 28 -----------------------
3 files changed, 1 insertion(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/072e7209/solr/solr-ref-guide/src/_config.yml.template
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/_config.yml.template b/solr/solr-ref-guide/src/_config.yml.template
index eac2d28..0db495e 100755
--- a/solr/solr-ref-guide/src/_config.yml.template
+++ b/solr/solr-ref-guide/src/_config.yml.template
@@ -54,11 +54,7 @@ defaults:
layout: "post"
search: true
-
-# the description is used in the feed.xml file
-description: "The Apache Solr Reference Guide is the official documentation for the Apache Solr project."
-
-# needed for sitemap.xml and feed.xml files
+# needed for sitemap.xml
url: https://home.apache.org/~ctargett/RefGuidePOC/jekyll-full
# Asciidoc settings - disabled so we can use asciidoctor instead
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/072e7209/solr/solr-ref-guide/src/_includes/head.html
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/_includes/head.html b/solr/solr-ref-guide/src/_includes/head.html
index 47bf867..de0bd44 100755
--- a/solr/solr-ref-guide/src/_includes/head.html
+++ b/solr/solr-ref-guide/src/_includes/head.html
@@ -31,5 +31,3 @@
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
-
-<link rel="alternate" type="application/rss+xml" title="{{ site.site_title }}" href="{{ "/feed.xml" | prepend: site.url }}">
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/072e7209/solr/solr-ref-guide/src/feed.xml
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/feed.xml b/solr/solr-ref-guide/src/feed.xml
deleted file mode 100755
index d9faae8..0000000
--- a/solr/solr-ref-guide/src/feed.xml
+++ /dev/null
@@ -1,28 +0,0 @@
----
-search: exclude
-layout: none
----
-
-<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ site.site_title | xml_escape }}</title>
- <description>{{ site.description | xml_escape }}</description>
- <link>{{ site.url }}</link>
- <atom:link href="{{ "/feed.xml" | prepend: site.url }}" rel="self" type="application/rss+xml"/>
- <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
- <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
- <generator>Jekyll v{{ jekyll.version }}</generator>
- {% for page in site.pages limit:10 %}
- <item>
- <title>{{ page.title | xml_escape }}</title>
- <description>{{ page.content | xml_escape }}</description>
- <link>{{ page.url | prepend: site.url }}</link>
- <guid isPermaLink="true">{{ page.url | prepend: site.url }}</guid>
- {% for tag in page.tags %}
- <category>{{ tag | xml_escape }}</category>
- {% endfor %}
- </item>
- {% endfor %}
- </channel>
-</rss>