[ 
https://issues.apache.org/jira/browse/BEAM-4501?focusedWorklogId=151455&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-151455
 ]

ASF GitHub Bot logged work on BEAM-4501:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Oct/18 00:29
            Start Date: 05/Oct/18 00:29
    Worklog Time Spent: 10m 
      Work Description: udim commented on a change in pull request #6533: 
[BEAM-4501] Update website contribution and release docs
URL: https://github.com/apache/beam/pull/6533#discussion_r222860478
 
 

 ##########
 File path: website/src/contribute/release-guide.md
 ##########
 @@ -555,33 +570,40 @@ cd sdks/python && tox -e docs
 ```
 By default the Pydoc is generated in `sdks/python/target/docs/_build`. Let 
`${PYDOC_ROOT}` be the absolute path to `_build`.
 
-#### Propose a pull request for website updates
+#### Propose pull requests for website updates
 
-The final step of building the candidate is to propose a website pull request.
+Beam publishes API reference manuals for each release on the website. For Java
+and Python SDKs, that’s Javadoc and PyDoc, respectively. The final step of
+building the candidate is to propose website pull requests that update these
+manuals.
 
-Start by updating `release_latest` version flag in the top-level 
`_config.yml`, and list the new release in the [Apache Beam Downloads]({{ 
site.baseurl }}/get-started/downloads/), linking to the source code download 
and the Release Notes in JIRA.
+Merge the pull requests only after finalizing the release. To avoid invalid
+redirects in `current.md` files, merge these PRs in the order listed.
 
-Beam publishes API reference manual for each release on the website. For Java 
SDK, that’s Javadoc.
+**PR 1: apache/beam-site**
 
-One of the artifacts created in the release contains the Javadoc for the
-website. To update the website, you must unpack this jar file from the release
-candidate into the source tree of the website.
+The second pull request is against the `apache/beam-site` repo, on the
+`asf-site` branch.
 
-Add the new Javadoc to [SDK API Reference page]({{ site.baseurl 
}}/documentation/sdks/javadoc/) page, as follows:
+* Add the new Javadoc to [SDK API Reference page]({{ site.baseurl 
}}/documentation/sdks/javadoc/) page, as follows:
+  * Unpack the Maven artifact `org.apache.beam:beam-sdks-java-javadoc` into 
some temporary location. Call this `${JAVADOC_TMP}`.
+  * Copy the generated Javadoc into the website repository: `cp -r 
${JAVADOC_TMP} content/documentation/sdks/javadoc/${RELEASE}`.
+* Add the new Pydoc to [SDK API Reference page]({{ site.baseurl 
}}/documentation/sdks/pydoc/) page, as follows:
+  * Copy the generated Pydoc into the website repository: `cp -r ${PYDOC_ROOT} 
content/documentation/sdks/pydoc/${RELEASE}`.
+  * Remove `.doctrees` directory.
+* Set up the necessary git commands to account for new and deleted files.
 
 Review comment:
   Yeah, I believe these should be brand new directories, so no deletions are 
necessary.
   (I copied this text from elsewhere.)
   
   https://stackoverflow.com/a/26039014/63302

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 151455)
    Time Spent: 3h 50m  (was: 3h 40m)

> Update contribution guide for new website contribution process
> --------------------------------------------------------------
>
>                 Key: BEAM-4501
>                 URL: https://issues.apache.org/jira/browse/BEAM-4501
>             Project: Beam
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Scott Wegner
>            Assignee: Udi Meiri
>            Priority: Major
>              Labels: beam-site-automation-reliability
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to