You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Liu Xun (Jira)" <ji...@apache.org> on 2019/11/15 03:49:00 UTC

[jira] [Updated] (SUBMARINE-71) [umbrella] Update submarine site

     [ https://issues.apache.org/jira/browse/SUBMARINE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liu Xun updated SUBMARINE-71:
-----------------------------
    Description: 
Manage [http://hadoop.apache.org/submarine/] in this umbrella issue each release an update to the site.

Modify the hadoop site as follows
 1) git clone [https://github.com/apache/hadoop-site.git]
 2) Run the hadoop site locally
{code:java}
cd hadoop-site/submarine/
vi submarine/config.toml
baseurl = "http://localhost:1313"
publishDir = "content"

# NOTE: in hadoop-site/submarine
Hugo
hugo server --disableFastRender
http://localhost:1313{code}
You can view the changes to the page through the browser.
 3) commit
 Restore these 2 configurations in submarine/config.toml
{code:java}
baseurl = "/submarine/"
publishDir = "../content/submarine"
{code}

  was:
Manage [http://hadoop.apache.org/submarine/] in this umbrella issue each release an update to the site.

Modify the hadoop site as follows
 1) git clone [https://github.com/apache/hadoop-site.git]
 2) Run the hadoop site locally
{code:java}
cd hadoop-site/submarine/
vi submarine/config.toml
baseurl = "http://localhost:1313"
publishDir = "content"

# NOTE: in hadoop-site/submarine
Hugo
Hugo server
http://localhost:1313{code}
You can view the changes to the page through the browser.
 3) commit
 Restore these 2 configurations in submarine/config.toml
{code:java}
baseurl = "/submarine/"
publishDir = "../content/submarine"
{code}


> [umbrella] Update submarine site
> --------------------------------
>
>                 Key: SUBMARINE-71
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-71
>             Project: Apache Submarine
>          Issue Type: Improvement
>            Reporter: Xun Liu
>            Priority: Major
>
> Manage [http://hadoop.apache.org/submarine/] in this umbrella issue each release an update to the site.
> Modify the hadoop site as follows
>  1) git clone [https://github.com/apache/hadoop-site.git]
>  2) Run the hadoop site locally
> {code:java}
> cd hadoop-site/submarine/
> vi submarine/config.toml
> baseurl = "http://localhost:1313"
> publishDir = "content"
> # NOTE: in hadoop-site/submarine
> Hugo
> hugo server --disableFastRender
> http://localhost:1313{code}
> You can view the changes to the page through the browser.
>  3) commit
>  Restore these 2 configurations in submarine/config.toml
> {code:java}
> baseurl = "/submarine/"
> publishDir = "../content/submarine"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org