From 1c1c4001cf7d2167e545d88bd58f97a71778621b Mon Sep 17 00:00:00 2001 From: NunoAlexandre Date: Tue, 26 Dec 2017 21:23:49 +0100 Subject: Update html test reference files --- html-test/ref/Math.html | 1 + 1 file changed, 1 insertion(+) (limited to 'html-test/ref/Math.html') diff --git a/html-test/ref/Math.html b/html-test/ref/Math.html index 71079bdd..ea602266 100644 --- a/html-test/ref/Math.html +++ b/html-test/ref/Math.html @@ -4,6 +4,7 @@ />Math Date: Sun, 4 Feb 2018 13:11:48 +0100 Subject: Update html-test reference files The package name element in the package-header is now a div instead of a paragraph, and it is now above the menu ul.links instead of below. --- html-test/ref/A.html | 8 ++++---- html-test/ref/B.html | 8 ++++---- html-test/ref/Bold.html | 6 +++--- html-test/ref/Bug1.html | 6 +++--- html-test/ref/Bug195.html | 6 +++--- html-test/ref/Bug2.html | 6 +++--- html-test/ref/Bug201.html | 6 +++--- html-test/ref/Bug253.html | 6 +++--- html-test/ref/Bug26.html | 6 +++--- html-test/ref/Bug280.html | 6 +++--- html-test/ref/Bug294.html | 6 +++--- html-test/ref/Bug298.html | 6 +++--- html-test/ref/Bug3.html | 6 +++--- html-test/ref/Bug308.html | 6 +++--- html-test/ref/Bug308CrossModule.html | 6 +++--- html-test/ref/Bug310.html | 6 +++--- html-test/ref/Bug313.html | 6 +++--- html-test/ref/Bug335.html | 6 +++--- html-test/ref/Bug387.html | 6 +++--- html-test/ref/Bug4.html | 6 +++--- html-test/ref/Bug546.html | 6 +++--- html-test/ref/Bug548.html | 6 +++--- html-test/ref/Bug6.html | 6 +++--- html-test/ref/Bug613.html | 6 +++--- html-test/ref/Bug647.html | 6 +++--- html-test/ref/Bug679.html | 7 ++++--- html-test/ref/Bug7.html | 6 +++--- html-test/ref/Bug8.html | 6 +++--- html-test/ref/Bug85.html | 6 +++--- html-test/ref/BugDeprecated.html | 6 +++--- html-test/ref/BugExportHeadings.html | 6 +++--- html-test/ref/Bugs.html | 6 +++--- html-test/ref/BundledPatterns.html | 6 +++--- html-test/ref/BundledPatterns2.html | 6 +++--- html-test/ref/ConstructorPatternExport.html | 6 +++--- html-test/ref/CrossPackageDocs.html | 4 ++-- html-test/ref/DeprecatedClass.html | 6 +++--- html-test/ref/DeprecatedData.html | 6 +++--- html-test/ref/DeprecatedFunction.html | 6 +++--- html-test/ref/DeprecatedFunction2.html | 6 +++--- html-test/ref/DeprecatedFunction3.html | 6 +++--- html-test/ref/DeprecatedModule.html | 6 +++--- html-test/ref/DeprecatedModule2.html | 6 +++--- html-test/ref/DeprecatedNewtype.html | 6 +++--- html-test/ref/DeprecatedReExport.html | 6 +++--- html-test/ref/DeprecatedRecord.html | 6 +++--- html-test/ref/DeprecatedTypeFamily.html | 6 +++--- html-test/ref/DeprecatedTypeSynonym.html | 6 +++--- html-test/ref/DuplicateRecordFields.html | 6 +++--- html-test/ref/Examples.html | 6 +++--- html-test/ref/Extensions.html | 6 +++--- html-test/ref/FunArgs.html | 6 +++--- html-test/ref/GADTRecords.html | 6 +++--- html-test/ref/Hash.html | 6 +++--- html-test/ref/HiddenInstances.html | 6 +++--- html-test/ref/HiddenInstancesB.html | 6 +++--- html-test/ref/Hyperlinks.html | 6 +++--- html-test/ref/IgnoreExports.html | 6 +++--- html-test/ref/ImplicitParams.html | 6 +++--- html-test/ref/Instances.html | 6 +++--- html-test/ref/Math.html | 6 +++--- html-test/ref/Minimal.html | 6 +++--- html-test/ref/ModuleWithWarning.html | 6 +++--- html-test/ref/NamedDoc.html | 6 +++--- html-test/ref/Nesting.html | 6 +++--- html-test/ref/NoLayout.html | 6 +++--- html-test/ref/NonGreedy.html | 6 +++--- html-test/ref/Operators.html | 6 +++--- html-test/ref/OrphanInstances.html | 6 +++--- html-test/ref/OrphanInstancesClass.html | 6 +++--- html-test/ref/OrphanInstancesType.html | 6 +++--- html-test/ref/PR643.html | 6 +++--- html-test/ref/PR643_1.html | 6 +++--- html-test/ref/PatternSyns.html | 6 +++--- html-test/ref/PromotedTypes.html | 6 +++--- html-test/ref/Properties.html | 6 +++--- html-test/ref/PruneWithWarning.html | 6 +++--- html-test/ref/QuasiExpr.html | 6 +++--- html-test/ref/QuasiQuote.html | 6 +++--- html-test/ref/SpuriousSuperclassConstraints.html | 6 +++--- html-test/ref/TH.html | 6 +++--- html-test/ref/TH2.html | 6 +++--- html-test/ref/Table.html | 6 +++--- html-test/ref/Test.html | 6 +++--- html-test/ref/Threaded.html | 6 +++--- html-test/ref/Threaded_TH.html | 6 +++--- html-test/ref/Ticket112.html | 6 +++--- html-test/ref/Ticket61.html | 6 +++--- html-test/ref/Ticket75.html | 6 +++--- html-test/ref/TitledPicture.html | 6 +++--- html-test/ref/TypeFamilies.html | 6 +++--- html-test/ref/TypeFamilies2.html | 6 +++--- html-test/ref/TypeOperators.html | 6 +++--- html-test/ref/Unicode.html | 6 +++--- html-test/ref/Visible.html | 6 +++--- 95 files changed, 287 insertions(+), 286 deletions(-) (limited to 'html-test/ref/Math.html') diff --git a/html-test/ref/A.html b/html-test/ref/A.html index 537a7bac..9e41e154 100644 --- a/html-test/ref/A.html +++ b/html-test/ref/A.html @@ -13,7 +13,9 @@ >
+> \ No newline at end of file diff --git a/html-test/ref/B.html b/html-test/ref/B.html index 1d7d436c..9c2a9c83 100644 --- a/html-test/ref/B.html +++ b/html-test/ref/B.html @@ -13,7 +13,9 @@ >
+> \ No newline at end of file diff --git a/html-test/ref/Bold.html b/html-test/ref/Bold.html index 276e7b23..9c684aa5 100644 --- a/html-test/ref/Bold.html +++ b/html-test/ref/Bold.html @@ -13,7 +13,9 @@ >
Bug679
 

 

