Skip to content

Commit 46dae3d

Browse files
mindwgsnedders
authored andcommitted
Fix sphinx warnings
1 parent a0a8b8f commit 46dae3d

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
# Add any paths that contain custom static files (such as style sheets) here,
127127
# relative to this directory. They are copied after the builtin static files,
128128
# so a file named "default.css" will overwrite the builtin "default.css".
129-
html_static_path = ['_static']
129+
#html_static_path = ['_static']
130130

131131
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
132132
# using the given strftime format.

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Overview
88
:maxdepth: 2
99

1010
movingparts
11+
modules
1112
changes
1213
License <license>
1314

html5lib/treewalkers/__init__.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,21 @@
2121
def getTreeWalker(treeType, implementation=None, **kwargs):
2222
"""Get a TreeWalker class for various types of tree with built-in support
2323
24-
treeType - the name of the tree type required (case-insensitive). Supported
25-
values are:
26-
27-
"dom" - The xml.dom.minidom DOM implementation
28-
"etree" - A generic walker for tree implementations exposing an
29-
elementtree-like interface (known to work with
30-
ElementTree, cElementTree and lxml.etree).
31-
"lxml" - Optimized walker for lxml.etree
32-
"genshi" - a Genshi stream
33-
34-
implementation - (Currently applies to the "etree" tree type only). A module
35-
implementing the tree type e.g. xml.etree.ElementTree or
36-
cElementTree."""
24+
Args:
25+
treeType (str): the name of the tree type required (case-insensitive).
26+
Supported values are:
27+
28+
- "dom": The xml.dom.minidom DOM implementation
29+
- "etree": A generic walker for tree implementations exposing an
30+
elementtree-like interface (known to work with
31+
ElementTree, cElementTree and lxml.etree).
32+
- "lxml": Optimized walker for lxml.etree
33+
- "genshi": a Genshi stream
34+
35+
Implementation: A module implementing the tree type e.g.
36+
xml.etree.ElementTree or cElementTree (Currently applies to the
37+
"etree" tree type only).
38+
"""
3739

3840
treeType = treeType.lower()
3941
if treeType not in treeWalkerCache:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy