Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 75c20e5

Browse files
author
Iñaki García Etxebarria
committed
Add a test for custom anchors
1 parent 3b90df5 commit 75c20e5

File tree

2 files changed

+99
-0
lines changed

2 files changed

+99
-0
lines changed

html-test/ref/SectionLabels.html

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml"
3+
><head
4+
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
5+
/><meta name="viewport" content="width=device-width, initial-scale=1"
6+
/><title
7+
>SectionLabels</title
8+
><link href="#" rel="stylesheet" type="text/css" title="Linuwial"
9+
/><link rel="stylesheet" type="text/css" href="#"
10+
/><link rel="stylesheet" type="text/css" href="#"
11+
/><script src="haddock-bundle.min.js" async="async" type="text/javascript"
12+
></script
13+
><script type="text/x-mathjax-config"
14+
>MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script
15+
><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"
16+
></script
17+
></head
18+
><body
19+
><div id="package-header"
20+
><span class="caption empty"
21+
>&nbsp;</span
22+
><ul class="links" id="page-menu"
23+
><li
24+
><a href="#"
25+
>Contents</a
26+
></li
27+
><li
28+
><a href="#"
29+
>Index</a
30+
></li
31+
></ul
32+
></div
33+
><div id="content"
34+
><div id="module-header"
35+
><table class="info"
36+
><tr
37+
><th
38+
>Safe Haskell</th
39+
><td
40+
>Safe-Inferred</td
41+
></tr
42+
></table
43+
><p class="caption"
44+
>SectionLabels</p
45+
></div
46+
><div id="table-of-contents"
47+
><div id="contents-list"
48+
><p class="caption" onclick="window.scrollTo(0,0)"
49+
>Contents</p
50+
><ul
51+
><li
52+
><a href="#"
53+
>Section heading</a
54+
></li
55+
></ul
56+
></div
57+
></div
58+
><div id="synopsis"
59+
><details id="syn"
60+
><summary
61+
>Synopsis</summary
62+
><ul class="details-toggle" data-details-id="syn"
63+
><li class="src short"
64+
><a href="#"
65+
>n</a
66+
> :: <a href="#" title="Data.Int"
67+
>Int</a
68+
></li
69+
></ul
70+
></details
71+
></div
72+
><div id="interface"
73+
><a href="#" id="g:custom"
74+
><h1
75+
>Section heading</h1
76+
></a
77+
><div class="top"
78+
><p class="src"
79+
><a id="v:n" class="def"
80+
>n</a
81+
> :: <a href="#" title="Data.Int"
82+
>Int</a
83+
> <a href="#" class="selflink"
84+
>#</a
85+
></p
86+
></div
87+
></div
88+
></div
89+
></body
90+
></html
91+
>

html-test/src/SectionLabels.hs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module SectionLabels
2+
(
3+
-- * Section heading#custom#
4+
n
5+
) where
6+
7+
n :: Int
8+
n = 3

0 commit comments

Comments
 (0)