Skip to content

Commit

Permalink
docs: update theme (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Aug 14, 2024
1 parent 24f4214 commit 5ab212c
Show file tree
Hide file tree
Showing 143 changed files with 296 additions and 308 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
GO_VERSION: stable
HUGO_VERSION: 0.117.0
HUGO_VERSION: 0.131.0
CGO_ENABLED: 0

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
GO_VERSION: stable
GOLANGCI_LINT_VERSION: v1.59.1
HUGO_VERSION: 0.117.0
HUGO_VERSION: 0.131.0
CGO_ENABLED: 0
LEGO_E2E_TESTS: CI
MEMCACHED_HOSTS: localhost:11211
Expand Down
10 changes: 4 additions & 6 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
title: "Welcome"
title: "Lego"
date: 2019-03-03T16:39:46+01:00
draft: false
chapter: true
chapter: false
---

# Lego

Let's Encrypt client and ACME library written in Go.

## Features
Expand All @@ -25,7 +23,7 @@ Let's Encrypt client and ACME library written in Go.
- TLS (tls-alpn-01)
- SAN certificate support
- [CNAME support](https://letsencrypt.org/2019/10/09/onboarding-your-customers-with-lets-encrypt-and-acme.html) by default
- Comes with multiple optional [DNS providers]({{< ref "dns" >}})
- [Custom challenge solvers]({{< ref "usage/library/Writing-a-Challenge-Solver" >}})
- Comes with multiple optional [DNS providers]({{% ref "dns" %}})
- [Custom challenge solvers]({{% ref "usage/library/Writing-a-Challenge-Solver" %}})
- Certificate bundling
- OCSP helper function
4 changes: 2 additions & 2 deletions docs/content/dns/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The environment variables can reference a value.

Here is an example bash command using the Cloudflare DNS provider:

```console
```bash
$ CLOUDFLARE_EMAIL=you@example.com \
CLOUDFLARE_API_KEY=b9841238feb177a84330febba8a83208921177bffe733 \
lego --dns cloudflare --domains www.example.com --email you@example.com run
Expand All @@ -33,7 +33,7 @@ The file must contain only the value.

Here is an example bash command using the CloudFlare DNS provider:

```console
```bash
$ cat /the/path/to/my/key
b9841238feb177a84330febba8a83208921177bffe733

Expand Down
2 changes: 1 addition & 1 deletion docs/content/dns/zz_gen_acme-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns acme-dns --domains my.example.org run
| `ACME_DNS_STORAGE_PATH` | The ACME-DNS JSON account data file. A per-domain account will be registered/persisted to this file and used for TXT updates. |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_alidns.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ lego --email you@example.com --dns alidns --domains my.example.org run
| `ALICLOUD_SECURITY_TOKEN` | STS Security Token (optional) |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -63,7 +63,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `ALICLOUD_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_allinkl.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns allinkl --domains my.example.org run
| `ALL_INKL_PASSWORD` | KAS password |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -54,7 +54,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `ALL_INKL_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_arvancloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lego --email you@example.com --dns arvancloud --domains my.example.org run
| `ARVANCLOUD_API_KEY` | API key |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -53,7 +53,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `ARVANCLOUD_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_auroradns.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns auroradns --domains my.example.org run
| `AURORA_SECRET` | Secret password to be used |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -55,7 +55,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `AURORA_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_autodns.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns autodns --domains my.example.org run
| `AUTODNS_API_USER` | Username |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -57,7 +57,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `AUTODNS_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _Please contribute by adding a CLI example._
| `instance metadata service` | If the credentials are **not** set via the environment, then it will attempt to get a bearer token via the [instance metadata service](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service). |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -58,7 +58,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `AZURE_ZONE_NAME` | Zone name to use inside Azure DNS service to add the TXT record in |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_azuredns.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ lego --domains example.com --email your_example@email.com --dns azuredns run
| `AZURE_TENANT_ID` | Tenant ID |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -93,7 +93,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `AZURE_ZONE_NAME` | Zone name to use inside Azure DNS service to add the TXT record in |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).

## Description

Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_bindman.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lego --email you@example.com --dns bindman --domains my.example.org run
| `BINDMAN_MANAGER_ADDRESS` | The server URL, should have scheme, hostname, and port (if required) of the Bindman-DNS Manager server |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -52,7 +52,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `BINDMAN_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_bluecat.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ lego --email you@example.com --dns bluecat --domains my.example.org run
| `BLUECAT_USER_NAME` | API username |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -63,7 +63,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `BLUECAT_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_brandit.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email myemail@example.com --dns brandit --domains my.example.org run
| `BRANDIT_API_USERNAME` | The API username |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -55,7 +55,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `BRANDIT_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_bunny.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lego --email you@example.com --dns bunny --domains my.example.org run
| `BUNNY_API_KEY` | API key |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -52,7 +52,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `BUNNY_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_checkdomain.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lego --email you@example.com --dns checkdomain --domains my.example.org run
| `CHECKDOMAIN_TOKEN` | API token |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -54,7 +54,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CHECKDOMAIN_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_civo.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lego --email you@example.com --dns civo --domains my.example.org run
| `CIVO_TOKEN` | Authentication token |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -52,7 +52,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CIVO_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_clouddns.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ lego --email you@example.com --dns clouddns --domains my.example.org run
| `CLOUDDNS_PASSWORD` | Account password |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -57,7 +57,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CLOUDDNS_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ lego --email you@example.com --dns cloudflare --domains my.example.org run
| `CLOUDFLARE_ZONE_API_TOKEN` | Alias to CF_ZONE_API_TOKEN |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -66,7 +66,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CLOUDFLARE_TTL` | The TTL of the TXT record used for the DNS challenge (in seconds) |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).

## Description

Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_cloudns.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns cloudns --domains my.example.org run
| `CLOUDNS_AUTH_PASSWORD` | The password for API user ID |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -56,7 +56,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CLOUDNS_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_cloudru.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ lego --email you@example.com --dns cloudru --domains my.example.org run
| `CLOUDRU_SERVICE_INSTANCE_ID` | Service Instance ID (parentId) |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -58,7 +58,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CLOUDRU_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
4 changes: 2 additions & 2 deletions docs/content/dns/zz_gen_cloudxns.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lego --email you@example.com --dns cloudxns --domains my.example.org run
| `CLOUDXNS_SECRET_KEY` | The API secret key |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration
Expand All @@ -55,7 +55,7 @@ More information [here]({{< ref "dns#configuration-and-credentials" >}}).
| `CLOUDXNS_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
More information [here]({{% ref "dns#configuration-and-credentials" %}}).



Expand Down
Loading

0 comments on commit 5ab212c

Please sign in to comment.