Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14006#discussion_r69242197
  
    --- Diff: docs/_plugins/include_example.rb ---
    @@ -85,20 +85,20 @@ def select_lines(code)
             .select { |l, i| l.include? "$example off#{@snippet_label}$" }
             .map { |l, i| i }
     
    -      raise "Start indices amount is not equal to end indices amount, see 
#{@file}." \
    +      raise "Start indices amount is not equal to end indices amount, see 
#{@file}, #{@snippet_label}." \
    --- End diff --
    
    I'd prefer
    
    ```
    ... see #{@file} [labeled=#{@snippet_label}].
    ```
    
    Otherwise the label itself might be mistaken for a file path.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to