Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen Judkins
haddock
Commits
6cd564a2
Commit
6cd564a2
authored
6 years ago
by
alexbiehl
Committed by
Alec Theriault
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Avoid name shadowing
parent
7f235c7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
haddock-api/src/Haddock/Backends/Xhtml.hs
+3
-2
3 additions, 2 deletions
haddock-api/src/Haddock/Backends/Xhtml.hs
with
3 additions
and
2 deletions
haddock-api/src/Haddock/Backends/Xhtml.hs
+
3
−
2
View file @
6cd564a2
...
...
@@ -32,7 +32,8 @@ import Haddock.Types
import
Haddock.Version
import
Haddock.Utils
import
Haddock.Utils.Json
import
Text.XHtml
hiding
(
title
,
p
,
quote
)
import
Text.XHtml
hiding
(
name
,
title
,
p
,
quote
)
import
qualified
Text.XHtml
as
XHtml
import
Haddock.GhcUtils
import
Control.Monad
(
when
,
unless
)
...
...
@@ -122,7 +123,7 @@ headHtml :: String -> Themes -> Maybe String -> Html
headHtml
docTitle
themes
mathjax_url
=
header
<<
[
meta
!
[
httpequiv
"Content-Type"
,
content
"text/html; charset=UTF-8"
],
meta
!
[
name
"viewport"
,
content
"width=device-width, initial-scale=1"
],
meta
!
[
XHtml
.
name
"viewport"
,
content
"width=device-width, initial-scale=1"
],
thetitle
<<
docTitle
,
styleSheet
themes
,
thelink
!
[
rel
"stylesheet"
,
thetype
"text/css"
,
href
quickJumpCssFile
]
<<
noHtml
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment