-
Notifications
You must be signed in to change notification settings - Fork 161
Update lock-server.md #12747
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
base: main
Are you sure you want to change the base?
Update lock-server.md #12747
Conversation
The Lock Server documentation had two broken links in the "See Also" section: 1. Cedarling Documentation: - Previous: ../../../docs/cedarling.md - Updated: ../../../jans-cedarling/README.md - Reason: The original path returned 404; the correct path points to the Cedarling README in the jans-cedarling repo. 2. Duplicate 'See Also' heading was removed for clarity. These changes ensure that all links in the documentation resolve correctly and provide accurate references to Cedarling resources. Signed-off-by: PEDDINENI VENKATA SUSMITHA <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughThis pull request fixes broken documentation links in the Lock Server documentation. The "See Also" section is reformatted from a bold list to a plain bullet-point list, and external reference paths are updated: the Cedarling Documentation link is corrected to point to the proper jans-cedarling repository location, while the Jans CLI Reference link path remains semantically equivalent with formatting adjustments. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (1)
docs/janssen-server/lock/lock-server.md(1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: ossdhaval
Repo: JanssenProject/jans PR: 12539
File: docs/janssen-server/auth-server/client-management/software-statements.md:29-29
Timestamp: 2025-10-30T15:21:12.720Z
Learning: In the Janssen Project documentation (docs/ directory), relative links in markdown files work correctly when tested locally even when intermediate directory segments like "janssen-server" appear to be missing from the relative path. The documentation build system handles path resolution appropriately, so local testing by developers is authoritative for verifying link correctness.
📚 Learning: 2025-10-30T15:21:12.720Z
Learnt from: ossdhaval
Repo: JanssenProject/jans PR: 12539
File: docs/janssen-server/auth-server/client-management/software-statements.md:29-29
Timestamp: 2025-10-30T15:21:12.720Z
Learning: In the Janssen Project documentation (docs/ directory), relative links in markdown files work correctly when tested locally even when intermediate directory segments like "janssen-server" appear to be missing from the relative path. The documentation build system handles path resolution appropriately, so local testing by developers is authoritative for verifying link correctness.
Applied to files:
docs/janssen-server/lock/lock-server.md
📚 Learning: 2025-11-05T19:45:46.720Z
Learnt from: iromli
Repo: JanssenProject/jans PR: 12623
File: docker-jans-auth-server/Dockerfile:75-78
Timestamp: 2025-11-05T19:45:46.720Z
Learning: The jans-lock-cedarling artifact is available in the Janssen Maven repository at https://jenkins.jans.io/maven/io/jans/jans-lock-cedarling/0.0.0-nightly/ for the nightly version.
Applied to files:
docs/janssen-server/lock/lock-server.md
📚 Learning: 2025-11-19T12:55:01.596Z
Learnt from: yuriyz
Repo: JanssenProject/jans PR: 12596
File: docs/janssen-server/auth-server/tokens/oauth-tx-tokens.md:146-257
Timestamp: 2025-11-19T12:55:01.596Z
Learning: In the Janssen project, the TxToken custom script documentation is intentionally duplicated in both `docs/janssen-server/auth-server/tokens/oauth-tx-tokens.md` and `docs/script-catalog/tx_token/txtoken.md` to provide easy access from both the transaction token documentation and the script catalog.
Applied to files:
docs/janssen-server/lock/lock-server.md
🪛 markdownlint-cli2 (0.18.1)
docs/janssen-server/lock/lock-server.md
688-688: Multiple headings with the same content
(MD024, no-duplicate-heading)
🔇 Additional comments (1)
docs/janssen-server/lock/lock-server.md (1)
690-694: Verify updated link paths resolve correctly.The Cedarling Documentation link has been updated to point to
../../../jans-cedarling/README.md. Before merging, ensure these relative paths resolve correctly in the documentation build system.Based on learnings from prior Janssen Project PRs, relative links in markdown files are validated by the documentation build system rather than local file system checks. Please confirm that:
- The new Cedarling link
../../../jans-cedarling/README.mdresolves correctly in your local build- The Jans CLI Reference path
../config-guide/config-tools/jans-cli/README.mdcontinues to work as expected
| ## See Also | ||
|
|
||
| - **[Janssen Lock Overview](./README.md)**: Complete Lock ecosystem documentation | ||
| - **[Cedarling Documentation](../../cedarling/README.md)**: Client-side authorization engine | ||
| - **[Cedar Policy Language](https://docs.cedarpolicy.com/)**: Official Cedar documentation | ||
| - **[OAuth 2.0 Configuration](../auth-server/oauth-features/README.md)**: OAuth implementation details | ||
| - **[Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md)**: Command-line interface documentation | ||
| ## See Also | ||
|
|
||
| - [Janssen Lock Overview](./README.md): Complete Lock ecosystem documentation | ||
| - [Cedarling Documentation](../../../jans-cedarling/README.md): Client-side authorization engine | ||
| - [Cedar Policy Language](https://docs.cedarpolicy.com/): Official Cedar documentation | ||
| - [OAuth 2.0 Configuration](../auth-server/oauth-features/README.md): OAuth implementation details | ||
| - [Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md): Command-line interface documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate "See Also" heading introduces markdown linting violation.
You better think twice! There are two consecutive "## See Also" headings (lines 686 and 688), which violates the MD024 markdown lint rule that static analysis just flagged. Your PR objectives state you're removing a duplicate heading, but the current code shows both headings present.
Remove line 688's duplicate heading to keep the section clean:
## See Also
-## See Also
-
- [Janssen Lock Overview](./README.md): Complete Lock ecosystem documentation
- [Cedarling Documentation](../../../jans-cedarling/README.md): Client-side authorization engine
- [Cedar Policy Language](https://docs.cedarpolicy.com/): Official Cedar documentation
- [OAuth 2.0 Configuration](../auth-server/oauth-features/README.md): OAuth implementation details
- [Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md): Command-line interface documentationThe link updates themselves look good (Cedarling docs path corrected to ../../../jans-cedarling/README.md), but this duplicate heading issue needs fixing before merge.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| ## See Also | |
| - **[Janssen Lock Overview](./README.md)**: Complete Lock ecosystem documentation | |
| - **[Cedarling Documentation](../../cedarling/README.md)**: Client-side authorization engine | |
| - **[Cedar Policy Language](https://docs.cedarpolicy.com/)**: Official Cedar documentation | |
| - **[OAuth 2.0 Configuration](../auth-server/oauth-features/README.md)**: OAuth implementation details | |
| - **[Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md)**: Command-line interface documentation | |
| \ No newline at end of file | |
| ## See Also | |
| - [Janssen Lock Overview](./README.md): Complete Lock ecosystem documentation | |
| - [Cedarling Documentation](../../../jans-cedarling/README.md): Client-side authorization engine | |
| - [Cedar Policy Language](https://docs.cedarpolicy.com/): Official Cedar documentation | |
| - [OAuth 2.0 Configuration](../auth-server/oauth-features/README.md): OAuth implementation details | |
| - [Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md): Command-line interface documentation | |
| ## See Also | |
| - [Janssen Lock Overview](./README.md): Complete Lock ecosystem documentation | |
| - [Cedarling Documentation](../../../jans-cedarling/README.md): Client-side authorization engine | |
| - [Cedar Policy Language](https://docs.cedarpolicy.com/): Official Cedar documentation | |
| - [OAuth 2.0 Configuration](../auth-server/oauth-features/README.md): OAuth implementation details | |
| - [Jans CLI Reference](../config-guide/config-tools/jans-cli/README.md): Command-line interface documentation |
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
688-688: Multiple headings with the same content
(MD024, no-duplicate-heading)
🤖 Prompt for AI Agents
In docs/janssen-server/lock/lock-server.md around lines 686 to 694 there are two
consecutive "## See Also" headings causing an MD024 markdown lint violation;
remove the duplicate heading on line 688 so only a single "## See Also" remains
and keep the following link list unchanged (ensure spacing/line breaks around
the remaining heading are correct).
The Lock Server documentation had two broken links in the "See Also" section:
Cedarling Documentation:
Duplicate 'See Also' heading was removed for clarity.
These changes ensure that all links in the documentation resolve correctly and provide accurate references to Cedarling resources.
Prepare
Description
This PR fixes broken links in the Lock Server documentation "See Also" section and removes a duplicate heading.
Target issue
closes #issue-number-here
closes #11916
Implementation Details
Previous: ../../../docs/cedarling.md
Updated: ../../../jans-cedarling/README.md
Reason: The previous link returned 404; the new link correctly points to the Cedarling README in the jans-cedarling repository.
Removed duplicate 'See Also' heading for clarity and better readability.
Test and Document the changes
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.