Skip to content

Commit

Permalink
add links to corresponding options in services docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jan 6, 2025
1 parent 71157f6 commit c66f94e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ignis/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self):

class Notifications(OptionsGroup):
"""
Options for the NotificationsService
Options for the :class:`~ignis.services.notifications.NotificationService`.
"""

#: Do Not Disturb mode.
Expand All @@ -61,7 +61,7 @@ class Notifications(OptionsGroup):

class Recorder(OptionsGroup):
"""
Options for the Recorder Service
Options for the :class:`~ignis.services.recorder.RecorderService`.
"""

#: The bitrate of the recording.
Expand All @@ -75,7 +75,7 @@ class Recorder(OptionsGroup):

class Applications(OptionsGroup):
"""
Options for the Applications Service
Options for the :class:`~ignis.services.applications.ApplicationsService`.
"""

#: A list of the pinned applications desktop files, e.g. ``"firefox.desktop"``, ``"code.desktop"``.
Expand All @@ -85,7 +85,7 @@ class Applications(OptionsGroup):

class Wallpaper(OptionsGroup):
"""
Options for the Wallpaper Service
Options for the :class:`~ignis.services.wallpaper.WallpaperService`.
"""

#: The path to the wallpaper image.
Expand Down
2 changes: 2 additions & 0 deletions ignis/services/applications/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ class ApplicationsService(BaseService):
Provides a list of applications installed on the system.
It also allows "pinning" of apps and retrieving a list of pinned applications.
There are options available for this service: :class:`~ignis.options.Options.Applications`.
Example usage:
.. code-block:: python
Expand Down
2 changes: 2 additions & 0 deletions ignis/services/notifications/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class NotificationService(BaseService):
A notification daemon.
Allow receiving notifications and perform actions on them.
There are options available for this service: :class:`~ignis.options.Options.Notifications`.
Raises:
AnotherNotificationDaemonRunningError: If another notification daemon is already running.
Expand Down
2 changes: 2 additions & 0 deletions ignis/services/recorder/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class RecorderService(BaseService):
Uses XDG Desktop portal and PipeWire.
Allow record screen with microphone audio and internal system audio.
There are options available for this service: :class:`~ignis.options.Options.Recorder`.
Dependencies:
- GStreamer
- PipeWire
Expand Down
2 changes: 2 additions & 0 deletions ignis/services/wallpaper/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class WallpaperService(BaseService):
A simple service to set the wallpaper.
Supports multiple monitors.
There are options available for this service: :class:`~ignis.options.Options.Wallpaper`.
Example usage:
.. code-block:: python
Expand Down

0 comments on commit c66f94e

Please sign in to comment.