Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 30258200C1C for ; Wed, 1 Feb 2017 02:40:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2EC44160B5F; Wed, 1 Feb 2017 01:40:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 799E0160B52 for ; Wed, 1 Feb 2017 02:40:02 +0100 (CET) Received: (qmail 90604 invoked by uid 500); 1 Feb 2017 01:40:01 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 90591 invoked by uid 99); 1 Feb 2017 01:40:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2017 01:40:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2FBFB189AEB for ; Wed, 1 Feb 2017 01:40:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id c7hrjNN2DZph for ; Wed, 1 Feb 2017 01:40:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A9F395F3FF for ; Wed, 1 Feb 2017 01:39:54 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0F694E0290 for ; Wed, 1 Feb 2017 01:39:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 895EF2528A for ; Wed, 1 Feb 2017 01:39:51 +0000 (UTC) Date: Wed, 1 Feb 2017 01:39:51 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1367) Need a way to force a page to be set to a specific language for code blocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 01:40:03 -0000 [ 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 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)