Skip to content

Commit de68b1f

Browse files
committed
Fix URLs in generated readme.md
1 parent eebabe8 commit de68b1f

File tree

15 files changed

+35
-35
lines changed

15 files changed

+35
-35
lines changed

generators/angular/generators/bootstrap/__snapshots__/generator.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`generator - angular:bootstrap bootstrapping default config should prepa
117117
"devServerPortProxy": 9000,
118118
"dockerContainers": Any<Object>,
119119
"dockerServicesDir": "src/main/docker/",
120-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
120+
"documentationArchiveUrl": "https://www.jhipster.tech/",
121121
"dtoSuffix": "DTO",
122122
"dynamic": undefined,
123123
"embeddableLaunchScript": undefined,

generators/app/__snapshots__/generator.spec.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ exports[`generator - app with default config should match snapshot 1`] = `
451451
"postgresql",
452452
],
453453
"dockerServicesDir": "src/main/docker/",
454-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
454+
"documentationArchiveUrl": "https://www.jhipster.tech/",
455455
"domains": [
456456
"com.mycompany.myapp",
457457
],
@@ -1135,7 +1135,7 @@ exports[`generator - app with gateway should match snapshot 1`] = `
11351135
"postgresql",
11361136
],
11371137
"dockerServicesDir": "src/main/docker/",
1138-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
1138+
"documentationArchiveUrl": "https://www.jhipster.tech/",
11391139
"domains": [
11401140
"com.mycompany.myapp",
11411141
],
@@ -1804,7 +1804,7 @@ exports[`generator - app with microservice should match snapshot 1`] = `
18041804
"postgresql",
18051805
],
18061806
"dockerServicesDir": "src/main/docker/",
1807-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
1807+
"documentationArchiveUrl": "https://www.jhipster.tech/",
18081808
"domains": [
18091809
"com.mycompany.myapp",
18101810
],

generators/base-simple-application/__snapshots__/application.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`application mutation test expects mutateApplication to match snapshot 1`] = `
44
{
55
"customizeTemplatePaths": [],
6-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vjhipsterVersion",
6+
"documentationArchiveUrl": "https://www.jhipster.tech/",
77
"hipsterBugTrackerLink": "https://github.com/jhipster/generator-jhipster/issues?state=open",
88
"hipsterBugTrackerProductName": "JHipster",
99
"hipsterChatLink": "https://gitter.im/jhipster/generator-jhipster",

generators/base-simple-application/application.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export const mutateApplication = {
7676
hipsterChatLink: 'https://gitter.im/jhipster/generator-jhipster',
7777

7878
projectDescription: ({ projectDescription, humanizedBaseName }) => projectDescription ?? `Description for ${humanizedBaseName}`,
79-
documentationArchiveUrl: ({ jhipsterVersion, hipsterDocumentationLink }) =>
80-
`${hipsterDocumentationLink}documentation-archive/v${jhipsterVersion}`,
79+
documentationArchiveUrl: ({ hipsterDocumentationLink }) =>
80+
`${hipsterDocumentationLink}`,
8181

8282
jhipsterPackageJson: packageJson,
8383
} as const satisfies MutateDataPropertiesWithRequiredProperties<

generators/ci-cd/__snapshots__/generator.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ exports[`generator - ci-cd cli with multiples values should match context snapsh
139139
"dockerContainers": Any<Object>,
140140
"dockerImage": undefined,
141141
"dockerServicesDir": "src/main/docker/",
142-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
142+
"documentationArchiveUrl": "https://www.jhipster.tech/",
143143
"domains": [
144144
"com.mycompany.myapp",
145145
],

generators/client/generators/bootstrap/__snapshots__/generator.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`generator - client:bootstrap bootstrapping default config should prepar
117117
"devServerPortProxy": 9000,
118118
"dockerContainers": Any<Object>,
119119
"dockerServicesDir": "src/main/docker/",
120-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
120+
"documentationArchiveUrl": "https://www.jhipster.tech/",
121121
"dtoSuffix": "DTO",
122122
"dynamic": undefined,
123123
"embeddableLaunchScript": undefined,

generators/common/__snapshots__/generator.spec.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ plugins:
123123
"README.md": {
124124
"contents": "# jhipster
125125
126-
This application was generated using JHipster JHIPSTER_VERSION, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION](https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION).
126+
This application was generated using JHipster JHIPSTER_VERSION, you can find documentation and help at [https://www.jhipster.tech/releases/](https://www.jhipster.tech/releases/).
127127
128128
129129
## Project Structure
@@ -141,13 +141,13 @@ This application was generated using JHipster JHIPSTER_VERSION, you can find doc
141141
142142
143143
[JHipster Homepage and latest documentation]: https://www.jhipster.tech/
144-
[JHipster JHIPSTER_VERSION archive]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION
145-
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/development/
146-
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/docker-compose
147-
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/production/
148-
[Running tests page]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/running-tests/
149-
[Code quality page]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/code-quality/
150-
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION/setting-up-ci/
144+
[JHipster releases]: https://www.jhipster.tech/releases/
145+
[Using JHipster in development]: https://www.jhipster.tech/development/
146+
[Using Docker and Docker-Compose]: https://www.jhipster.tech/docker-compose
147+
[Using JHipster in production]: https://www.jhipster.tech/production/
148+
[Running tests page]: https://www.jhipster.tech/running-tests/
149+
[Code quality page]: https://www.jhipster.tech/code-quality/
150+
[Setting up Continuous Integration]: https://www.jhipster.tech/setting-up-ci/
151151
152152
[Node.js]: https://nodejs.org/
153153
[NPM]: https://www.npmjs.com/

generators/common/generators/bootstrap/__snapshots__/generator.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ exports[`generator - common:bootstrap bootstrapping default config should prepar
109109
"devServerPortProxy": 9000,
110110
"dockerContainers": Any<Object>,
111111
"dockerServicesDir": "src/main/docker/",
112-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
112+
"documentationArchiveUrl": "https://www.jhipster.tech/",
113113
"dtoSuffix": "DTO",
114114
"dynamic": undefined,
115115
"embeddableLaunchScript": undefined,

