[commit: ghc] master: docs: add newline after '.. ghc-flag::' (c57d019)

git at git.haskell.org git at git.haskell.org
Wed Feb 10 14:21:10 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c57d019c2ab1055a854cc30752561e3bbcc6bc13/ghc

>---------------------------------------------------------------

commit c57d019c2ab1055a854cc30752561e3bbcc6bc13
Author: Sergei Trofimovich <siarheit at google.com>
Date:   Wed Feb 10 14:10:03 2016 +0000

    docs: add newline after '.. ghc-flag::'
    
    Noticed when looked through sphinx warnings:
        docs/users_guide/safe_haskell.rst:4:
            SEVERE: Duplicate ID: "ghc-flag-Issue"
    
    Signed-off-by: Sergei Trofimovich <siarheit at google.com>


>---------------------------------------------------------------

c57d019c2ab1055a854cc30752561e3bbcc6bc13
 docs/users_guide/safe_haskell.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/users_guide/safe_haskell.rst b/docs/users_guide/safe_haskell.rst
index c92062b..3914820 100644
--- a/docs/users_guide/safe_haskell.rst
+++ b/docs/users_guide/safe_haskell.rst
@@ -697,16 +697,19 @@ And one general flag:
 And three warning flags:
 
 .. ghc-flag:: -Wunsafe
+
     Issue a warning if the module being compiled is regarded to be
     unsafe. Should be used to check the safety type of modules when
     using safe inference.
 
 .. ghc-flag:: -Wsafe
+
     Issue a warning if the module being compiled is regarded to be safe.
     Should be used to check the safety type of modules when using safe
     inference.
 
 .. ghc-flag:: -Wtrustworthy-safe
+
     Issue a warning if the module being compiled is marked as
     -XTrustworthy but it could instead be marked as
     -XSafe , a more informative bound. Can be used to detect once a Safe Haskell



More information about the ghc-commits mailing list