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

issue-511: Changed RBAC links in MD to absolute references to md file #512

Closed
wants to merge 1 commit into from

Conversation

joewxboy
Copy link
Member

@joewxboy joewxboy commented Aug 1, 2023

Pull Request Template

Description

In one HTML file, I changed the rbac reference from .html to the folder link. In 5 markdown files, I changed the ambiguous relative path to the MD file into an absolute reference to the path:

Was: ../../user_management/rbac.md
Now: /docs/user_management/rbac.md

Fixes #511

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

...

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have checked my code and corrected any misspellings
  • I have tagged the reviewers in a comment below incase my pull request is ready for a review
  • I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@johnwalicki FYI ...

@joewxboy joewxboy added the doc: non-technical Doc edits or improvements label Aug 1, 2023
Copy link
Member

@johnwalicki johnwalicki left a comment

Choose a reason for hiding this comment

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

Full path directory links will definitely work for the Open Horizon documentation.

Maybe the only reason these were all relative paths is because the downstream IBM documentation has a different directory structure. It was easier to keep pages in sync. Not certain it matters.

I changed my mind from Approve to Comment because if you're making changes to just the rbac link, there are many many others that are relative paths.

What problem are you trying to solve. These 6 edits might be unnecessary.

Copy link
Member

Choose a reason for hiding this comment

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

I agree with this top level change to dir.md

Copy link
Member

Choose a reason for hiding this comment

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

This proposed change in multi_tenancy.md is not necessary. The relative link works fine. There are other relative links in this file that also work fine.

Copy link
Member

Choose a reason for hiding this comment

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

This proposed change in administering_index.html is not necessary. The relative link works fine. There are other relative links in this file that also work fine.

Possibly change /rbac/ to rbac.md

Copy link
Member

Choose a reason for hiding this comment

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

maybe this link should be relative but ../../user_management/rbac.md instead of a dangling /rbac
The link DOES work fine when you visit https://open-horizon.github.io/docs/developing/secrets_details/

Copy link
Member

Choose a reason for hiding this comment

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

Both gdpr.md and rbac.md are in the same directory. The full path isn't necessary. The link to rbac works fine on https://open-horizon.github.io/docs/user_management/gdpr/

Copy link
Member

Choose a reason for hiding this comment

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

This is a slippery slope. Other relative links are on this page. No reason to change the rbac link. The pages load fine at https://open-horizon.github.io/docs/user_management/security/

@johnwalicki
Copy link
Member

Overall, I think this PR needs to be carefully reconsidered. Its a slippery slope. It doesn't actually fix any problems and creates inconsistency.

@johnwalicki
Copy link
Member

If we're solving for the Orphan Pages report, something is more fundamentally broken with that GHA. The rbac page is linked to from 6 other pages.

@joewxboy
Copy link
Member Author

joewxboy commented Aug 2, 2023

OK, good points, closing.

@joewxboy joewxboy closed this Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc: non-technical Doc edits or improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Orphan Pages
2 participants