Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
bf62d1aa
Commit
bf62d1aa
authored
Mar 07, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compatibility with sphinx 1.4 [skip ci]
parent
9b33506b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
doc/mysphinxext.py
doc/mysphinxext.py
+4
-1
doc/mytheme/genindex.html
doc/mytheme/genindex.html
+2
-1
No files found.
doc/mysphinxext.py
View file @
bf62d1aa
...
...
@@ -46,7 +46,10 @@ def missing_reference(app, env, node, contnode):
for
docname
,
items
in
env
.
indexentries
.
items
():
if
noisy
>=
2
:
print
(
docname
)
for
(
i_type
,
i_string
,
i_target
,
i_aliasname
)
in
items
:
for
_x
in
items
:
if
noisy
>=
4
:
print
(
_x
)
(
i_type
,
i_string
,
i_target
,
i_aliasname
)
=
_x
[:
4
]
if
noisy
>=
3
:
print
(
'---'
,
[
i_type
,
i_string
,
i_target
,
i_aliasname
])
if
i_aliasname
.
endswith
(
target
):
...
...
doc/mytheme/genindex.html
View file @
bf62d1aa
...
...
@@ -17,7 +17,8 @@
{%- set breakat = genindexcounts[loop.index0] // 2 %}
{%- set numcols = 1 %}
{%- set numitems = 0 %}
{% for entryname, (links, subitems) in entries %}
{% for entryname, links_subitems in entries %}
{%- set links, subitems = links_subitems[:2] %}
<dt>
{%- if links -%}
<a
href=
"{{ links[0] }}"
>
{{ entryname|e }}
</a>
{%- for link in links[1:] %},
<a
href=
"{{ link }}"
>
[{{ loop.index }}]
</a>
{% endfor -%}
{%- else -%}
...
...
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