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

Yongjun Zhang updated YUNIKORN-1781:
------------------------------------
    Description: 
[https://github.com/apache/yunikorn-site 
|https://github.com/apache/yunikorn-site]says
{code:java}
Make changes
You can build and run the website server locally in development mode with the 
following command:
./local-build.sh run
This command will build a Docker image yunikorn/yunikorn-website:latest 
locally, and launch the web-server at this URL: http://localhost:3000 The 
website will be built based on the content in the current directory. Any 
changes that are made within the directory will automatically trigger the 
update of the local webserver. {code}

 
But "./local-build.sh run" actually build the docs in 
versioned_docs/version-1.2.0 currently.

More specifically, I made change in

docs/user_guide/resource_quota_mgmt.md, the build did not use, instead, it uses

versioned_docs/version-1.2.0/user_guide/resource_quota_mgmt.md

I expect the local build should not use the files in released version.

 

  was:
[https://github.com/apache/yunikorn-site 
|https://github.com/apache/yunikorn-site]says
{noformat}
Make changes
You can build and run the website server locally in development mode with the 
following command:
./local-build.sh run
This command will build a Docker image yunikorn/yunikorn-website:latest 
locally, and launch the web-server at this URL: http://localhost:3000 The 
website will be built based on the content in the current directory. Any 
changes that are made within the directory will automatically trigger the 
update of the local webserver. 
 
{noformat}
But "./local-build.sh run" actually build the docs in 
versioned_docs/version-1.2.0 currently.

More specifically, I made change in

docs/user_guide/resource_quota_mgmt.md, the build did not use, instead, it uses

versioned_docs/version-1.2.0/user_guide/resource_quota_mgmt.md

I expect the local build should not use the files in released version.

 


> Local doc build uses versioned doc instead of doc in development
> ----------------------------------------------------------------
>
>                 Key: YUNIKORN-1781
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1781
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>            Priority: Major
>
> [https://github.com/apache/yunikorn-site 
> |https://github.com/apache/yunikorn-site]says
> {code:java}
> Make changes
> You can build and run the website server locally in development mode with the 
> following command:
> ./local-build.sh run
> This command will build a Docker image yunikorn/yunikorn-website:latest 
> locally, and launch the web-server at this URL: http://localhost:3000 The 
> website will be built based on the content in the current directory. Any 
> changes that are made within the directory will automatically trigger the 
> update of the local webserver. {code}
>  
> But "./local-build.sh run" actually build the docs in 
> versioned_docs/version-1.2.0 currently.
> More specifically, I made change in
> docs/user_guide/resource_quota_mgmt.md, the build did not use, instead, it 
> uses
> versioned_docs/version-1.2.0/user_guide/resource_quota_mgmt.md
> I expect the local build should not use the files in released version.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to