doc: small fixes

This commit is contained in:
fry69 2024-09-28 08:29:10 +02:00
parent 91307ecfc4
commit d7d87847a6
4 changed files with 17 additions and 4 deletions

View file

@ -154,6 +154,10 @@ The project's documentation is built using Jekyll and hosted on GitHub Pages. To
``` ```
bundle exec jekyll build bundle exec jekyll build
``` ```
5. Preview the website while editing (optional):
```
bundle exec jekyll serve
```
The built documentation will be available in the `aider/website/_site` directory. The built documentation will be available in the `aider/website/_site` directory.

View file

@ -735,7 +735,7 @@ class Commands:
self.io.tool_output(f"Removed {matched_file} from the chat") self.io.tool_output(f"Removed {matched_file} from the chat")
def cmd_git(self, args): def cmd_git(self, args):
"Run a git command" "Run a git command (output excluded from chat)"
combined_output = None combined_output = None
try: try:
args = "git " + args args = "git " + args

View file

@ -124,6 +124,9 @@ When starting a fresh aider session, you can include recent git history in the c
Remember, the chat history already includes recent changes made during the current session, so this tip is most useful when starting a new aider session and you want to provide context about recent work. Remember, the chat history already includes recent changes made during the current session, so this tip is most useful when starting a new aider session and you want to provide context about recent work.
{: .tip }
The `/git` command will not work for this purpose, as its output is not included in the chat.
## How can I run aider locally from source code? ## How can I run aider locally from source code?
To run the project locally, follow these steps: To run the project locally, follow these steps:
@ -194,12 +197,18 @@ Yes, you can now share aider chat logs in a pretty way.
1. Copy the markdown logs you want to share from `.aider.chat.history.md` and make a github gist. Or publish the raw markdown logs on the web any way you'd like. 1. Copy the markdown logs you want to share from `.aider.chat.history.md` and make a github gist. Or publish the raw markdown logs on the web any way you'd like.
https://gist.github.com/paul-gauthier/2087ab8b64034a078c0a209440ac8be0 ```
https://gist.github.com/paul-gauthier/2087ab8b64034a078c0a209440ac8be0
```
2. Take the gist URL and append it to: 2. Take the gist URL and append it to:
https://aider.chat/share/?mdurl= ```
https://aider.chat/share/?mdurl=
```
This will give you a URL like this, which shows the chat history like you'd see in a terminal: This will give you a URL like this, which shows the chat history like you'd see in a terminal:
```
https://aider.chat/share/?mdurl=https://gist.github.com/paul-gauthier/2087ab8b64034a078c0a209440ac8be0 https://aider.chat/share/?mdurl=https://gist.github.com/paul-gauthier/2087ab8b64034a078c0a209440ac8be0
```

View file

@ -25,7 +25,7 @@ cog.out(get_help_md())
| **/diff** | Display the diff of changes since the last message | | **/diff** | Display the diff of changes since the last message |
| **/drop** | Remove files from the chat session to free up context space | | **/drop** | Remove files from the chat session to free up context space |
| **/exit** | Exit the application | | **/exit** | Exit the application |
| **/git** | Run a git command | | **/git** | Run a git command (output excluded from chat)|
| **/help** | Ask questions about aider | | **/help** | Ask questions about aider |
| **/lint** | Lint and fix in-chat files or all dirty files if none in chat | | **/lint** | Lint and fix in-chat files or all dirty files if none in chat |
| **/ls** | List all known files and indicate which are included in the chat session | | **/ls** | List all known files and indicate which are included in the chat session |