Skip to content

Commit 5ca0a36

Browse files
committed
Add structure for reno releasenotes
This adds the structure for build-reno-releasenotes zuul jobs. Signed-off-by: Paul Belanger <[email protected]>
1 parent 37c1010 commit 5ca0a36

File tree

11 files changed

+302
-6
lines changed

11 files changed

+302
-6
lines changed

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
*.py[co]
2-
*.swp
3-
*.swo
4-
*.bak
1+
*.pyc
2+
releasenotes/build
53
.tox

.zuul.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
jobs:
44
- ansible-test-sanity:
55
voting: False
6+
- build-reno-releasenotes

bindep.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# This is a cross-platform list tracking distribution packages needed by tests;
22
# see http://docs.openstack.org/infra/bindep/ for additional information.
33

4-
gcc-c++ [test platform:rpm]
4+
gcc-c++ [doc test platform:rpm]

doc/requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# The order of packages is significant, because pip processes them in the order
2+
# of appearance. Changing the order has an impact on the overall integration
3+
# process, which may cause wedges in the gate later.
4+
5+
# this is required for the docs build jobs
6+
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
7+
reno>=2.5.0 # Apache-2.0

releasenotes/notes/.placeholder

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
New releasenotes generated per commit using reno.

releasenotes/source/_static/.placeholder

Whitespace-only changes.

releasenotes/source/_templates/.placeholder

Whitespace-only changes.