generators/common/templates/README.md.jhi.ejs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
_&>
3535
# <%= baseName %>
3636

37-
This application was generated using JHipster <%= jhipsterVersion %>, you can find documentation and help at [<%= documentationArchiveUrl %>](<%= documentationArchiveUrl %>).
37+
This application was generated using JHipster <%= jhipsterVersion %>, you can find documentation and help at [<%= documentationArchiveUrl %>releases/](<%= documentationArchiveUrl %>releases/).
3838

3939
<&- fragments.introSection() &>
4040
## Project Structure
@@ -57,22 +57,22 @@ This application was generated using JHipster <%= jhipsterVersion %>, you can fi
5757
<&- fragments.othersSection() &>
5858
<& } &>
5959
[JHipster Homepage and latest documentation]: <%= hipsterDocumentationLink %>
60-
[JHipster <%= jhipsterVersion %> archive]: <%= documentationArchiveUrl %>
60+
[JHipster releases]: <%= documentationArchiveUrl %>releases/
6161
<%_ if (applicationTypeGateway || applicationTypeMicroservice) { _%>
62-
[Doing microservices with JHipster]: <%= documentationArchiveUrl %>/microservices-architecture/
62+
[Doing microservices with JHipster]: <%= documentationArchiveUrl %>microservices-architecture/
6363
<%_ } _%>
64-
[Using JHipster in development]: <%= documentationArchiveUrl %>/development/
64+
[Using JHipster in development]: <%= documentationArchiveUrl %>development/
6565
<%_ if (serviceDiscoveryEureka) { _%>
66-
[Service Discovery and Configuration with the JHipster-Registry]: <%= documentationArchiveUrl %>/microservices-architecture/#jhipster-registry
66+
[Service Discovery and Configuration with the JHipster-Registry]: <%= documentationArchiveUrl %>microservices-architecture/#jhipster-registry
6767
<%_ } _%>
6868
<%_ if (serviceDiscoveryConsul) { _%>
69-
[Service Discovery and Configuration with Consul]: <%= documentationArchiveUrl %>/microservices-architecture/#consul
69+
[Service Discovery and Configuration with Consul]: <%= documentationArchiveUrl %>microservices-architecture/#consul
7070
<%_ } _%>
71-
[Using Docker and Docker-Compose]: <%= documentationArchiveUrl %>/docker-compose
72-
[Using JHipster in production]: <%= documentationArchiveUrl %>/production/
73-
[Running tests page]: <%= documentationArchiveUrl %>/running-tests/
74-
[Code quality page]: <%= documentationArchiveUrl %>/code-quality/
75-
[Setting up Continuous Integration]: <%= documentationArchiveUrl %>/setting-up-ci/
71+
[Using Docker and Docker-Compose]: <%= documentationArchiveUrl %>docker-compose
72+
[Using JHipster in production]: <%= documentationArchiveUrl %>production/
73+
[Running tests page]: <%= documentationArchiveUrl %>running-tests/
74+
[Code quality page]: <%= documentationArchiveUrl %>code-quality/
75+
[Setting up Continuous Integration]: <%= documentationArchiveUrl %>setting-up-ci/
7676

7777
[Node.js]: https://nodejs.org/
7878
[NPM]: https://www.npmjs.com/

generators/java/generators/bootstrap/__snapshots__/generator.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ exports[`generator - java:bootstrap bootstrapping default config should prepare
112112
"devServerPortProxy": 9000,
113113
"dockerContainers": Any<Object>,
114114
"dockerServicesDir": "src/main/docker/",
115-
"documentationArchiveUrl": "https://www.jhipster.tech/documentation-archive/vJHIPSTER_VERSION",
115+
"documentationArchiveUrl": "https://www.jhipster.tech/",
116116
"domains": Any<Array>,
117117
"dtoSuffix": "DTO",
118118
"dynamic": undefined,

0 commit comments

Comments
 (0)