Skip to content

Commit 1e0e869

Browse files
fix: replaced hg dependencies with github
* fix: replaced hg dependencies with github The source of truth has moved from hg to GitHub. This should keep information updated.
1 parent e8e49d7 commit 1e0e869

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
## 1.0.0 (Month Date, Year)
44

55
Initial release of the NGINX template repository.
6+
7+
## 1.0.14 (June 6, 2024)
8+
9+
Changed source and version from the Mercurial repository to the GitHub one.

reference-converter/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ flowchart
1616
fetch_atom --> download_tarball --> parse_xml --> render_md --> write --> done
1717
```
1818

19-
The NGINX docs are publicly available at <http://hg.nginx.org/nginx.org>, in XML that's a mix of data and prose (`<para>` tags contain markup). The `<para>` contents will be translated in-order to generate equivalent markdown.
19+
The NGINX docs are publicly available at <https://github.com/nginx/nginx.org/>, in XML that's a mix of data and prose (`<para>` tags contain markup). The `<para>` contents will be translated in-order to generate equivalent markdown.
2020

21-
The atom feed at <http://hg.nginx.org/nginx.org/atom-log> will tell us if there is updated content.
21+
The atom feed at <https://github.com/nginx/nginx.org/commits/main.atom> will tell us if there is updated content.
2222

2323
A scheduled github pipeline ensures that we have up-to-date reference information.
2424

reference-converter/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616

1717
var (
1818
destFlag = flag.String("dst", "reference.json", "where to write JSON output")
19-
sourceFlag = flag.String("src", "http://hg.nginx.org/nginx.org/archive/tip.tar.gz", "where to get the XML sources")
20-
feedURLFlag = flag.String("feed-url", "http://hg.nginx.org/nginx.org/atom-log", "where to get the atom feed for XML changes")
19+
sourceFlag = flag.String("src", "https://github.com/nginx/nginx.org/archive/refs/heads/main.tar.gz", "where to get the XML sources")
20+
feedURLFlag = flag.String("feed-url", "https://github.com/nginx/nginx.org/commits/main.atom", "where to get the atom feed for XML changes")
2121
baseURLFlag = flag.String("base-url", "https://nginx.org", "base URL for rendering links inside the docs")
2222
upsellURLFlag = flag.String("upsell-url", "https://nginx.com/products/", "URL for linking people to NGINX+")
2323
)

0 commit comments

Comments
 (0)