releasenotes/source/conf.py

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
# -*- coding: utf-8 -*-
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11+
# implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# This file is execfile()d with the current directory set to its
16+
# containing dir.
17+
#
18+
# Note that not all possible configuration values are present in this
19+
# autogenerated file.
20+
#
21+
# All configuration values have a default; values that are commented out
22+
# serve to show the default.
23+
24+
# If extensions (or modules to document with autodoc) are in another directory,
25+
# add these directories to sys.path here. If the directory is relative to the
26+
# documentation root, use os.path.abspath to make it absolute, like shown here.
27+
# sys.path.insert(0, os.path.abspath('.'))
28+
29+
# -- General configuration ------------------------------------------------
30+
31+
# If your documentation needs a minimal Sphinx version, state it here.
32+
# needs_sphinx = '1.0'
33+
34+
# Add any Sphinx extension module names here, as strings. They can be
35+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
36+
# ones.
37+
extensions = [
38+
'reno.sphinxext',
39+
]
40+
41+
# Add any paths that contain templates here, relative to this directory.
42+
templates_path = ['_templates']
43+
44+
# The suffix of source filenames.
45+
source_suffix = '.rst'
46+
47+
# The encoding of source files.
48+
# source_encoding = 'utf-8-sig'
49+
50+
# The master toctree document.
51+
master_doc = 'index'
52+
53+
# General information about the project.
54+
project = u'Network Engine Release Notes'
55+
copyright = u'2018, Ansible Netowkr Developers'
56+
57+
# The version info for the project you're documenting, acts as replacement for
58+
# |version| and |release|, also used in various other places throughout the
59+
# built documents.
60+
#
61+
# The short X.Y version.
62+
# The full version, including alpha/beta/rc tags.
63+
release = ''
64+
# The short X.Y version.
65+
version = ''
66+
67+
# The language for content autogenerated by Sphinx. Refer to documentation
68+
# for a list of supported languages.
69+
# language = None
70+
71+
# There are two options for replacing |today|: either, you set today to some
72+
# non-false value, then it is used:
73+
# today = ''
74+
# Else, today_fmt is used as the format for a strftime call.
75+
# today_fmt = '%B %d, %Y'
76+
77+
# List of patterns, relative to source directory, that match files and
78+
# directories to ignore when looking for source files.
79+
exclude_patterns = []
80+
81+
# The reST default role (used for this markup: `text`) to use for all
82+
# documents.
83+
# default_role = None
84+
85+
# If true, '()' will be appended to :func: etc. cross-reference text.
86+
# add_function_parentheses = True
87+
88+
# If true, the current module name will be prepended to all description
89+
# unit titles (such as .. function::).
90+
# add_module_names = True
91+
92+
# If true, sectionauthor and moduleauthor directives will be shown in the
93+
# output. They are ignored by default.
94+
# show_authors = False
95+
96+
# The name of the Pygments (syntax highlighting) style to use.
97+
pygments_style = 'sphinx'
98+
99+
# A list of ignored prefixes for module index sorting.
100+
# modindex_common_prefix = []
101+
102+
# If true, keep warnings as "system message" paragraphs in the built documents.
103+
# keep_warnings = False
104+
105+
106+
# -- Options for HTML output ----------------------------------------------
107+
108+
# The theme to use for HTML and HTML Help pages. See the documentation for
109+
# a list of builtin themes.
110+
# html_theme = ''
111+
112+
# Theme options are theme-specific and customize the look and feel of a theme
113+
# further. For a list of options available for each theme, see the
114+
# documentation.
115+
# html_theme_options = {}
116+
117+
# Add any paths that contain custom themes here, relative to this directory.
118+
# html_theme_path = []
119+
120+
# The name for this set of Sphinx documents. If None, it defaults to
121+
# "<project> v<release> documentation".
122+
# html_title = None
123+
124+
# A shorter title for the navigation bar. Default is the same as html_title.
125+
# html_short_title = None
126+
127+
# The name of an image file (relative to this directory) to place at the top
128+
# of the sidebar.
129+
# html_logo = None
130+
131+
# The name of an image file (within the static path) to use as favicon of the
132+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
133+
# pixels large.
134+
# html_favicon = None
135+
136+
# Add any paths that contain custom static files (such as style sheets) here,
137+
# relative to this directory. They are copied after the builtin static files,
138+
# so a file named "default.css" will overwrite the builtin "default.css".
139+
html_static_path = ['_static']
140+
141+
# Add any extra paths that contain custom files (such as robots.txt or
142+
# .htaccess) here, relative to this directory. These files are copied
143+
# directly to the root of the documentation.
144+
# html_extra_path = []
145+
146+
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
147+
# using the given strftime format.
148+
# html_last_updated_fmt = '%b %d, %Y'
149+
150+
# If true, SmartyPants will be used to convert quotes and dashes to
151+
# typographically correct entities.
152+
# html_use_smartypants = True
153+
154+
# Custom sidebar templates, maps document names to template names.
155+
# html_sidebars = {}
156+
157+
# Additional templates that should be rendered to pages, maps page names to
158+
# template names.
159+
# html_additional_pages = {}
160+
161+
# If false, no module index is generated.
162+
# html_domain_indices = True
163+
164+
# If false, no index is generated.
165+
# html_use_index = True
166+
167+
# If true, the index is split into individual pages for each letter.
168+
# html_split_index = False
169+
170+
# If true, links to the reST sources are added to the pages.
171+
# html_show_sourcelink = True
172+
173+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
174+
# html_show_sphinx = True
175+
176+
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
177+
# html_show_copyright = True
178+
179+
# If true, an OpenSearch description file will be output, and all pages will
180+
# contain a <link> tag referring to it. The value of this option must be the
181+
# base URL from which the finished HTML is served.
182+
# html_use_opensearch = ''
183+
184+
# This is the file name suffix for HTML files (e.g. ".xhtml").
185+
# html_file_suffix = None
186+
187+
# Output file base name for HTML help builder.
188+
htmlhelp_basename = 'NetworkEngineReleaseNotesdoc'
189+
190+
191+
# -- Options for LaTeX output ---------------------------------------------
192+
193+
latex_elements = {
194+
# The paper size ('letterpaper' or 'a4paper').
195+
# 'papersize': 'letterpaper',
196+
197+
# The font size ('10pt', '11pt' or '12pt').
198+
# 'pointsize': '10pt',
199+
200+
# Additional stuff for the LaTeX preamble.
201+
# 'preamble': '',
202+
}
203+
204+
# Grouping the document tree into LaTeX files. List of tuples
205+
# (source start file, target name, title,
206+
# author, documentclass [howto, manual, or own class]).
207+
latex_documents = [
208+
('index', 'NetworkEngineReleaseNotes.tex',
209+
u'Network Engine Release Notes Documentation',
210+
u'Ansible Network', 'manual'),
211+
]
212+
213+
# The name of an image file (relative to this directory) to place at the top of
214+
# the title page.
215+
# latex_logo = None
216+
217+
# For "manual" documents, if this is true, then toplevel headings are parts,
218+
# not chapters.
219+
# latex_use_parts = False
220+
221+
# If true, show page references after internal links.
222+
# latex_show_pagerefs = False
223+
224+
# If true, show URL addresses after external links.
225+
# latex_show_urls = False
226+
227+
# Documents to append as an appendix to all manuals.
228+
# latex_appendices = []
229+
230+
# If false, no module index is generated.
231+
# latex_domain_indices = True
232+
233+
234+
# -- Options for manual page output ---------------------------------------
235+
236+
# One entry per manual page. List of tuples
237+
# (source start file, name, description, authors, manual section).
238+
man_pages = [
239+
('index', 'networkenginerereleasenotes',
240+
u'Network Engine Release Notes Documentation',
241+
[u'Ansible Network'], 1)
242+
]
243+
244+
# If true, show URL addresses after external links.
245+
# man_show_urls = False
246+
247+
248+
# -- Options for Texinfo output -------------------------------------------
249+
250+
# Grouping the document tree into Texinfo files. List of tuples
251+
# (source start file, target name, title, author,
252+
# dir menu entry, description, category)
253+
texinfo_documents = [
254+
('index', 'NetworkEngine ReleaseNotes',
255+
u'Network Engine Release Notes Documentation',
256+
u'Ansible Network', 'NetworkEngineReleaseNotes',
257+
'One line description of project.',
258+
'Miscellaneous'),
259+
]
260+
261+
# Documents to append as an appendix to all manuals.
262+
# texinfo_appendices = []
263+
264+
# If false, no module index is generated.
265+
# texinfo_domain_indices = True
266+
267+
# How to display URL addresses: 'footnote', 'no', or 'inline'.
268+
# texinfo_show_urls = 'footnote'
269+
270+
# If true, do not generate a @detailmenu in the "Top" node's menu.
271+
# texinfo_no_detailmenu = False
272+
273+
# -- Options for Internationalization output ------------------------------
274+
locale_dirs = ['locale/']

releasenotes/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
============================
2+
Network Engine Release Notes
3+
============================
4+
5+
.. release-notes::
6+
:unreleased-version-title: In Development

0 commit comments

Comments
 (0)