Files
sw_pyalsaaudio/doc
Chris Diamand 3f6fb9844d Support decibel, percentage, and raw volumes in getvolume, setvolume, and getrange (#109)
* Use `pcmtype` keyword for range

Update methods that accept a `direction` argument (i.e.
capture/playback) to get this via positional _or_ keyword arguments.

Code using keyword arguments can be more robust; however the main reason
for this change is to prepare the way for an extra `units` argument to
many of these methods.

Update documentation to consistently use `pcmtype` instead of
a mixture of that and `direction`.

* Support units
2022-03-28 21:46:40 +02:00
..
2017-03-31 00:25:00 +02:00
2017-03-31 00:29:19 +02:00
2018-11-16 16:51:05 +08:00
2017-07-09 13:32:08 +02:00

Make a new release

Update the version in setup.py

pyalsa_version = '0.9.0'

Commit and push the update.

Create and push a tag naming the version (i.e. 0.9.0):

git tag 0.9.0
git push origin 0.9.0

Create the package:

python3 setup.py sdist

Upload the package

twine upload dist/*

Don't forget to update the documentation.

Publish the documentation

The documentation is published through the gh-pages branch.

To publish the documentation, you need to clone the gh-pages branch of this repository into doc/gh-pages. In doc, do:

git clone -b gh-pages git@github.com:larsimmisch/pyalsaaudio.git gh-pages

(This is a bit of a hack)

Once that is set up, you can publish new documentation using:

make publish

Be careful when new files are generated, however, you will have to add them manually to git.