You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/01 01:39:51 UTC

[jira] [Commented] (BEAM-1367) Need a way to force a page to be set to a specific language for code blocks

    [ https://issues.apache.org/jira/browse/BEAM-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847865#comment-15847865 ] 

ASF GitHub Bot commented on BEAM-1367:
--------------------------------------

GitHub user melap opened a pull request:

    https://github.com/apache/beam-site/pull/140

    Add page about python type safety and type hints

    R: @aaltay 
    @dhalperi - I don't know how to force this page to be adapted for Python so the code blocks always show up. If you view it after toggling for Java, no code blocks show at all. Putting the Adapt for toggle on a Python only page seems clunky. I filed JIRA BEAM-1367 for this. Any ideas?


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/melap/incubator-beam-site python1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam-site/pull/140.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #140
    
----
commit 3ecc38655db872ff79a2b1fe9661d1efccf09629
Author: melissa <me...@google.com>
Date:   2017-01-31T23:17:40Z

    Add page about python type safety and type hints

----


> Need a way to force a page to be set to a specific language for code blocks
> ---------------------------------------------------------------------------
>
>                 Key: BEAM-1367
>                 URL: https://issues.apache.org/jira/browse/BEAM-1367
>             Project: Beam
>          Issue Type: Bug
>          Components: website
>            Reporter: Melissa Pashniak
>            Assignee: Davor Bonaci
>
> When you have a language specific page that only has code blocks consisting of that language and you are viewing it after toggling to a different language, there is no indication there are any code blocks on the page at all. Need a way to force a page to always be a specific language so the code blocks always show up.
> Repro:
> 1. Go to programming guide and adapt for Java
> 2. Go to a page that only has python code blocks, and there is no indication there are any code blocks at all. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)