[commit: ghc] master: Fix "Glasgow Haskell Compiler <release> Users Guide" (f58176f)

git at git.haskell.org git at git.haskell.org
Tue Apr 18 00:35:37 UTC 2017


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

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

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

commit f58176fe731e0412a04239be620443d63f067adf
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Mon Apr 17 12:49:34 2017 -0400

    Fix "Glasgow Haskell Compiler <release> Users Guide"
    
    If you go to
    https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/index.html
    the window title has `<release>` in it.  I don't understand how it all
    works, but inspired by the line below which produces a correct string in
    the docs I just blindly changed it in the same way.  Cabal appears to
    have the same problem.
    
    Test Plan:
    it'd be nice if I could check the result
    on harbormaster, can I?
    
    Reviewers: thomie, bgamari, austin
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, simonmar
    
    Differential Revision: https://phabricator.haskell.org/D3458


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

f58176fe731e0412a04239be620443d63f067adf
 docs/users_guide/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py
index b48505c..8a4c18f 100644
--- a/docs/users_guide/conf.py
+++ b/docs/users_guide/conf.py
@@ -37,7 +37,7 @@ exclude_patterns = ['.build', "*.gen.rst"]
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
-html_title = "Glasgow Haskell Compiler <release> User's Guide"
+html_title = "Glasgow Haskell Compiler %s User's Guide" % release
 html_short_title = "GHC %s User's Guide" % release
 html_theme_path = ['.']
 html_theme = 'ghc-theme'



More information about the ghc-commits mailing list