[ 
https://issues.apache.org/jira/browse/LENS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259848#comment-14259848
 ] 

Jaideep Dhok commented on LENS-172:
-----------------------------------

There is a bug in the generate-site script. It's not copying REST dict to 
current/*

{code}
cp -r $REST_DIR/* .
echo "Copy images"
cp -r $IMAGES_DIR .
echo "Copy MVN site"
cp -r $STAGE/ . || die "unable to copy to base"
echo "Copy docs to current/"
cp -r $STAGE/ current/ || die "unable to copy to current"
echo "Copy docs to version:" $VERSION
cp -r $STAGE/ versions/$VERSION/ || die "unable to copy to versions/$VERSION"
{code}

We have to copy $REST_DIR to current and versions. Although we have to skip 
$REST_DIR/index.html

> REST api documentation link is not working 
> -------------------------------------------
>
>                 Key: LENS-172
>                 URL: https://issues.apache.org/jira/browse/LENS-172
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: docs
>            Reporter: Raju Bairishetti
>            Assignee: Raju Bairishetti
>             Fix For: 2.0
>
>
> Right now, RestAPI documentation link is not working. It is giving the 
> following error:
> {noformat}
>  HTTP ERROR 404
> Problem accessing /rest.html. Reason:
>     NOT_FOUND
> {noformat}
> Problem : RestAPI documentation is pointing to *./rest.html* instead of 
> *./user/rest.html*
> *Fix:*
> {code}
> <item name="REST API" href="./user/rest.html" />
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to