mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
### What is this PR for? I excluded some docs pages from [search page](https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/search.html) in Zeppelin documentation site. This can be done by removing `title` value in [front matter](https://jekyllrb.com/docs/frontmatter/) as I did same for `pleasecontribute.md` in [here](6e775f5c28). ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-1514](https://issues.apache.org/jira/browse/ZEPPELIN-1514) ### How should this be tested? 1) build gh-pages (website) branch ``` JEKYLL_ENV=production bundle exec jekyll build mkdir -p tmp/zeppelin_website/docs/ cp -r _site/ /tmp/zeppelin_website/ ``` 2) build this patch(docs) and copy it under docs/0.7.0-SNAPSHOT of website ``` cd ZEPPELIN_HOME/docs/ bundle exec jekyll build --safe cp -r _site/ /tmp/zeppelin_website/docs/0.7.0-SNAPSHOT/ ``` 3) start httpServer ``` cd /tmp/zeppelin_website python -m SimpleHTTPServer ``` 4) browse `http://localhost:8000` ### Screenshots (if appropriate) The below pages shouldn't be searched <img width="861" alt="screen shot 2016-10-01 at 4 01 37 pm" src="https://cloud.githubusercontent.com/assets/10060731/19012559/80339cbe-87f4-11e6-8ee5-59405c048171.png"> <img width="539" alt="screen shot 2016-10-01 at 4 08 03 pm" src="https://cloud.githubusercontent.com/assets/10060731/19012560/82f32f3c-87f4-11e6-9c25-0f22eb723245.png"> <img width="558" alt="screen shot 2016-10-01 at 4 08 11 pm" src="https://cloud.githubusercontent.com/assets/10060731/19012561/8780398c-87f4-11e6-8446-39f0f8f8c994.png"> ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: AhyoungRyu <ahyoungryu@apache.org> Closes #1478 from AhyoungRyu/fix/excludeNonDocs and squashes the following commits:da1eb84[AhyoungRyu] Make atom, rss, sitemap file not to be searched
28 lines
915 B
XML
28 lines
915 B
XML
---
|
|
layout: nil
|
|
title :
|
|
---
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<rss version="2.0">
|
|
<channel>
|
|
<title>{{ site.title }}</title>
|
|
<description>{{ site.title }} - {{ site.author.name }}</description>
|
|
<link>{{ site.production_url }}{{ site.rss_path }}</link>
|
|
<link>{{ site.production_url }}</link>
|
|
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
|
|
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
|
|
<ttl>1800</ttl>
|
|
|
|
{% for post in site.posts %}
|
|
<item>
|
|
<title>{{ post.title }}</title>
|
|
<description>{{ post.content | xml_escape }}</description>
|
|
<link>{{ site.production_url }}{{ post.url }}</link>
|
|
<guid>{{ site.production_url }}{{ post.id }}</guid>
|
|
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
|
|
</item>
|
|
{% endfor %}
|
|
|
|
</channel>
|
|
</rss>
|