You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by pd...@apache.org on 2018/08/15 00:57:07 UTC
[incubator-openwhisk-website] branch master updated: replacing
remotefile with include (#308)
This is an automated email from the ASF dual-hosted git repository.
pdesai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-website.git
The following commit(s) were added to refs/heads/master by this push:
new 098c3ff replacing remotefile with include (#308)
098c3ff is described below
commit 098c3ff00a81875149dacc9124796f22a88e0887
Author: Priti Desai <pd...@us.ibm.com>
AuthorDate: Tue Aug 14 17:57:05 2018 -0700
replacing remotefile with include (#308)
---
{code => _includes/code}/Hello.java | 0
{code => _includes/code}/hello-with-params.js | 0
{code => _includes/code}/hello.go | 0
{code => _includes/code}/hello.js | 0
{code => _includes/code}/hello.php | 0
{code => _includes/code}/hello.py | 0
.../code}/manifest-for-helloJS-1.yaml | 0
.../code}/manifest-for-helloJS-2.yaml | 0
.../code}/manifest-for-helloPhp-1.yaml | 0
.../code}/manifest-for-helloPhp-2.yaml | 0
.../code}/manifest-for-helloPy-1.yaml | 0
.../code}/manifest-for-helloPy-2.yaml | 0
_layouts/documentation.html | 24 +++++++++++-----------
13 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/code/Hello.java b/_includes/code/Hello.java
similarity index 100%
rename from code/Hello.java
rename to _includes/code/Hello.java
diff --git a/code/hello-with-params.js b/_includes/code/hello-with-params.js
similarity index 100%
rename from code/hello-with-params.js
rename to _includes/code/hello-with-params.js
diff --git a/code/hello.go b/_includes/code/hello.go
similarity index 100%
rename from code/hello.go
rename to _includes/code/hello.go
diff --git a/code/hello.js b/_includes/code/hello.js
similarity index 100%
rename from code/hello.js
rename to _includes/code/hello.js
diff --git a/code/hello.php b/_includes/code/hello.php
similarity index 100%
rename from code/hello.php
rename to _includes/code/hello.php
diff --git a/code/hello.py b/_includes/code/hello.py
similarity index 100%
rename from code/hello.py
rename to _includes/code/hello.py
diff --git a/code/manifest-for-helloJS-1.yaml b/_includes/code/manifest-for-helloJS-1.yaml
similarity index 100%
rename from code/manifest-for-helloJS-1.yaml
rename to _includes/code/manifest-for-helloJS-1.yaml
diff --git a/code/manifest-for-helloJS-2.yaml b/_includes/code/manifest-for-helloJS-2.yaml
similarity index 100%
rename from code/manifest-for-helloJS-2.yaml
rename to _includes/code/manifest-for-helloJS-2.yaml
diff --git a/code/manifest-for-helloPhp-1.yaml b/_includes/code/manifest-for-helloPhp-1.yaml
similarity index 100%
rename from code/manifest-for-helloPhp-1.yaml
rename to _includes/code/manifest-for-helloPhp-1.yaml
diff --git a/code/manifest-for-helloPhp-2.yaml b/_includes/code/manifest-for-helloPhp-2.yaml
similarity index 100%
rename from code/manifest-for-helloPhp-2.yaml
rename to _includes/code/manifest-for-helloPhp-2.yaml
diff --git a/code/manifest-for-helloPy-1.yaml b/_includes/code/manifest-for-helloPy-1.yaml
similarity index 100%
rename from code/manifest-for-helloPy-1.yaml
rename to _includes/code/manifest-for-helloPy-1.yaml
diff --git a/code/manifest-for-helloPy-2.yaml b/_includes/code/manifest-for-helloPy-2.yaml
similarity index 100%
rename from code/manifest-for-helloPy-2.yaml
rename to _includes/code/manifest-for-helloPy-2.yaml
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index 1d49922..9588601 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -816,7 +816,7 @@ $ wsk list
<li style="list-style-type: decimal">Create a file named <i>hello.js</i>:</li>
<div class="terminal">
{% highlight javascript linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/hello.js %}
+{% include code/hello.js %}
{% endhighlight %}
</div>
<li style="list-style-type: decimal">Create an action called <i>helloJS</i> using <i>hello.js</i>:</li>
@@ -849,14 +849,14 @@ $ wsk list
<li>Create <i>manifest.yaml</i> with the following YAML content:</li>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloJS-1.yaml %}
+{% include code/manifest-for-helloJS-1.yaml %}
{% endhighlight %}
</div>
Or
<p></p>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloJS-2.yaml %}
+{% include code/manifest-for-helloJS-2.yaml %}
{% endhighlight %}
</div>
<li>Run deployment with <i>wskdeploy</i>:</li>
@@ -906,7 +906,7 @@ $ wsk list
<li style="list-style-type: decimal">Create a file named <i>hello.py</i>:</li>
<div class="terminal">
{% highlight python linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/hello.py %}
+{% include code/hello.py %}
{% endhighlight %}
</div>
<li style="list-style-type: decimal">Create an action called <i>helloPy</i> using <i>hello.py</i>:</li>
@@ -936,14 +936,14 @@ $ wsk list
<li>Create <i>manifest.yaml</i> with the following YAML content:</li>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloPy-1.yaml %}
+{% include code/manifest-for-helloPy-1.yaml %}
{% endhighlight %}
</div>
Or
<p></p>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloPy-2.yaml %}
+{% include code/manifest-for-helloPy-2.yaml %}
{% endhighlight %}
</div>
<li>Run deployment with <i>wskdeploy</i>:</li>
@@ -992,7 +992,7 @@ $ wsk list
<li style="list-style-type: decimal">Create a file named <i>hello.go</i>:</li>
<div class="terminal">
{% highlight go linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/hello.go %}
+{% include code/hello.go %}
{% endhighlight %}
</div>
<li style="list-style-type: decimal">Create an executable called <i>exec</i> using <i>hello.go</i>:</li>
@@ -1057,7 +1057,7 @@ $ zip exec.zip exec
<li style="list-style-type: decimal">Create a file named <i>Hello.java</i>:</li>
<div class="terminal">
{% highlight java linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/Hello.java %}
+{% include code/Hello.java %}
{% endhighlight %}
</div>
<li style="list-style-type: decimal">Compile <i>Hello.Java</i> into a JAR file <i>hello.jar</i> as follows</li>
@@ -1150,7 +1150,7 @@ $ jar cvf hello.jar Hello.class
<li style="list-style-type: decimal">Create a file named <i>hello.php</i>:</li>
<div class="terminal">
{% highlight php linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/hello.php %}
+{% include code/hello.php %}
{% endhighlight %}
</div>
<li style="list-style-type: decimal">Create an action called <i>helloPHP</i> using <i>hello.php</i>:</li>
@@ -1180,14 +1180,14 @@ $ jar cvf hello.jar Hello.class
<li>Create <i>manifest.yaml</i> with the following YAML content:</li>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloPhp-1.yaml %}
+{% include code/manifest-for-helloPhp-1.yaml %}
{% endhighlight %}
</div>
Or
<p></p>
<div class="terminal">
{% highlight yaml linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/manifest-for-helloPhp-2.yaml %}
+{% include code/manifest-for-helloPhp-2.yaml %}
{% endhighlight %}
</div>
<li>Run deployment with <i>wskdeploy</i>:</li>
@@ -1390,7 +1390,7 @@ $ jar cvf hello.jar Hello.class
<a href="#nodejs-actions">above</a> with the following <i>hello.js</i>.</li>
<div class="terminal">
{% highlight javascript linenos %}
-{% remotefile https://raw.githubusercontent.com/apache/incubator-openwhisk-website/master/code/hello-with-params.js %}
+{% include code/hello-with-params.js %}
{% endhighlight %}
</div>
<div class="terminal">