Skip to content

Commit

Permalink
Merge pull request #477 from randomir/add-reno-for-changelog
Browse files Browse the repository at this point in the history
Add reno for changelog
  • Loading branch information
randomir committed Aug 19, 2021
2 parents e5a48af + 28f338d commit 502d68e
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 13 deletions.
3 changes: 0 additions & 3 deletions CONTRIBUTING.rst

This file was deleted.

35 changes: 28 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.. image:: https://badge.fury.io/py/dwave-cloud-client.svg
:target: https://badge.fury.io/py/dwave-cloud-client
:alt: Last version on PyPI
:alt: Latest version on PyPI

.. image:: https://travis-ci.org/dwavesystems/dwave-cloud-client.svg?branch=master
:target: https://travis-ci.org/dwavesystems/dwave-cloud-client
:alt: Linux/Mac build status
.. image:: https://circleci.com/gh/dwavesystems/dwave-cloud-client.svg?style=svg
:target: https://circleci.com/gh/dwavesystems/dwave-cloud-client
:alt: Linux/MacOS build status

.. image:: https://ci.appveyor.com/api/projects/status/6a2wjq9xtgtr2t2c/branch/master?svg=true
:target: https://ci.appveyor.com/project/dwave-adtt/dwave-cloud-client/branch/master
Expand Down Expand Up @@ -65,7 +65,7 @@ Installation

.. installation-start-marker
Requires Python 3.5+:
Requires Python 3.6+:

.. code-block:: bash
Expand All @@ -89,7 +89,28 @@ License
Released under the Apache License 2.0. See `<LICENSE>`_ file.


Contribution
Contributing
------------

See `<CONTRIBUTING.rst>`_ file.
Ocean's `contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>`_
has guidelines for contributing to Ocean packages.

Release Notes
~~~~~~~~~~~~~

D-Wave Cloud Client uses `reno <https://docs.openstack.org/reno/>`_ to manage
its release notes.

When making a contribution to D-Wave Cloud Client that will affect users, create
a new release note file by running

.. code-block:: bash
reno new your-short-descriptor-here
You can then edit the file created under ``releasenotes/notes/``.
Remove any sections not relevant to your changes.
Commit the file along with your changes.

See reno's `user guide <https://docs.openstack.org/reno/latest/user/usage.html>`_
for details.
1 change: 0 additions & 1 deletion docs/CONTRIBUTING.rst

This file was deleted.

3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'sphinx.ext.ifconfig'
'sphinx.ext.ifconfig',
'reno.sphinxext',
]

# autodoc_default_flags = ['members']
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Documentation
intro
reference/index
bibliography
release_notes

.. sdk-end-marker
Expand Down
1 change: 1 addition & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. release-notes:: Release Notes
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx>=4.0.0,<5.0.0
sphinx_rtd_theme
reno[sphinx]==3.4.0
10 changes: 10 additions & 0 deletions releasenotes/notes/add-reno-a45ccf1f7e141857.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
prelude: >
We began using `Reno <https://docs.openstack.org/reno/>`_ as a changelog
tool after the release of 0.8.7.
Content added before that release is not included.
See `releases <https://github.com/dwavesystems/dwave-cloud-client/releases>`_
for previous release notes.
features:
- |
Begin using reno for changelog.
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ plucky>=0.4.3
# optional bqm support
# note: dqm supported in dimod>0.9.6
dimod>=0.10.5
numpy>=1.16
numpy>=1.16

# dev requirements
reno==3.4.0

0 comments on commit 502d68e

Please sign in to comment.