Commit graph

2 commits

Author SHA1 Message Date
AhyoungRyu
c3e05de8af [ZEPPELIN-1514] Make atom, rss, sitemap file not to be searched
### 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
2016-10-03 16:46:44 +09:00
Alexander Bezzubov
d1d32b1172 ZEPPELIN-279: move website w/ docs to master branch
Details at the [ZEPPELIN-279](https://issues.apache.org/jira/browse/ZEPPELIN-279)

Author: Alexander Bezzubov <bzz@apache.org>

Closes #282 from bzz/ZEPPELIN-279-move-docs-to-master and squashes the following commits:

16d2cd0 [Alexander Bezzubov] ZEPPELIN-279: updating refs to new /docs location
a051a35 [Alexander Bezzubov] ZEPPELIN-279: moving website gh-pages -> master:/docs
2015-09-05 19:48:22 +09:00