You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/05/28 14:20:33 UTC

[royale-docs] branch master updated: easy linking to edit page in github

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 2970f49  easy linking to edit page in github
2970f49 is described below

commit 2970f491fda20d8876e5df1790354282531893b3
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue May 28 16:20:26 2019 +0200

    easy linking to edit page in github
---
 _layouts/docpage.html   |  4 ++++
 _sass/royale-theme.sass | 14 ++++++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index ceee234..8b4204b 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -80,6 +80,10 @@ limitations under the License.
   <div class="toc_and_doc">
     <div class="content" id="content">
       {{content}}
+
+      <div class="bottom-links">
+        <a href="https://github.com/apache/royale-docs/edit/master/{{ page.path }}" target="_blank">Edit this page</a>
+      </div>
     </div>
     <div class="toc" id="toc">
       
diff --git a/_sass/royale-theme.sass b/_sass/royale-theme.sass
index 9bd4132..6af06a9 100644
--- a/_sass/royale-theme.sass
+++ b/_sass/royale-theme.sass
@@ -341,10 +341,16 @@
 	min-width: 0
 	width: 760px
 
-.content h1 + p 
-	color: #4393c3
-	font-weight: 400
-	font-size: 20px
+	h1 + p 
+		color: #4393c3
+		font-weight: 400
+		font-size: 20px
+
+	.bottom-links
+		margin-top: 60px
+
+		a
+			background-color: rgba(104, 223, 255, 0)
 
 .menu_div, .menu_div2 
 	margin-left: 15px