mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
use utf8 for docs
This commit is contained in:
parent
143e05ec66
commit
ca4b88dc8e
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ def get_index():
|
|||
continue
|
||||
|
||||
doc = Document(
|
||||
text=importlib_resources.files("aider.website").joinpath(fname).read_text(),
|
||||
text=importlib_resources.files("aider.website")
|
||||
.joinpath(fname)
|
||||
.read_text(encoding="utf-8"),
|
||||
metadata=dict(
|
||||
filename=fname.name,
|
||||
extension=fname.suffix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue