docs: docs review

This commit is contained in:
2023-12-19 16:07:04 +02:00
parent 28589cb122
commit 0e2ad3325c
21 changed files with 144 additions and 97 deletions

View File

@ -12,7 +12,7 @@ Depending on the goal the package can be used in different ways. Nevertheless, i
from ahriman.models.repository_id import RepositoryId
repository_id = RepositoryId("x86_64", "aur-clone")
configuration = Configuration.from_path(Path("/etc/ahriman.ini"), architecture)
configuration = Configuration.from_path(Path("/etc/ahriman.ini"), repository_id)
database = SQLite.load(configuration)
At this point there are ``configuration`` and ``database`` instances which can be used later at any time anywhere, e.g.