|
21 | 21 | extensions = [ |
22 | 22 | 'sphinx.ext.autodoc', |
23 | 23 | 'sphinx.ext.viewcode', |
| 24 | + 'sphinx.ext.autosectionlabel', |
24 | 25 | 'sphinx_needs', |
25 | 26 | 'coding_guidelines', |
26 | 27 | ] |
|
88 | 89 |
|
89 | 90 | needs_statuses = [ |
90 | 91 | dict(name="draft", description="This guideline is in draft stage", color="#999999"), |
91 | | - dict(name="proposed", description="This guideline is proposed for review", color="#FFCC00"), |
92 | 92 | dict(name="approved", description="This guideline has been approved", color="#00FF00"), |
93 | | - dict(name="deprecated", description="This guideline is deprecated", color="#FF0000"), |
| 93 | + dict(name="retired", description="This guideline is retired", color="#FF0000"), |
94 | 94 | ] |
95 | 95 |
|
96 | 96 | needs_tags = [ |
|
119 | 119 | dict(name="system", description="This guideline must be checked alongside the entire source", color="#FFCC00"), |
120 | 120 | ] |
121 | 121 |
|
| 122 | +needs_releases = [ |
| 123 | + dict(name="1.85.0", description="This guideline can be checked at the module level", color="#999999"), |
| 124 | + dict(name="1.85.1", description="This guideline can be checked at the module level", color="#999999"), |
| 125 | +] |
| 126 | + |
122 | 127 | # Enable needs export |
123 | | -needs_extra_options = ["category", "recommendation", "fls", "decidability", "scope"] |
| 128 | +needs_extra_options = ["category", "recommendation", "fls", "decidability", "scope", "release"] |
124 | 129 |
|
125 | 130 | # -- Options for HTML output ------------------------------------------------- |
126 | 131 |
|
|
0 commit comments