Date: Mon, 5 Feb 2018 21:35:22 +0100 Subject: Add an initial-scale property to all haddock pages This solves an issue reported about the content looking incredibly small on mobile devices. --- haddock-api/src/Haddock/Backends/Xhtml.hs | 5 +++-- html-test/ref/A.html | 1 + html-test/ref/B.html | 1 + html-test/ref/Bold.html | 1 + html-test/ref/Bug1.html | 1 + html-test/ref/Bug195.html | 1 + html-test/ref/Bug2.html | 1 + html-test/ref/Bug201.html | 1 + html-test/ref/Bug253.html | 1 + html-test/ref/Bug26.html | 1 + html-test/ref/Bug280.html | 1 + html-test/ref/Bug294.html | 1 + html-test/ref/Bug298.html | 1 + html-test/ref/Bug3.html | 1 + html-test/ref/Bug308.html | 1 + html-test/ref/Bug308CrossModule.html | 1 + html-test/ref/Bug310.html | 1 + html-test/ref/Bug313.html | 1 + html-test/ref/Bug335.html | 1 + html-test/ref/Bug387.html | 1 + html-test/ref/Bug4.html | 1 + html-test/ref/Bug546.html | 1 + html-test/ref/Bug548.html | 1 + html-test/ref/Bug6.html | 1 + html-test/ref/Bug613.html | 1 + html-test/ref/Bug647.html | 1 + html-test/ref/Bug679.html | 1 + html-test/ref/Bug7.html | 1 + html-test/ref/Bug8.html | 1 + html-test/ref/Bug85.html | 1 + html-test/ref/BugDeprecated.html | 1 + html-test/ref/BugExportHeadings.html | 1 + html-test/ref/Bugs.html | 1 + html-test/ref/BundledPatterns.html | 1 + html-test/ref/BundledPatterns2.html | 1 + html-test/ref/ConstructorPatternExport.html | 1 + html-test/ref/DeprecatedClass.html | 1 + html-test/ref/DeprecatedData.html | 1 + html-test/ref/DeprecatedFunction.html | 1 + html-test/ref/DeprecatedFunction2.html | 1 + html-test/ref/DeprecatedFunction3.html | 1 + html-test/ref/DeprecatedModule.html | 1 + html-test/ref/DeprecatedModule2.html | 1 + html-test/ref/DeprecatedNewtype.html | 1 + html-test/ref/DeprecatedReExport.html | 1 + html-test/ref/DeprecatedRecord.html | 1 + html-test/ref/DeprecatedTypeFamily.html | 1 + html-test/ref/DeprecatedTypeSynonym.html | 1 + html-test/ref/DuplicateRecordFields.html | 1 + html-test/ref/Examples.html | 1 + html-test/ref/Extensions.html | 1 + html-test/ref/FunArgs.html | 1 + html-test/ref/GADTRecords.html | 1 + html-test/ref/Hash.html | 1 + html-test/ref/HiddenInstances.html | 1 + html-test/ref/HiddenInstancesB.html | 1 + html-test/ref/Hyperlinks.html | 1 + html-test/ref/IgnoreExports.html | 1 + html-test/ref/ImplicitParams.html | 1 + html-test/ref/Instances.html | 1 + html-test/ref/Math.html | 1 + html-test/ref/Minimal.html | 1 + html-test/ref/ModuleWithWarning.html | 1 + html-test/ref/NamedDoc.html | 1 + html-test/ref/Nesting.html | 1 + html-test/ref/NoLayout.html | 1 + html-test/ref/NonGreedy.html | 1 + html-test/ref/Operators.html | 1 + html-test/ref/OrphanInstances.html | 1 + html-test/ref/OrphanInstancesClass.html | 1 + html-test/ref/OrphanInstancesType.html | 1 + html-test/ref/PR643.html | 1 + html-test/ref/PR643_1.html | 1 + html-test/ref/PatternSyns.html | 1 + html-test/ref/PromotedTypes.html | 1 + html-test/ref/Properties.html | 1 + html-test/ref/PruneWithWarning.html | 1 + html-test/ref/QuasiExpr.html | 1 + html-test/ref/QuasiQuote.html | 1 + html-test/ref/SpuriousSuperclassConstraints.html | 1 + html-test/ref/TH.html | 1 + html-test/ref/TH2.html | 1 + html-test/ref/Table.html | 1 + html-test/ref/Test.html | 1 + html-test/ref/Threaded.html | 1 + html-test/ref/Threaded_TH.html | 1 + html-test/ref/Ticket112.html | 1 + html-test/ref/Ticket61.html | 1 + html-test/ref/Ticket75.html | 1 + html-test/ref/TitledPicture.html | 1 + html-test/ref/TypeFamilies.html | 1 + html-test/ref/TypeFamilies2.html | 1 + html-test/ref/TypeOperators.html | 1 + html-test/ref/Unicode.html | 1 + html-test/ref/Visible.html | 1 + 95 files changed, 97 insertions(+), 2 deletions(-) (limited to 'html-test/ref/Math.html') diff --git a/haddock-api/src/Haddock/Backends/Xhtml.hs b/haddock-api/src/Haddock/Backends/Xhtml.hs index e4a0137e..f589e4c9 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml.hs @@ -32,7 +32,7 @@ import Haddock.Types import Haddock.Version import Haddock.Utils import Haddock.Utils.Json -import Text.XHtml hiding ( name, title, p, quote ) +import Text.XHtml hiding ( title, p, quote ) import Haddock.GhcUtils import Control.Monad ( when, unless ) @@ -121,7 +121,8 @@ copyHtmlBits odir libdir themes withQuickjump = do headHtml :: String -> Themes -> Maybe String -> Html headHtml docTitle themes mathjax_url = header << [ - meta ! [httpequiv "Content-Type", content "text/html; charset=UTF-8"], + meta ! [ httpequiv "Content-Type", content "text/html; charset=UTF-8"], + meta ! [ name "viewport", content "width=device-width, initial-scale=1"], thetitle << docTitle, styleSheet themes, thelink ! [ rel "stylesheet", thetype "text/css", href quickJumpCssFile] << noHtml, diff --git a/html-test/ref/A.html b/html-test/ref/A.html index 9e41e154..31885479 100644 --- a/html-test/ref/A.html +++ b/html-test/ref/A.html @@ -1,6 +1,7 @@ ABBoldBug1Bug195Bug2Bug201Bug253Bug26Bug280Bug294Bug298Bug3Bug308Bug308CrossModuleBug310Bug313Bug335Bug387Bug4Bug546Bug548Bug6Bug613Bug647Bug679Bug7Bug8Bug85BugDeprecatedBugExportHeadingsBugsBundledPatternsBundledPatterns2ConstructorPatternExportDeprecatedClassDeprecatedDataDeprecatedFunctionDeprecatedFunction2DeprecatedFunction3DeprecatedModuleDeprecatedModule2DeprecatedNewtypeDeprecatedReExportDeprecatedRecordDeprecatedTypeFamilyDeprecatedTypeSynonymDuplicateRecordFieldsExamplesExtensionsFunArgsGADTRecordsHashHiddenInstancesHiddenInstancesBHyperlinksIgnoreExportsImplicitParamsInstancesMathMinimalModuleWithWarningNamedDocNestingNoLayoutNonGreedyOperatorsOrphanInstancesOrphanInstancesClassOrphanInstancesTypePR643PR643_1PatternSynsPromotedTypesPropertiesPruneWithWarningQuasiExprQuasiQuoteSpuriousSuperclassConstraintsTHTH2TableTestThreadedThreaded_THTicket112Ticket61Ticket75TitledPictureTypeFamiliesTypeFamilies2TypeOperatorsUnicodeVisible Date: Wed, 21 Mar 2018 11:37:36 +0100 Subject: html-test --accept --- html-test/ref/A.html | 2 +- html-test/ref/Bold.html | 2 +- html-test/ref/Bug1.html | 2 +- html-test/ref/Bug195.html | 2 +- html-test/ref/Bug2.html | 2 +- html-test/ref/Bug201.html | 2 +- html-test/ref/Bug253.html | 2 +- html-test/ref/Bug26.html | 2 +- html-test/ref/Bug280.html | 2 +- html-test/ref/Bug294.html | 2 +- html-test/ref/Bug298.html | 2 +- html-test/ref/Bug3.html | 2 +- html-test/ref/Bug308.html | 2 +- html-test/ref/Bug308CrossModule.html | 2 +- html-test/ref/Bug310.html | 2 +- html-test/ref/Bug313.html | 2 +- html-test/ref/Bug335.html | 2 +- html-test/ref/Bug387.html | 2 +- html-test/ref/Bug4.html | 2 +- html-test/ref/Bug458.html | 10 ++++++---- html-test/ref/Bug546.html | 2 +- html-test/ref/Bug548.html | 2 +- html-test/ref/Bug6.html | 2 +- html-test/ref/Bug613.html | 2 +- html-test/ref/Bug647.html | 2 +- html-test/ref/Bug679.html | 2 +- html-test/ref/Bug7.html | 2 +- html-test/ref/Bug8.html | 2 +- html-test/ref/Bug85.html | 2 +- html-test/ref/BugDeprecated.html | 2 +- html-test/ref/BugExportHeadings.html | 2 +- html-test/ref/Bugs.html | 2 +- html-test/ref/BundledPatterns.html | 2 +- html-test/ref/BundledPatterns2.html | 2 +- html-test/ref/ConstructorPatternExport.html | 2 +- html-test/ref/DeprecatedClass.html | 2 +- html-test/ref/DeprecatedData.html | 2 +- html-test/ref/DeprecatedFunction.html | 2 +- html-test/ref/DeprecatedFunction2.html | 2 +- html-test/ref/DeprecatedFunction3.html | 2 +- html-test/ref/DeprecatedModule.html | 2 +- html-test/ref/DeprecatedModule2.html | 2 +- html-test/ref/DeprecatedNewtype.html | 2 +- html-test/ref/DeprecatedReExport.html | 2 +- html-test/ref/DeprecatedRecord.html | 2 +- html-test/ref/DeprecatedTypeFamily.html | 2 +- html-test/ref/DeprecatedTypeSynonym.html | 2 +- html-test/ref/DuplicateRecordFields.html | 2 +- html-test/ref/Examples.html | 2 +- html-test/ref/Extensions.html | 2 +- html-test/ref/FunArgs.html | 2 +- html-test/ref/GADTRecords.html | 2 +- html-test/ref/Hash.html | 2 +- html-test/ref/HiddenInstances.html | 2 +- html-test/ref/HiddenInstancesB.html | 2 +- html-test/ref/Hyperlinks.html | 2 +- html-test/ref/ImplicitParams.html | 2 +- html-test/ref/Instances.html | 2 +- html-test/ref/Math.html | 2 +- html-test/ref/Minimal.html | 2 +- html-test/ref/ModuleWithWarning.html | 2 +- html-test/ref/NamedDoc.html | 2 +- html-test/ref/Nesting.html | 2 +- html-test/ref/NoLayout.html | 2 +- html-test/ref/NonGreedy.html | 2 +- html-test/ref/Operators.html | 2 +- html-test/ref/OrphanInstances.html | 2 +- html-test/ref/OrphanInstancesClass.html | 2 +- html-test/ref/OrphanInstancesType.html | 2 +- html-test/ref/PR643.html | 2 +- html-test/ref/PR643_1.html | 2 +- html-test/ref/PatternSyns.html | 2 +- html-test/ref/PromotedTypes.html | 2 +- html-test/ref/Properties.html | 2 +- html-test/ref/PruneWithWarning.html | 2 +- html-test/ref/QuasiExpr.html | 2 +- html-test/ref/QuasiQuote.html | 2 +- html-test/ref/SpuriousSuperclassConstraints.html | 2 +- html-test/ref/TH.html | 2 +- html-test/ref/TH2.html | 2 +- html-test/ref/Table.html | 2 +- html-test/ref/Test.html | 2 +- html-test/ref/Threaded.html | 2 +- html-test/ref/Threaded_TH.html | 2 +- html-test/ref/Ticket112.html | 2 +- html-test/ref/Ticket61.html | 2 +- html-test/ref/Ticket75.html | 2 +- html-test/ref/TitledPicture.html | 2 +- html-test/ref/TypeFamilies.html | 2 +- html-test/ref/TypeFamilies2.html | 2 +- html-test/ref/TypeOperators.html | 2 +- html-test/ref/Unicode.html | 2 +- html-test/ref/Visible.html | 2 +- 93 files changed, 98 insertions(+), 96 deletions(-) (limited to 'html-test/ref/Math.html') diff --git a/html-test/ref/A.html b/html-test/ref/A.html index 31885479..ee4dcbef 100644 --- a/html-test/ref/A.html +++ b/html-test/ref/A.html @@ -4,7 +4,7 @@ />A
Bug546normalDensity

\[ + >\[ \int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi} - \]

\(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\)

\(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\)

Math (inline) for normalDensity - \(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\) - \[\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\]

\(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\) + \[\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\]

\[ + > \[ f(n) = \sum_{i=1} - \]