Skip to content

Commit 0661da9

Browse files
committed
Add reno & start at release notes
Add reno & start at having release notes Change-Id: I747ccfd87cc56e0797ec899097a6e338c720692e
1 parent 7d00195 commit 0661da9

6 files changed

Lines changed: 40 additions & 1 deletion

File tree

doc/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
extensions = [
2323
'sphinx.ext.autodoc',
2424
#'sphinx.ext.intersphinx',
25-
'oslosphinx'
25+
'oslosphinx',
26+
'reno.sphinxext'
2627
]
2728

2829
# autodoc generation is a bit aggressive and a nuisance when doing heavy

doc/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Contents:
1515
installation
1616
usage
1717
contributing
18+
releasenotes
1819

1920
Indices and tables
2021
==================

doc/source/releasenotes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=============
2+
Release Notes
3+
=============
4+
5+
.. release-notes::
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
fixes:
3+
4+
- Ignore contents of ``heredoc`` values. ``heredocs`` usually
5+
contain content in a foreign syntax so ``bashate`` will no longer
6+
consider them.
7+
8+
- Continuation lines are now parsed into an array, rather than a
9+
single logical-line. This fixes continuation lines being
10+
incorrectly reported as too long.
11+
12+
- |
13+
Indentation now allows emacs-formatted idents, where continuation
14+
lines for long commands align to the first argument above (rather
15+
than a strict modulo of 4). e.g.
16+
17+
::
18+
19+
longcommand arg1 arg2 arg3 \
20+
arg4 arg5
21+
22+
will no longer trigger a bad indent warning.
23+
24+
- Use ``bash -n`` to detect unclosed heredocs, rather than construct
25+
our own parsing.
26+
27+
- Correctly check for newlines at the end of all files; even if you
28+
only specify one file to check.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
other:
3+
- started using reno

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
1414
testrepository>=0.0.18
1515
testscenarios>=0.4
1616
testtools>=1.4.0
17+
reno>=0.1.1

0 commit comments

Comments
 (0)