Duncan Coutts pushed to branch wip/dcoutts/issue-27105-stopTicker at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/src/Rules/Documentation.hs
    1 1
     {-# LANGUAGE GADTs #-}
    
    2
    +{-# OPTIONS_GHC -Wno-error=unused-top-binds #-}
    
    2 3
     
    
    3 4
     module Rules.Documentation (
    
    4 5
         -- * Rules
    
    ... ... @@ -81,21 +82,26 @@ needDocDeps = do
    81 82
     -- | Build all documentation
    
    82 83
     documentationRules :: Rules ()
    
    83 84
     documentationRules = do
    
    85
    +{-
    
    84 86
         buildDocumentationArchives
    
    85 87
         buildHtmlDocumentation
    
    86 88
         buildManPage
    
    87 89
         buildPdfDocumentation
    
    88 90
         buildSphinxInfoGuide
    
    89
    -
    
    91
    +-}
    
    90 92
         -- a phony rule that runs Haddock for "Haskell Hierarchical Libraries" and
    
    91 93
         -- the "GHC-API"
    
    92 94
         "docs-haddock" ~> do
    
    95
    +        return ()
    
    96
    +{-
    
    93 97
             root <- buildRoot
    
    94 98
             need [ root -/- pathIndex "libraries" ]
    
    95
    -
    
    99
    +-}
    
    96 100
         -- a phony rule that runs Haddock, builds the User's guide, builds
    
    97 101
         -- Haddock's manual, and builds man pages
    
    98 102
         "docs" ~> do
    
    103
    +        return ()
    
    104
    +{-
    
    99 105
             root <- buildRoot
    
    100 106
     
    
    101 107
             doctargets <- ghcDocs =<< flavour
    
    ... ... @@ -128,6 +134,7 @@ documentationRules = do
    128 134
     
    
    129 135
         where archiveTarget "libraries"   = Haddocks
    
    130 136
               archiveTarget _             = SphinxHTML
    
    137
    +-}
    
    131 138
     
    
    132 139
     -- | Check Sphinx log for undefined reference target errors. Ideally we would
    
    133 140
     -- use sphinx's @-W@ flag here but unfortunately it also turns syntax