Parcourir la source

HUE-8707 [doc] Add a footer with link to the page source on github

Romain Rigaux il y a 6 ans
Parent
commit
b52380c082
5 fichiers modifiés avec 33 ajouts et 8 suppressions
  1. 8 2
      docs/admin-manual/manual.md
  2. 11 0
      docs/css/docbook.css
  3. 1 5
      docs/index.txt
  4. 6 0
      docs/sdk/sdk.md
  5. 7 1
      docs/user-guide/user-guide.md

+ 8 - 2
docs/admin-manual/manual.md

@@ -77,7 +77,7 @@ tarball, you'll need these library development packages and tools installed on y
 
     brew install mysql maven gmp openssl libffi && brew cask install java8
 
-#### Install Xcode command line tools 
+#### Install Xcode command line tools
     sudo xcode-select --install
 
 #### Fix openssl errors
@@ -487,7 +487,7 @@ using a proper SSL Certificate.  Self-signed certificates don't
 work.
 </div>
 
-Note: The security vulnerability SWEET32 is also called Birthday attacks against TLS ciphers with 64bit block size and it is assigned CVE-2016-2183. This is due to legacy block ciphers 
+Note: The security vulnerability SWEET32 is also called Birthday attacks against TLS ciphers with 64bit block size and it is assigned CVE-2016-2183. This is due to legacy block ciphers
 having block size of 64 bits are vulnerable to a practical collision attack when used in CBC mode.
 
 DES/3DES are the only ciphers has block size of 64-bit. One way to config Hue not to use them:
@@ -1417,6 +1417,12 @@ your bug reports.
    </div>
 </div>
 
+
+<div class="row-fluid footer">
+  Documentation improvements? <a href="https://github.com/cloudera/hue/blob/master/docs/user-guide/user-guide.md">Feel free to edit this page on GitHub and send a pull request!</a>
+</div>
+
+
 <script src="../js/jquery.min.js"></script>
 <script src="../js/jquery.treed.js"></script>
 <script src="../js/jquery.highlight.js"></script>

+ 11 - 0
docs/css/docbook.css

@@ -308,6 +308,17 @@ pre {
   border-top: 3px solid #287DBD;
 }
 
+.footer {
+  position: fixed;
+  background-color: #FFF;
+  z-index: 1000;
+  padding-top: 15px;
+  padding-bottom: 10px;
+  padding-left: 20px;
+  bottom: 0;
+  border-top: 1px solid #287DBD;
+}
+
 .article {
   padding: 0 30px;
 }

+ 1 - 5
docs/index.txt

@@ -18,7 +18,7 @@ The link:user-guide/user-guide.html[user guide] has instructions about how to us
 
 SDK
 ---
-We encourage you to link:sdk/sdk.html[build or extend applications] within the Hue environment.
+It is encouraged to link:sdk/sdk.html[build or extend applications] within the Hue environment.
 
 Release Notes
 -------------
@@ -53,7 +53,3 @@ Release Notes
 * March 31, 2010 --- link:release-notes/release-notes-0.4.0.html[Version 0.4.0]
 * November 23, 2009 --- link:release-notes/release-notes-0.3.0.html[Version 0.3.0]
 * October 2, 2009 --- Version 0.2.0
-
-
-
-Documentation improvements? link:https://github.com/cloudera/hue/tree/master/docs[Feel free to send a pull request].

+ 6 - 0
docs/sdk/sdk.md

@@ -1294,6 +1294,12 @@ and greatest in build technologies.
    </div>
 </div>
 
+
+<div class="row-fluid footer">
+  Documentation improvements? <a href="https://github.com/cloudera/hue/blob/master/docs/user-guide/user-guide.md">Feel free to edit this page on GitHub and send a pull request!</a>
+</div>
+
+
 <script src="../js/jquery.min.js"></script>
 <script src="../js/jquery.treed.js"></script>
 <script src="../js/jquery.highlight.js"></script>

+ 7 - 1
docs/user-guide/user-guide.md

@@ -250,7 +250,7 @@ MapReduce or [Impala jobs](#impala-queries) that the query generated.
 
 ### Downloading and Exporting Query Results
 
-To get things started, press the export icon, the bottom last element of the action bar to the top left of the results. There are several ways you can export results of a query. 
+To get things started, press the export icon, the bottom last element of the action bar to the top left of the results. There are several ways you can export results of a query.
 
 ![image](images/note.jpg) Two of them offer great scalability:
 1.  Export to an empty folder on your cluster's file system. This exports the results using multiple files. In the export icon, choose Export and then All.
@@ -1493,6 +1493,12 @@ A basic read only version is done [HUE-951](https://issues.cloudera.org/browse/H
    </div>
 </div>
 
+
+<div class="row-fluid footer">
+  Documentation improvements? <a href="https://github.com/cloudera/hue/blob/master/docs/user-guide/user-guide.md">Feel free to edit this page on GitHub and send a pull request!</a>
+</div>
+
+
 <script src="../js/jquery.min.js"></script>
 <script src="../js/jquery.treed.js"></script>
 <script src="../js/jquery.highlight.js"></script>