forked from ballerina-platform/ballerina-dev-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ballerina-platform#107 from Thimuth/sync_prod
Sync prod
- Loading branch information
Showing
1,899 changed files
with
137,984 additions
and
188,639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
|
||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="{{ page.description }}"> | ||
<meta name="author" content="WSO2, Inc."> | ||
<meta name="keywords" content="{{ page.keywords }}" /> | ||
<link rel="shortcut icon" href="/img/favicon.ico"> | ||
<title>{{ page.title }}</title> | ||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-92163714-2"></script> | ||
<!--FB--> | ||
<meta property="og:type" content="article" /> | ||
<meta property="og:title" content="Ballerina - {{ page.title }}" /> | ||
<meta property="og:description" content="{{ page.description }}" /> | ||
<meta property="og:image" content="/img/ballerina-sm-2.jpg" /> | ||
<!--TWITTER--> | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:site" content="@ballerinalang"> | ||
<meta name="twitter:creator" content="@ballerinalang"> | ||
<meta name="twitter:title" content="Ballerina"> | ||
<meta name="twitter:description" content="{{ page.description }}"> | ||
<meta name="twitter:image" content="/img/ballerina-sm-2.jpg"> | ||
<meta name="twitter:text:description" content="{{ page.description }}"> | ||
<meta name="twitter:card" content="summary_large_image"> | ||
<meta name="twitter:image:width" content="610"> | ||
<!--LINKED IN --> | ||
<meta property='og:title' content="Ballerina"/> | ||
<meta property='og:image' content="/img/ballerina-sm-2.jpg"/> | ||
<meta property='og:description' content="{{ page.description }}"/> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
gtag('config', 'UA-92163714-2'); | ||
</script> | ||
<!-- Google Tag Manager --> | ||
<script> | ||
(function(w, d, s, l, i) { | ||
w[l] = w[l] || []; | ||
w[l].push({ | ||
'gtm.start': new Date().getTime(), | ||
event: 'gtm.js' | ||
}); | ||
var f = d.getElementsByTagName(s)[0], | ||
j = d.createElement(s), | ||
dl = l != 'dataLayer' ? '&l=' + l : ''; | ||
j.async = true; | ||
j.src = | ||
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; | ||
f.parentNode.insertBefore(j, f); | ||
})(window, document, 'script', 'dataLayer', 'GTM-PSL2TX4'); | ||
</script> | ||
<!-- End Google Tag Manager --> | ||
|
||
<!--copy to clipboard lib--> | ||
<script src="/js/clipboard.js-2.0.0/clipboard.min.js"></script> | ||
|
||
<script src="//code.jquery.com/jquery-3.3.1.min.js"></script> | ||
<script> | ||
var base_url = ""; | ||
</script> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
<!-- Optional theme --> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | ||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="https://use.typekit.net/son4ymv.css"> | ||
|
||
<script type="text/javascript" src="/js/highlight.pack.js"></script> | ||
|
||
<script src="/js/ballerina-common.js"></script> | ||
<link rel=stylesheet href="/css/ballerina-io.css"> | ||
<link rel=stylesheet href="/css/ballerina-io-bbe.css"> | ||
<link rel="stylesheet" href="/css/bbe-page.css"> | ||
<script> | ||
// Current page data | ||
var mkdocs_page_name = '"Home"'.replace(/^"|"$/g, ''); | ||
var mkdocs_page_input_path = '"index.md"'.replace(/^"|"$/g, ''); | ||
var mkdocs_page_url = '"/"'.replace(/^"|"$/g, ''); | ||
var base_download_url = 'https://product-dist.ballerina.io/downloads'; | ||
var nightly_download_url = 'https://product-dist.ballerina.io/nightly'; | ||
var dev_download_url = 'https://product-dist.ballerina.io/dev'; | ||
var archived_versions_json = 'https://product-dist.ballerina.io/downloads/archived_releases.json'; | ||
var releaseNoteFilename = 'RELEASE_NOTE.html'; | ||
var nightly_versions_json = 'https://product-dist.ballerina.io/nightly/nightly_release.json'; | ||
var dev_versions_json = 'https://product-dist.ballerina.io/dev/dev_release.json'; | ||
var latest_versions_json = 'https://product-dist.ballerina.io/downloads/latest_release.json?982'; | ||
var release_notes_versions_json = 'https://product-dist.ballerina.io/downloads/release_notes_versions.json'; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
<div id="iBallerinaFooter" class="row cBallerina-io-White-row"></div> | ||
<div id="iBallerinaFooter" class="row cBallerina-io-White-row"> | ||
<div class="container"> | ||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3 cBallerina-io-left-col cBallerinaFooterLinks"> | ||
<ul> | ||
<li><a class="cBioFooterLink" href="/downloads">Download</a></li> | ||
<li><a class="cBioFooterLink" href="https://github.com/ballerina-lang/ballerina/blob/master/LICENSE">Code License</a></li> | ||
<li><a class="cBioFooterLink" href="/license-of-site">Site License</a></li> | ||
<li><a class="cBioFooterLink" href="/terms-of-service">TERMS OF SERVICE</a></li> | ||
<li><a class="cBioFooterLink" href="/privacy-policy">PRIVACY POLICY</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3 cBallerina-io-middle-col cBallerinaFooterSignUp"> | ||
<div class="cSocialmedia"> | ||
<ul> | ||
<li> | ||
<a class="cBioFooterLink" href="https://github.com/ballerina-platform" target="_blank"><img src="/img/github.svg"/></a> | ||
</li> | ||
<li><a class="cBioFooterLink" href="https://stackoverflow.com/questions/tagged/ballerina" target="_blank"><img src="/img/stackoverflow.svg"/></a></li> | ||
<li><a class="cBioFooterLink" href="https://twitter.com/ballerinalang" target="_blank"><img src="/img/twitter.svg"/></a></li> | ||
<li><a class="cBioFooterLink" href="/community/slack/"><img src="/img/slack.svg"/></a></li> | ||
</ul> | ||
<div class="pdframe"></div> | ||
</div> | ||
</div> | ||
<div class="col-xs-12 col-sm-10 col-md-6 col-lg-6 cBallerina-io-right-col"> | ||
<p>In the creation of Ballerina, we were inspired by so many technologies. Thank you to all that have come before us (and forgive us if we missed one): Java, Go, C, C++, D, Rust, Haskell, Kotlin, Dart, TypeScript, JavaScript, Python, Perl, Flow, Swift, Elm, RelaxNG, NPM, Crates, Maven, Gradle, Kubernetes, Docker, Envoy, Markdown, GitHub and WSO2.</p></div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,44 @@ | ||
<div class="row cBallerina-io-Nav" id="iMainNavigation"></div> | ||
<div class="row cBallerina-io-Nav" id="iMainNavigation"> | ||
<div class="container"> | ||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> | ||
<nav class="navbar"> | ||
<div> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" | ||
data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | ||
<span class="sr-only">☰</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="cMobileLogo" href="/"><img src="/img/ballerina-logo.svg" alt="Ballerina"/></a> | ||
</div> | ||
<div id="navbar" class="collapse navbar-collapse"> | ||
<ul class="nav navbar-nav cTopNav"> | ||
<li class="active toctree-l1" id="learnli"><a class="cBioTopLink" href="/learn">Learn</a> | ||
</li> | ||
<li class="active toctree-l1" id="Eventsli"><a class="cBioTopLink" href="/learn/events">Events</a> | ||
</li> | ||
<li class="toctree-l1"><a class="cBioTopLink" href="https://central.ballerina.io/" | ||
target="_blank">Central</a></li> | ||
<li class="toctree-l1" id="openli"><a class="cBioTopLink" href="/community">Community</a> | ||
</li> | ||
<li class="toctree-l1" id="helpli"><a class="cBioTopLink" href="https://blog.ballerina.io">Blog</a> | ||
</li> | ||
<li class="cVersionItem"> | ||
<div class="cVersionContainer"> | ||
<lable class="cVlable">Version</lable> | ||
<select name="versions" id="versions" class="select-css"> | ||
<option value="v1-1">1.1</option> | ||
<option value="v1-0">1.0</option> | ||
<option value="v0-991">0.991</option> | ||
</select> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | ||
|
||
<title>API Documentation</title> | ||
<script src="/js/jquery.min.js"></script> | ||
<!-- BIO THEME START --> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
<!-- Optional theme --> | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | ||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
|
||
<script type="text/javascript" src="/js/ballerina-common.js"></script> | ||
<link rel="stylesheet" href="/css/ballerina-io.css"> | ||
<link rel="stylesheet" href="/css/ballerina-io-docs.css"> | ||
<link rel="stylesheet" href="/css/ballerina-io-api-new.css"> | ||
|
||
<style> | ||
.line-numbers-wrap { | ||
display: none; | ||
} | ||
</style> | ||
<!-- BIO THEME END --> | ||
</head> | ||
|
||
|
||
<body class="cBallerina-io pushable"> | ||
{% include nav.html %} | ||
{{ content }} | ||
{% include ballerina-footer.html %} | ||
<script> | ||
$(document) | ||
.ready(function() { | ||
|
||
// create sidebar and attach to menu open | ||
$('.ui.sidebar') | ||
.sidebar('attach events', '.toc.item') | ||
; | ||
|
||
}) | ||
; | ||
|
||
let mainNavLinks = document.querySelectorAll(".primary-list.module ul li a"); | ||
let mainSections = document.querySelectorAll(".main-wrapper section.method-content"); | ||
|
||
let lastId; | ||
let cur = []; | ||
|
||
let contentWrapper = document.querySelector(".content-wrapper"); | ||
contentWrapper.addEventListener("scroll", event => { | ||
let fromTop = contentWrapper.scrollTop; | ||
|
||
mainNavLinks.forEach(link => { | ||
let section = document.querySelector("#" + link.attributes.getNamedItem("data").textContent); | ||
|
||
if ( | ||
section.offsetTop <= fromTop && | ||
section.offsetTop + section.offsetHeight > fromTop | ||
) { | ||
link.classList.add("current"); | ||
} else { | ||
link.classList.remove("current"); | ||
} | ||
}); | ||
}); | ||
|
||
</script> | ||
<script> | ||
window.onload = (event) => { | ||
ballerinaHighlighter.highlightSnippets(); | ||
}; | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
|
||
|
||
<!DOCTYPE html> | ||
<html class="no-js"> | ||
<head> | ||
{% include ballerina-example-head.html %} | ||
</head> | ||
<body class="cBallerina-io"> | ||
{% include nav.html %} | ||
<div class="row cBallerina-io-Gray-row"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 cBallerina-io-Home-Middle-col"> | ||
<div class="col-xs-12 col-sm-12" style="padding: 0;"> | ||
<div class="col-md-12 col-lg-10 cBallerina-io-breadcrumbs"> | ||
{% include nav-breadcrumbs.html %} | ||
<div class="cVersionContainer"></div> | ||
</div> | ||
<div class="col-md-12 col-lg-2 cBallerina-io-breadcrumbs"> | ||
<ul class="wy-breadcrumbs"> | ||
<li class="wy-breadcrumbs-aside"> | ||
<a class="icon icon-github" target="_blank" href="https://www.github.com/{{ site.github_username }}/{{ site.git_repo }}/blob/master/{{ page.path }}">Edit on GitHub</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="cBlallerina-io-docs-content-container"> | ||
<div class="wy-nav-content"> | ||
<div class="rst-content"> | ||
<div role="main"> | ||
<div class="section"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% include ballerina-footer.html %} | ||
<script src="/js/theme.js"></script> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
var gitstar = '<iframe id="iGitStarIframe" src="https://ghbtns.com/github-btn.html?user=ballerina-platform&repo=ballerina-lang&type=star&count=true&size=small" frameborder="0" scrolling="0"></iframe>'; | ||
$('[data-button="iGitStarText"]').replaceWith(gitstar); | ||
|
||
var gitwatch = '<iframe id="iGitWatchIframe" src="https://ghbtns.com/github-btn.html?user=ballerina-platform&repo=ballerina-lang&type=watch&count=true&size=lsmalle&v=2" frameborder="0" scrolling="0"></iframe>'; | ||
$('[data-button="iGitWatchText"]').replaceWith(gitwatch); | ||
|
||
}); | ||
</script> | ||
|
||
<style> | ||
.cGitButtonContainer { | ||
display: inline-block; | ||
width: 100%; | ||
margin-bottom: 0px; | ||
} | ||
|
||
#iGitStarText { | ||
height: 20px; | ||
float: left; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
#iGitStarIframe , #iGitWatchIframe { | ||
height: 20px; | ||
width: 100px; | ||
float: left; | ||
} | ||
</style> | ||
|
||
</body> | ||
</html> | ||
|
Oops, something went wrong.