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

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

                Author: ASF GitHub Bot
            Created on: 04/Oct/18 00:21
            Start Date: 04/Oct/18 00:21
    Worklog Time Spent: 10m 
      Work Description: udim commented on a change in pull request #6556: 
[BEAM-4498] Add redirects and point javadoc/pydoc links to new location
URL: https://github.com/apache/beam/pull/6556#discussion_r222506522
 
 

 ##########
 File path: website/src/.htaccess
 ##########
 @@ -13,3 +13,12 @@ RewriteCond %{HTTPS} !on
 # * Redirect (R) permanently (301) to https://beam.apache.org/,
 # * Stop processing more rules (L).
 RewriteRule ^(.*)$ https://beam.apache.org/$1 [L,R=301]
+
+# Javadocs / pydocs are available only on the published website, published from
+# https://github.com/apache/beam-site/tree/release-docs
+# They were previously hosted within this repository, and published at the URL
+# path /documentation/sdks/(javadoc|pydoc)/..
+# The following redirect maintains the previously supported URLs.
+RedirectMatch permanent "/documentation/sdks/(javadoc|pydoc)(.*)" 
"https://beam.apache.org/documentation/releases/$1$2";
+# Keep this updated to point to the current release.
+RedirectMatch "/releases/(javadoc|pydoc)/current(.*)" 
"https://beam.apache.org/documentation/releases/$1/2.6.0$2";
 
 Review comment:
   The matching rule could be future-proofed as 
`"/releases/([^/]+)/current(.*)"`.

----------------------------------------------------------------
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: 150993)
    Time Spent: 2h 50m  (was: 2h 40m)

> Migrate release Javadocs / Pydocs to [asf-site] branch and update release 
> guide
> -------------------------------------------------------------------------------
>
>                 Key: BEAM-4498
>                 URL: https://issues.apache.org/jira/browse/BEAM-4498
>             Project: Beam
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Scott Wegner
>            Assignee: Scott Wegner
>            Priority: Major
>              Labels: beam-site-automation-reliability
>             Fix For: Not applicable
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>




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

Reply via email to