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