Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Aug 27, 2024
1 parent 3f07ca6 commit f4cd410
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions aider/website/docs/usage/conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ or `aider --read CONVENTIONS.md`.
This way it is marked as read-only, and cached if prompt caching
is enabled.

## Always load conventions

You can also configure aider to always load your conventions file
in the [`.aider.conf.yml` config file](https://aider.chat/docs/config/aider_conf.html):

See below for an example of how the conventions can affect the code
that aider writes.

```yaml
# alone
Expand All @@ -42,6 +42,12 @@ read: CONVENTIONS.md
read: [CONVENTIONS.md, anotherfile.txt]
```
## Example
See below for an example of how the conventions can affect the code
that aider writes.
<div class="chat-transcript" markdown="1">
> $ aider --read CONVENTIONS.md useragent.py
>
Expand Down

0 comments on commit f4cd410

Please sign in to comment.