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

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new fcdfc8cbb24e [SPARK-46437][FOLLOWUP] Update configuration.md to use 
include_api_gen
fcdfc8cbb24e is described below

commit fcdfc8cbb24e7d1f96c8c3c684ef476576797e17
Author: Nicholas Chammas <nicholas.cham...@gmail.com>
AuthorDate: Wed Jan 10 16:30:47 2024 +0900

    [SPARK-46437][FOLLOWUP] Update configuration.md to use include_api_gen
    
    ### What changes were proposed in this pull request?
    
    As part of #44630 I neglected to update some places that still use the 
following Liquid directive pattern:
    
    ```liquid
    {% for static_file in site.static_files %}
        {% if static_file.name == 'generated-agg-funcs-table.html' %}
            {% include_relative generated-agg-funcs-table.html %}
            {% break %}
        {% endif %}
    {% endfor %}
    ```
    
    This PR replaces all remaining instances of this pattern with the new 
`include_api_gen` Jekyll tag.
    
    ### Why are the changes needed?
    
    For consistency in how we build our docs.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually building and reviewing the configuration docs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #44663 from nchammas/configuration-include-api-gen.
    
    Authored-by: Nicholas Chammas <nicholas.cham...@gmail.com>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 docs/configuration.md | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/docs/configuration.md b/docs/configuration.md
index b45d647fde85..beb52c62d6c2 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -3302,9 +3302,6 @@ Spark subsystems.
 
 ### Spark SQL
 
-{% for static_file in site.static_files %}
-    {% if static_file.name == 'generated-runtime-sql-config-table.html' %}
-
 #### Runtime SQL Configuration
 
 Runtime SQL configurations are per-session, mutable Spark SQL configurations. 
They can be set with initial values by the config file
@@ -3312,13 +3309,7 @@ and command-line options with `--conf/-c` prefixed, or 
by setting `SparkConf` th
 Also, they can be set and queried by SET commands and rest to their initial 
values by RESET command,
 or by `SparkSession.conf`'s setter and getter methods in runtime.
 
-{% include_relative generated-runtime-sql-config-table.html %}
-        {% break %}
-    {% endif %}
-{% endfor %}
-
-{% for static_file in site.static_files %}
-    {% if static_file.name == 'generated-static-sql-config-table.html' %}
+{% include_api_gen generated-runtime-sql-config-table.html %}
 
 #### Static SQL Configuration
 
@@ -3326,11 +3317,7 @@ Static SQL configurations are cross-session, immutable 
Spark SQL configurations.
 and command-line options with `--conf/-c` prefixed, or by setting `SparkConf` 
that are used to create `SparkSession`.
 External users can query the static sql config values via `SparkSession.conf` 
or via set command, e.g. `SET spark.sql.extensions;`, but cannot set/unset them.
 
-{% include_relative generated-static-sql-config-table.html %}
-        {% break %}
-    {% endif %}
-{% endfor %}
-
+{% include_api_gen generated-static-sql-config-table.html %}
 
 ### Spark Streaming
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to