[commit: haddock] ghc-head, master, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Use <details> element for collapsibles (#690) (e41c1cb)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:55:19 UTC 2017


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

On branches: ghc-head,master,wip/T14529,wip/revert-ttg-2017-11-20,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link       : http://git.haskell.org/haddock.git/commitdiff/e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf

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

commit e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf
Author: Tim Baumann <tim at timbaumann.info>
Date:   Mon Oct 9 18:33:09 2017 +0200

    Use <details> element for collapsibles (#690)
    
    * Remove unnecessary call to 'collapseSection'
    
    The call is unnecessary since there is no corresponding toggle for hiding the
    section of orphan instances.
    
    * Use <details> for collapsibles
    
    This makes them work even when JS is disabled. Closes #560.


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

e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf
 .../resources/html/Ocean.std-theme/ocean.css       |  30 +-
 haddock-api/resources/html/haddock-bundle.min.js   |   2 +-
 haddock-api/resources/html/js-src/cookies.ts       |  20 +
 .../resources/html/js-src/details-helper.ts        | 106 +++
 haddock-api/resources/html/js-src/init.ts          |   9 +-
 .../html/js-src/{haddock-util.ts => style-menu.ts} |  75 +-
 haddock-api/src/Haddock/Backends/Xhtml.hs          |  21 +-
 .../src/Haddock/Backends/Xhtml/DocMarkup.hs        |   6 +-
 haddock-api/src/Haddock/Backends/Xhtml/Layout.hs   |  14 +-
 haddock-api/src/Haddock/Backends/Xhtml/Utils.hs    |  35 +-
 html-test/ref/A.html                               |  76 +-
 html-test/ref/B.html                               |  56 +-
 html-test/ref/Bold.html                            |  18 +-
 html-test/ref/Bug1.html                            |  26 +-
 html-test/ref/Bug201.html                          |  24 +-
 html-test/ref/Bug253.html                          |  18 +-
 html-test/ref/Bug26.html                           |  62 +-
 html-test/ref/Bug294.html                          |  50 +-
 html-test/ref/Bug298.html                          |  48 +-
 html-test/ref/Bug3.html                            |  22 +-
 html-test/ref/Bug308.html                          |  24 +-
 html-test/ref/Bug308CrossModule.html               |  18 +-
 html-test/ref/Bug310.html                          |  38 +-
 html-test/ref/Bug313.html                          |  24 +-
 html-test/ref/Bug335.html                          |  44 +-
 html-test/ref/Bug387.html                          |  32 +-
 html-test/ref/Bug4.html                            |  22 +-
 html-test/ref/Bug6.html                            | 146 ++--
 html-test/ref/Bug613.html                          |  94 +-
 html-test/ref/Bug7.html                            |  72 +-
 html-test/ref/BugDeprecated.html                   |  80 +-
 html-test/ref/BugExportHeadings.html               |  80 +-
 html-test/ref/BundledPatterns.html                 | 150 ++--
 html-test/ref/BundledPatterns2.html                | 154 ++--
 html-test/ref/DeprecatedClass.html                 |  46 +-
 html-test/ref/DeprecatedData.html                  |  70 +-
 html-test/ref/DeprecatedFunction.html              |  32 +-
 html-test/ref/DeprecatedFunction2.html             |  22 +-
 html-test/ref/DeprecatedFunction3.html             |  22 +-
 html-test/ref/DeprecatedNewtype.html               |  48 +-
 html-test/ref/DeprecatedReExport.html              |  22 +-
 html-test/ref/DeprecatedRecord.html                |  52 +-
 html-test/ref/DeprecatedTypeFamily.html            |  48 +-
 html-test/ref/DeprecatedTypeSynonym.html           |  40 +-
 html-test/ref/Examples.html                        |  26 +-
 html-test/ref/Extensions.html                      |  18 +-
 html-test/ref/GADTRecords.html                     |  92 +-
 html-test/ref/Hash.html                            | 146 ++--
 html-test/ref/HiddenInstances.html                 |  86 +-
 html-test/ref/HiddenInstancesB.html                |  68 +-
 html-test/ref/Hyperlinks.html                      |  22 +-
 html-test/ref/IgnoreExports.html                   |  32 +-
 html-test/ref/Instances.html                       | 320 ++++---
 html-test/ref/Math.html                            |  22 +-
 html-test/ref/NamedDoc.html                        |  10 +-
 html-test/ref/Nesting.html                         |  72 +-
 html-test/ref/NoLayout.html                        |  22 +-
 html-test/ref/NonGreedy.html                       |  18 +-
 html-test/ref/Operators.html                       | 212 ++---
 html-test/ref/OrphanInstances.html                 |  22 +-
 html-test/ref/PR643.html                           |  18 +-
 html-test/ref/PR643_1.html                         |  18 +-
 html-test/ref/PatternSyns.html                     | 200 ++---
 html-test/ref/Properties.html                      |  26 +-
 html-test/ref/QuasiExpr.html                       |  40 +-
 html-test/ref/SpuriousSuperclassConstraints.html   |  30 +-
 html-test/ref/Test.html                            | 952 +++++++++++----------
 html-test/ref/Threaded.html                        |  22 +-
 html-test/ref/Threaded_TH.html                     |  18 +-
 html-test/ref/Ticket112.html                       |  18 +-
 html-test/ref/Ticket75.html                        |  36 +-
 html-test/ref/TitledPicture.html                   |  32 +-
 html-test/ref/TypeFamilies.html                    | 618 +++++++------
 html-test/ref/TypeFamilies2.html                   | 134 +--
 html-test/ref/Unicode.html                         |  22 +-
 75 files changed, 2933 insertions(+), 2537 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf


More information about the ghc-commits mailing list