Skip to content

Commit e13d886

Browse files
committed
Reduce GitHub README length with foldable sections
1 parent 032e710 commit e13d886

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/README.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ See below for a [full list of commands](#commands).
3535

3636
# Installation
3737

38-
## Docker or Podman
39-
38+
<details>
39+
<summary>Docker or Podman</summary>
4040
If you have Docker or Podman installed, the easist way to use imap-backup
4141
is via the container image.
4242

@@ -75,19 +75,21 @@ docker run -v ./my-config:/config -v ./my-data:/data -ti ghcr.io/joeyates/imap-b
7575
--dns 8.8.8.8 \
7676
imap-backup backup -c /config/imap-backup.json
7777
```
78+
</details>
7879

79-
## Homebrew (macOS)
80-
80+
<details>
81+
<summary>Homebrew (macOS)</summary>
8182
![Homebrew installs](https://img.shields.io/homebrew/installs/dm/imap-backup?label=Homebrew%20installs)
8283

8384
If you have [Homebrew](https://brew.sh/), do this:
8485

8586
```sh
8687
brew install imap-backup
8788
```
89+
</details>
8890

89-
## As a Ruby Gem
90-
91+
<details>
92+
<summary>As a Ruby Gem</summary>
9193
* [Rubygem]
9294

9395
```sh
@@ -97,10 +99,12 @@ gem install imap-backup --no-document
9799
If that doesn't work, see the [detailed installation instructions](/docs/installation/rubygem.md).
98100

99101
[Rubygem]: https://rubygems.org/gems/imap-backup "Ruby gem at rubygems.org"
102+
</details>
100103

101-
## From Source Code
102-
104+
<details>
105+
<summary>From Source Code</summary>
103106
If you want to use imap-backup directly from the source code, see [here](/docs/installation/source.md).
107+
</details>
104108

105109
# Setup
106110

0 commit comments

Comments
 (0)