Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: check markdown links on the CI #958

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

vscaiceanu-1a
Copy link
Member

@vscaiceanu-1a vscaiceanu-1a commented Oct 25, 2023

Proposed change

While exploring the documentation, I've noticed some broken link.

I found markdown-link-check which does a good job for both relative and external links.

Ideally we could have 2 separate runs: one on modified files on PRs and a second one triggered every month on all md files to check for broken external links.

@vscaiceanu-1a vscaiceanu-1a requested a review from a team as a code owner October 25, 2023 14:30
@github-actions github-actions bot added the enhancement New feature or request label Oct 25, 2023
@vscaiceanu-1a vscaiceanu-1a marked this pull request as draft October 25, 2023 15:25
@matthieu-crouzet
Copy link
Contributor

Copy link

nx-cloud bot commented Jan 4, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 0e643a8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@vscaiceanu-1a vscaiceanu-1a force-pushed the feature/md-link-check branch 2 times, most recently from 4ac2896 to e972790 Compare January 4, 2024 16:21
@@ -42,15 +42,15 @@ In your generator project, a single jar file will be produced in `target`. You
java -cp "/path/to/swagger-codegen-cli.jar;/path/to/mdk/target/folder/mdk-swagger-codegen-0.0.0.jar;" \
io.swagger.codegen.SwaggerCodegen generate -l javaMdk \
-i "/path/to/your/swagger/spec/file/Airline_Public.yaml" \
-c "/pth/to/thi/project/config/swagger-codegen-config.json" \
-c "/pth/to/the/project/config/swagger-codegen-config.json" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-c "/pth/to/the/project/config/swagger-codegen-config.json" \
-c "/path/to/the/project/config/swagger-codegen-config.json" \


```
{
"groupId" : "com.airline.dapi", // Generated Maven project Goupt ID
"groupId" : "com.airline.dapi", // Generated Maven project Goupt ID
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want all of these references to dapi ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is already present twice in the repo. I created an issue to remove all references to DAPI/DES/Digital #1190

@@ -101,6 +101,3 @@ A code generator is provided to generate an extension of the **Amadeus Digital E
```bash
yarn yo @ama-sdk/sdk:api-extension
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove reference to Amadeus Digital in the line above (line 99) ?

A code generator is provided to generate an API specification extension.

@@ -106,6 +106,3 @@ A code generator is provided to generate an extension of the **Amadeus Digital E
```bash
yarn yo @ama-sdk/sdk:api-extension
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, remove reference to Amadeus Digital (line 104) ?

A code generator is provided to generate an API specification extension.

sdo-1A
sdo-1A previously approved these changes Jan 5, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you move this file to .github with other task configuration file?

@vscaiceanu-1a vscaiceanu-1a added this pull request to the merge queue Jan 8, 2024
Merged via the queue into main with commit 3403135 Jan 8, 2024
27 checks passed
@vscaiceanu-1a vscaiceanu-1a deleted the feature/md-link-check branch January 8, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants