Skip to content

Commit

Permalink
docs: fix indentation
Browse files Browse the repository at this point in the history
The numbered list was being reset because the content was outdented.
  • Loading branch information
aspiers authored and gauteh committed Sep 20, 2024
1 parent 7b0340a commit ad6dec2
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,35 @@ This assumes your root mail folder is in `~/.mail` and that this folder is _alre

1. Make a directory for the lieer storage and state files (local repository).

```sh
$ cd ~/.mail
$ mkdir account.gmail
$ cd account.gmail/
```

All commands should be run from the local mail repository unless otherwise specified.
```sh
$ cd ~/.mail
$ mkdir account.gmail
$ cd account.gmail/
```

All commands should be run from the local mail repository unless otherwise specified.

2. Ignore the `.json` files in notmuch. Any tags listed in `new.tags` will be added to newly pulled messages. Process tags on new messages directly after running gmi, or run `notmuch new` to trigger the `post-new` hook for [initial tagging](https://notmuchmail.org/initial_tagging/). The `new.tags` are not ignored by default if you do not remove them, but you can prevent custom tags from being pushed to the remote by using e.g. `gmi set --ignore-tags-local new`. In your notmuch config file (usually `~/.notmuch-config`):

```
[new]
tags=new
ignore=/.*[.](json|lock|bak)$/
```
```
[new]
tags=new
ignore=/.*[.](json|lock|bak)$/
```

3. Initialize the mail storage:

```sh
$ gmi init [email protected]
```
```sh
$ gmi init [email protected]
```

`gmi init` will now open your browser and request limited access to your e-mail.
`gmi init` will now open your browser and request limited access to your e-mail.

> The access token is stored in `.credentials.gmailieer.json` in the local mail repository. If you wish, you can specify [your own api key](#using-your-own-api-key) that should be used.
> The access token is stored in `.credentials.gmailieer.json` in the local mail repository. If you wish, you can specify [your own api key](#using-your-own-api-key) that should be used.

4. You're now set up, and you can do the initial pull.
> Use `gmi -h` or `gmi command -h` to get more usage information.
> Use `gmi -h` or `gmi command -h` to get more usage information.
## Pull
Expand Down

0 comments on commit ad6dec2

Please sign in to comment.