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

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

                Author: ASF GitHub Bot
            Created on: 03/Oct/18 19:45
            Start Date: 03/Oct/18 19:45
    Worklog Time Spent: 10m 
      Work Description: melap commented on a change in pull request #565: 
[BEAM-4499] Remove non-release documentation sources and generated content
URL: https://github.com/apache/beam-site/pull/565#discussion_r222443132
 
 

 ##########
 File path: .htaccess
 ##########
 @@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Keep this updated to point to the current release.
+RedirectMatch "/(javadoc|pydoc)/current" "/$1/2.6.0"
 
 Review comment:
   would it be easy to make this redirect subpages also since we're adding 
this? then folks could use /current/ in links to specific javadoc/pydoc pages.  
/current/* -->  /2.6.0/*
   
   if it's not a simple change, I can file a JIRA request for the future. it's 
P2 for docs on the Beam site due to the site latest version variable that's 
updated every release, but this is a big pain point for non-Beam docs that 
point to specific Beam javadoc/pydoc as every link must be updated for each 
release.
   
   

----------------------------------------------------------------
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: 150913)
    Time Spent: 1h 20m  (was: 1h 10m)

> Migrate Apache website publishing to use apache/beam asf-site branch
> --------------------------------------------------------------------
>
>                 Key: BEAM-4499
>                 URL: https://issues.apache.org/jira/browse/BEAM-4499
>             Project: Beam
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Scott Wegner
>            Assignee: Scott Wegner
>            Priority: Major
>              Labels: beam-site-automation-reliability
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




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

Reply via email to