Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Arnaud Fontaine
apachedex
Commits
0011191e
Commit
0011191e
authored
Apr 10, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix index sort.
This bug caused mismatch between links and sections.
parent
e307e469
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
apachedex/__init__.py
apachedex/__init__.py
+2
-3
No files found.
apachedex/__init__.py
View file @
0011191e
...
...
@@ -902,10 +902,9 @@ def asHTML(out, encoding, per_site, args, default_site, period_parameter_dict,
encoding
)
if
len
(
per_site
)
>
1
:
out
.
write
(
'<h2>Index</h2><ol>'
)
for
i
,
(
site_id
,
html_caption
)
in
enumerate
(
html_site_caption_dict
.
iteritems
()):
for
i
,
(
site_id
,
_
)
in
site_list
:
out
.
write
(
'<li><a href="#%s" title="%s">%s</a></li>'
%
(
i
,
escape
(
repr
(
site_id
),
quote
=
True
),
html_
caption
))
escape
(
repr
(
site_id
),
quote
=
True
),
html_
site_caption_dict
[
site_id
]
))
out
.
write
(
'</ol>'
)
out
.
write
(
'<h2>Parameters</h2><table class="stats">'
)
for
caption
,
value
in
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment