Skip to content

Commit fa74c8d

Browse files
authored
Merge pull request #78 from CloudCannon/doclog
Docs + changelog
2 parents e2b78e7 + cac7ff6 commit fa74c8d

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
## Unreleased
1111

12+
* Added configuration for Base URL to prefix alternate links.
13+
* See [Docs > Build > Base URL](https://rosey.app/docs/build/#base-url) for more information.
14+
1215
## v2.3.1 (December 2, 2024)
1316

1417
* Fix issue where Rosey would unescape characters that were entity encoded in the source HTML.

docs/content/docs/build.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ By setting this flag, Rosey will not generate any redirect pages.
6565
|-------------------------------|----------------------------------|----------------------------|
6666
| `--default-language-at-root` | `ROSEY_DEFAULT_LANGUAGE_AT_ROOT` | `default_language_at_root` |
6767

68+
### Base URL
69+
70+
The base URL for the site. Used to prefix alternate links. Defaults to an empty string, making alternative links absolute rather than fully-qualified.
71+
72+
| CLI Flag | ENV Variable | Config Key |
73+
|--------------------|------------------|-------------|
74+
| `--base-url <URL>` | `ROSEY_BASE_URL` | `base_url` |
75+
6876
### Exclusions
6977

7078
A regular expression used to determine which files not to copy as assets. Defaults to `\.(html?|json)$`

0 commit comments

Comments
 (0)