Prechádzať zdrojové kódy

HUE-8161 [doc] Avoid breaking toc with title tags in ini example

Romain Rigaux 7 rokov pred
rodič
commit
b648631
2 zmenil súbory, kde vykonal 20 pridanie a 20 odobranie
  1. 8 8
      docs/admin-manual/manual.md
  2. 12 12
      docs/user-guide/user-guide.md

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

@@ -393,12 +393,12 @@ leaflet_tile_layer_attribution='Tiles © Esri — Source: Esri, i-cubed,
 We explained how to run Hue with NGINX serving the static files or under Apache. If you use another proxy, you might need to set these options:
 
 <pre>
-[desktop]
-# Enable X-Forwarded-Host header if the load balancer requires it.
-use_x_forwarded_host=false
+  [desktop]
+  # Enable X-Forwarded-Host header if the load balancer requires it.
+  use_x_forwarded_host=false
 
-# Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
-secure_proxy_ssl_header=false
+  # Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
+  secure_proxy_ssl_header=false
 </pre>
 
 ### Configuring SSL
@@ -438,9 +438,9 @@ When getting a bigger result set from Hive/Impala or bigger files like images fr
 the buffer size of SASL lib for thrift sasl communication.
 
 <pre>
-[desktop]
-# This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication (default 2 MB).
-sasl_max_buffer=2 * 1024 * 1024
+  [desktop]
+  # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication (default 2 MB).
+  sasl_max_buffer=2 * 1024 * 1024
 </pre>
 
 ### User Admin Configuration

+ 12 - 12
docs/user-guide/user-guide.md

@@ -262,22 +262,22 @@ To get things started, press the export icon, the bottom last element of the act
 
 Download and export options with limited scalability can be limited in the number of rows or bytes transferred using the following options respectively in your hue.ini:
 <pre>
-[beeswax]
-# A limit to the number of rows that can be downloaded from a query before it is truncated.
-# A value of -1 means there will be no limit.
-download_row_limit=-1
-
-# A limit to the number of bytes that can be downloaded from a query before it is truncated.
-# A value of -1 means there will be no limit.
-download_bytes_limit=-1
+  [beeswax]
+  # A limit to the number of rows that can be downloaded from a query before it is truncated.
+  # A value of -1 means there will be no limit.
+  download_row_limit=-1
+
+  # A limit to the number of bytes that can be downloaded from a query before it is truncated.
+  # A value of -1 means there will be no limit.
+  download_bytes_limit=-1
 </pre>
 
 In addition, it is possible to disable the download and export feature in the editor, dashboard, as well as in the file browser with the following option in your hue.ini:
 <pre>
-[desktop]
-# Global setting to allow or disable end user downloads in all Hue.
-# e.g. Query result in Editors and Dashboards, file in File Browser...
-enable_download=false
+  [desktop]
+  # Global setting to allow or disable end user downloads in all Hue.
+  # e.g. Query result in Editors and Dashboards, file in File Browser...
+  enable_download=false
 </pre>
 
 The download feature in the file browser can be disabled separately with the following options in your hue.ini: