diff --git a/.gitignore b/.gitignore index 671afcf..97f8d8e 100644 --- a/.gitignore +++ b/.gitignore @@ -70,6 +70,7 @@ instance/ # Sphinx documentation docs/_build/ +docs/source/api/ # not-Sphinx documentation (externel) docs/sum/ diff --git a/README.rst b/README.rst index 314e979..99b4a6d 100644 --- a/README.rst +++ b/README.rst @@ -84,14 +84,26 @@ installed and then add the PPA: See `Adding this PPA to your system`_ for more info. A somewhat manual approach using pre-built packages is available for debian -*bookworm*, *trixie*, and *sid*. First install the timew package:: +*bookworm*, *trixie*, and *sid*. First install the ``gdebi`` package:: - $ sudo apt install timewarrior + $ sudo apt install gdebi + +Next download the ``.deb`` packages for timew-report and timew-addons from +GitHub for your Debian version, eg, for bookworm do:: + + $ wget https://github.com/sarnold/timew-addons/releases/download/0.3.0/timew-addons_0.3.0-3+g478e08a-bookworm_all.deb + $ wget https://github.com/sarnold/timew-report/releases/download/v1.4.0/timew-report_1.4.0-10+gc66c7b7-bookworm_amd64.deb Then install the ``.deb`` packages for timew-report and timew-addons from -GitHub:: +GitHub using gdebi:: + + $ sudo gedbi timew-report_1.4.0-10+gc66c7b7-bookworm_amd64.deb + $ sudo gedbi timew-addons_0.3.0-3+g478e08a-bookworm_all.deb + +.. important:: The exact package names and Debian release will be different. + Substitute the name of your Debian release and use the most + recent Github release page available. - $ .. _Adding this PPA to your system: .. _this PPA: diff --git a/docs/source/conf.py b/docs/source/conf.py index 52271ba..49d72da 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -39,6 +39,7 @@ extensions = [ 'rst2pdf.pdfbuilder', 'sphinxcontrib.apidoc', + 'sphinx.ext.napoleon', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', diff --git a/scripts/timew-status-indicator b/scripts/timew-status-indicator index 5b888e4..aa30e8c 100755 --- a/scripts/timew-status-indicator +++ b/scripts/timew-status-indicator @@ -9,7 +9,7 @@ import subprocess import time import typing from collections import Counter -from datetime import timedelta +from datetime import datetime, timedelta from decimal import Decimal from threading import Thread from typing import cast @@ -180,11 +180,13 @@ class Indicator: return menu def about(self, source): + year = datetime.now().year + cpr_str = f'© {year} Stephen L Arnold' dlg = Gtk.AboutDialog() dlg.set_name('About...') dlg.set_program_name('Timew Status Indicator') dlg.set_version(APP_VERSION) - dlg.set_copyright('© 2024 Stephen L Arnold') + dlg.set_copyright(cpr_str) dlg.set_license_type(Gtk.License.GPL_3_0) dlg.set_logo_icon_name(get_state_icon('APP', CFG)) dlg.set_website('https://github.com/sarnold/timew-addons')