File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,3 +18,7 @@ search = version = "{current_version}"
1818replace = version = " {new_version}"
1919
2020[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 {
88.field-list dt , dl .simple dt {
99 margin-top : 0.5rem ;
1010}
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 22API Reference
33================
44
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+
510.. 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):
7575 from sphinx_toolbox .latex import better_header_layout
7676
7777 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
136136
137137.. end installation
138138
139+
139140 Contents
140141---------
141142
142143.. html-section ::
143144
145+
144146.. toctree ::
145147 :hidden:
146148
@@ -152,6 +154,7 @@ Contents
152154 usage
153155 api
154156 Source
157+ license
155158
156159.. sidebar-links ::
157160 :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
22default-values >= 0.5.0
33extras-require >= 0.2.0
44furo >= 2020.11.19b18
Original file line number Diff line number Diff line change 5858class Visitor (flake8_helper .Visitor ):
5959 """
6060 AST node visitor for identifying platform specific strftime codes.
61-
62- .. autoclasssumm::
63- :autosummary-sections: ;;
6461 """ # noqa: RST303
6562
6663 def __init__ (self ) -> None :
Original file line number Diff line number Diff line change @@ -71,8 +71,9 @@ extensions = [
7171 " seed_intersphinx_mapping" ,
7272 " sphinx_toolbox.pre_commit" ,
7373 " 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" ,
7677]
7778sphinxemoji_style = " twemoji"
7879gitstamp_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
1515use_whey : true
1616min_coverage : 100
1717sphinx_html_theme : furo
18- standalone_contrib_guide : true
1918preserve_custom_theme : true
2019
2120conda_channels :
@@ -40,13 +39,18 @@ classifiers:
4039extra_sphinx_extensions :
4140 - sphinx_toolbox.pre_commit
4241 - 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
4545
4646entry_points :
4747 flake8.extension :
4848 - STRFTIME=flake8_strftime:Plugin
4949
50+ sphinx_conf_epilogue :
51+ - nitpicky = True
52+ - autosummary_widths_builders = ["latex"]
53+
5054tox_unmanaged :
5155 - testenv:lint
5256
You can’t perform that action at this time.
0 commit comments