File tree Expand file tree Collapse file tree 9 files changed +41
-10
lines changed Expand file tree Collapse file tree 9 files changed +41
-10
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,7 @@ search = version = "{current_version}"
18
18
replace = version = " {new_version}"
19
19
20
20
[bumpversion:file:.github/workflows/conda_ci.yml]
21
+
22
+ [bumpversion:file:flake8_sphinx_links/__init__.py]
23
+ search = : str = " {current_version}"
24
+ replace = : str = " {new_version}"
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ div.highlight {
8
8
.field-list dt , dl .simple dt {
9
9
margin-top : 0.5rem ;
10
10
}
11
+
12
+ div .versionchanged ul , div .versionremoved ul {
13
+ margin-left : 20px ;
14
+ margin-top : 0 ;
15
+ }
Original file line number Diff line number Diff line change 2
2
API Reference
3
3
================
4
4
5
+ In addition to the Flake8 plugin, the following public API is available
6
+ to allow other plugins to build on top of ``flake8-strftime ``.
7
+
8
+ .. autosummary-widths :: 25/100
9
+
5
10
.. automodule :: flake8_strftime
6
- :undoc-members:
11
+ :no-docstring:
12
+ :no-members:
13
+ :autosummary-members:
14
+
15
+ .. autoclass :: flake8_strftime.Plugin
16
+ :no-members:
17
+
18
+ .. autoclass :: flake8_strftime.Visitor
19
+ :no-members:
Original file line number Diff line number Diff line change @@ -75,3 +75,7 @@ def setup(app):
75
75
from sphinx_toolbox .latex import better_header_layout
76
76
77
77
app .connect ("config-inited" , lambda app , config : better_header_layout (config ))
78
+
79
+
80
+ nitpicky = True
81
+ autosummary_widths_builders = ["latex" ]
Original file line number Diff line number Diff line change @@ -136,11 +136,13 @@ Installation
136
136
137
137
.. end installation
138
138
139
+
139
140
Contents
140
141
---------
141
142
142
143
.. html-section ::
143
144
145
+
144
146
.. toctree ::
145
147
:hidden:
146
148
@@ -152,6 +154,7 @@ Contents
152
154
usage
153
155
api
154
156
Source
157
+ license
155
158
156
159
.. sidebar-links ::
157
160
:caption: Links
Original file line number Diff line number Diff line change 1
- git+https://github.com/sphinx-toolbox/html-section
1
+ git+https://github.com/sphinx-toolbox/sphinx-toolbox-experimental
2
2
default-values >= 0.5.0
3
3
extras-require >= 0.2.0
4
4
furo >= 2020.11.19b18
Original file line number Diff line number Diff line change 58
58
class Visitor (flake8_helper .Visitor ):
59
59
"""
60
60
AST node visitor for identifying platform specific strftime codes.
61
-
62
- .. autoclasssumm::
63
- :autosummary-sections: ;;
64
61
""" # noqa: RST303
65
62
66
63
def __init__ (self ) -> None :
Original file line number Diff line number Diff line change @@ -71,8 +71,9 @@ extensions = [
71
71
" seed_intersphinx_mapping" ,
72
72
" sphinx_toolbox.pre_commit" ,
73
73
" sphinx_toolbox.flake8" ,
74
- " html_section" ,
75
- " autosummary_widths" ,
74
+ " sphinx_toolbox_experimental.html_section" ,
75
+ " sphinx_toolbox_experimental.autosummary_widths" ,
76
+ " sphinx_toolbox_experimental.needspace" ,
76
77
]
77
78
sphinxemoji_style = " twemoji"
78
79
gitstamp_fmt = " %d %b %Y"
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ short_desc: "A flake8 plugin which checks for use of platform specific strftime
15
15
use_whey : true
16
16
min_coverage : 100
17
17
sphinx_html_theme : furo
18
- standalone_contrib_guide : true
19
18
preserve_custom_theme : true
20
19
21
20
conda_channels :
@@ -40,13 +39,18 @@ classifiers:
40
39
extra_sphinx_extensions :
41
40
- sphinx_toolbox.pre_commit
42
41
- sphinx_toolbox.flake8
43
- - html_section
44
- - autosummary_widths
42
+ - sphinx_toolbox_experimental.html_section
43
+ - sphinx_toolbox_experimental.autosummary_widths
44
+ - sphinx_toolbox_experimental.needspace
45
45
46
46
entry_points :
47
47
flake8.extension :
48
48
- STRFTIME=flake8_strftime:Plugin
49
49
50
+ sphinx_conf_epilogue :
51
+ - nitpicky = True
52
+ - autosummary_widths_builders = ["latex"]
53
+
50
54
tox_unmanaged :
51
55
- testenv:lint
52
56
You can’t perform that action at this time.
0 commit comments