[
https://issues.apache.org/jira/browse/BEAM-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643312#comment-15643312
]
ASF GitHub Bot commented on BEAM-902:
-------------------------------------
GitHub user mabdullah353 opened a pull request:
https://github.com/apache/incubator-beam-site/pull/70
[BEAM-902] Add runner toggles
Hi,
You can use runner in the following way.
> {:.runner-<name-of-your-runner-1>}
> '''
> your runner 1 code.
> {:.runner-<name-of-your-runner-2>}
> '''
> your runner 2 code.
And it will get converted to tabs, just like for programming languages.
I have updated the {src/get-started/quickstart.md} MarkDown as well.
<img width="1183" alt="screen shot 2016-11-07 at 11 49 20 am"
src="https://cloud.githubusercontent.com/assets/1429432/20048693/461f1842-a4e0-11e6-9186-280c72dbf035.png">
I have created class from the script, so that the same code can be used for
runner toggling as well.
Kindly review, it.
Thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mabdullah353/incubator-beam-site asf-site
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam-site/pull/70.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 #70
----
commit 3adf058a609b69636db925e8d0b7e39de807970d
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-02T04:04:41Z
[BEAM-752] Infrastructure for toggling code snippets in documentation
commit ffeb655ca69cdc7d85871b4db72900ef716d46e1
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-03T11:20:02Z
[BEAM-752] Fixed empty code nav and added ability to auto-detect languages
commit a227d72723bba5826b8fcd5462ef14c89521d4c4
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-03T11:40:07Z
[BEAM-752] Reverting back to default language if selected language has no
code
commit e1c62b51369383d450010a37bca924dd0c7360a4
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-03T13:10:21Z
[BEAM-752] Code refactored, and moved code block wrapper class name on top
commit d8a04c324abfa300299c6373e57a4fb90ebb1250
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-07T06:31:36Z
Merge branch 'asf-site' of https://github.com/apache/incubator-beam-site
into asf-site
commit dc4616aa34fd29e3b8d485d327777d9752464a68
Author: Abdullah Bashir <[email protected]>
Date: 2016-11-07T06:36:38Z
[BEAM-902] Added runner toggles
----
> Add runner toggles
> ------------------
>
> Key: BEAM-902
> URL: https://issues.apache.org/jira/browse/BEAM-902
> Project: Beam
> Issue Type: Sub-task
> Components: website
> Reporter: Frances Perry
> Assignee: Abdullah Bashir
>
> As discussed on pull/752, extend the language toggle support to be able to
> toggle commandlines between different runners.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)