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

Reviewed Changes #7

Merged
merged 6 commits into from
Aug 5, 2024
Merged

Reviewed Changes #7

merged 6 commits into from
Aug 5, 2024

Conversation

DarikshaAnsari
Copy link
Owner

  • Removed the in-toto website link from the navbar.
  • Added the Learn More section back to the navbar.
  • Added three more pages: News, Security Audit, and FAQ under Learn More section.
  • Changed a "Software Supply Chain Protection" card button to link to system overview.
  • Changed "Open, Extensible Standard" card icon to fa-book.

Copy link

netlify bot commented Jul 24, 2024

Deploy Preview for in-toto-docs ready!

Name Link
🔨 Latest commit 4f048dc
🔍 Latest deploy log https://app.netlify.com/sites/in-toto-docs/deploys/66a87822b287ac0008ecec2a
😎 Deploy Preview https://deploy-preview-7--in-toto-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

@lukpueh and @DarikshaAnsari:

  • There should not be a top-nav entry named "Learn more", instead I propose the following.
  • Learn-more/faq should be under /docs/faq
  • Learn-more/security-audit-23 should be a blog post under a Blog section. Blog should be what appears in the top nav
  • Learn-more/news can appear as a News entry in the top-nav

Also see inline comments

content/en/_index.md Show resolved Hide resolved
data/faq.yaml Outdated Show resolved Hide resolved
data/specs.yaml Outdated Show resolved Hide resolved
hugo.yaml Outdated Show resolved Hide resolved
layouts/shortcodes/faq.html Outdated Show resolved Hide resolved
layouts/shortcodes/specs.html Outdated Show resolved Hide resolved
hugo.yaml Show resolved Hide resolved
assets/scss/_styles_project.scss Outdated Show resolved Hide resolved
@DarikshaAnsari DarikshaAnsari requested a review from chalin July 25, 2024 05:15
@DarikshaAnsari
Copy link
Owner Author

DarikshaAnsari commented Jul 25, 2024

@chalin, I have made all the changes you suggested. PTAL !!!

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

Good progress. See inline comments.

content/en/blog/security-audit-23.md Outdated Show resolved Hide resolved
content/en/blog/security-audit-23.md Outdated Show resolved Hide resolved
content/en/News/_index.md Outdated Show resolved Hide resolved
content/en/_index.md Outdated Show resolved Hide resolved
content/en/_index.md Outdated Show resolved Hide resolved
content/en/docs/spec-table.md Outdated Show resolved Hide resolved
content/en/docs/faq.md Outdated Show resolved Hide resolved
content/en/docs/faq.md Outdated Show resolved Hide resolved
layouts/blog/list.html Outdated Show resolved Hide resolved
layouts/shortcodes/specs.html Outdated Show resolved Hide resolved
@lukpueh
Copy link
Collaborator

lukpueh commented Jul 26, 2024

@lukpueh and @DarikshaAnsari:

  • There should not be a top-nav entry named "Learn more", instead I propose the following.
  • Learn-more/faq should be under /docs/faq
  • Learn-more/security-audit-23 should be a blog post under a Blog section. Blog should be what appears in the top nav
  • Learn-more/news can appear as a News entry in the top-nav

Just to clarify, in my review on slack I didn't mean to re-add the "Learn more" top-nav, but rather to migrate the contents from under the old "Learn more". The structure you suggest for this sounds reasonable. :)

Speaking of my review. @DarikshaAnsari Did you plan to address my other comments as part of this PR? It's okay if not. Just wanted to make sure they are not lost. I'll paste them again here:

  • I like that the buttons and links on the landing page navigate to subpages inside docs. Maybe we can make this more consistent. That is, we map all buttons/links on the landing page to subpages . E.g. we could make "demo" and "friends" subpages in docs, to which "Try the demo" and "Explore integrations" point to. Those pages can then contain a short description of demo and friends repos and pointers to those repos. I think that might be a less disruptive experience, compared to when the user is directed to external pages right away on the landing page.

  • Why are there two search bars, one in the right top corner and one in the left navigation column? (no need to fix this now, I'm just curious)

  • Regarding content I am not sure if we should follow the recommendation from the cncf assessment and just re-publish the docs from python-in-toto as Getting started page. The documentation should represent the whole in-toto project, but the python-in-toto cli is only one of multiple in-toto implementations.

Copy link
Collaborator

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

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

The diff looks good. Please make sure to address @chalin's remaining inline comments so that we can merge this.

You can address my other comments in other PRs, and/or maybe create issues, if you want to discuss them first.

@DarikshaAnsari
Copy link
Owner Author

DarikshaAnsari commented Jul 26, 2024

@lukpueh and @DarikshaAnsari:

  • There should not be a top-nav entry named "Learn more", instead I propose the following.
  • Learn-more/faq should be under /docs/faq
  • Learn-more/security-audit-23 should be a blog post under a Blog section. Blog should be what appears in the top nav
  • Learn-more/news can appear as a News entry in the top-nav

Just to clarify, in my review on slack I didn't mean to re-add the "Learn more" top-nav, but rather to migrate the contents from under the old "Learn more". The structure you suggest for this sounds reasonable. :)

Speaking of my review. @DarikshaAnsari Did you plan to address my other comments as part of this PR? It's okay if not. Just wanted to make sure they are not lost. I'll paste them again here:

  • I like that the buttons and links on the landing page navigate to subpages inside docs. Maybe we can make this more consistent. That is, we map all buttons/links on the landing page to subpages . E.g. we could make "demo" and "friends" subpages in docs, to which "Try the demo" and "Explore integrations" point to. Those pages can then contain a short description of demo and friends repos and pointers to those repos. I think that might be a less disruptive experience, compared to when the user is directed to external pages right away on the landing page.
  • Why are there two search bars, one in the right top corner and one in the left navigation column? (no need to fix this now, I'm just curious)
  • Regarding content I am not sure if we should follow the recommendation from the cncf assessment and just re-publish the docs from python-in-toto as Getting started page. The documentation should represent the whole in-toto project, but the python-in-toto cli is only one of multiple in-toto implementations.

Sure, I have these points in my mind and will open a separate PR for these issues after this PR merges.

@DarikshaAnsari DarikshaAnsari requested review from lukpueh and chalin July 26, 2024 09:54
Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

Overall, good changes. See inline comments.

One main issue remains regarding the specs page.

What you should have in this PR is the following:

  • data/specs.yaml - same as the current site
  • layouts/shortcodes/spec-table.md - shortcode that generates the specs table in Markdown; it will be very similar to the current site's layouts/shortcodes/specs.html shortcode, but will use Makrdown instead of HTML in the shortcode. If you can't figure this out, embed the hardcoded table for now and I'll show you how we can do this in a followup PR.
  • content/en/docs/specs.md - a page that simply references the shortcode using {{% spec-table %}}.

assets/scss/_variables_project.scss Outdated Show resolved Hide resolved
assets/scss/_variables_project.scss Outdated Show resolved Hide resolved
assets/scss/_variables_project.scss Outdated Show resolved Hide resolved
assets/scss/_variables_project.scss Outdated Show resolved Hide resolved
assets/scss/_variables_project.scss Outdated Show resolved Hide resolved
content/en/docs/faq.md Outdated Show resolved Hide resolved
@DarikshaAnsari
Copy link
Owner Author

Overall, good changes. See inline comments.

One main issue remains regarding the specs page.

What you should have in this PR is the following:

  • data/specs.yaml - same as the current site
  • layouts/shortcodes/spec-table.md - shortcode that generates the specs table in Markdown; it will be very similar to the current site's layouts/shortcodes/specs.html shortcode, but will use Makrdown instead of HTML in the shortcode. If you can't figure this out, embed the hardcoded table for now and I'll show you how we can do this in a followup PR.
  • content/en/docs/specs.md - a page that simply references the shortcode using {{% spec-table %}}.

Yes, I have already removed data/specs.yaml, layouts/shortcodes/spec-table.md and use inline markdown table in spec-table.md

@DarikshaAnsari DarikshaAnsari requested a review from chalin July 30, 2024 05:21
@chalin
Copy link
Collaborator

chalin commented Jul 30, 2024

Yes, I have already removed data/specs.yaml, layouts/shortcodes/spec-table.md and use inline markdown table in spec-table.md

Clearly there's a misunderstanding. As I mentioned in my review comment, the bulleted list describes what this PR should contain. In the quoted comment of yours above you are confirming that you removed "data/specs.yaml", but it needs to be re-introduced into this PR -- that is, it should not have been removed in the first place. Do you understand what I meant in #7 (review)? If it isn't clear then we can have a video call to clarify. Let me know.

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

A few more comments, see inline.

content/en/blog/2023/security-audit-23.md Show resolved Hide resolved
content/en/docs/get-started/_index.md Show resolved Hide resolved
content/en/blog/_index.md Show resolved Hide resolved
@DarikshaAnsari
Copy link
Owner Author

If it isn't clear then we can have a video call to clarify. Let me know.

It is clear now. Sorry for the misunderstanding.

@DarikshaAnsari DarikshaAnsari requested a review from chalin July 31, 2024 12:55
Copy link
Collaborator

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

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

The diff looks good. Please make sure to address @chalin's remaining inline comments so that we can merge this.

You can address my other comments in other PRs, and/or maybe create issues, if you want to discuss them first.

Still true. :)

@lukpueh lukpueh mentioned this pull request Aug 2, 2024
@DarikshaAnsari
Copy link
Owner Author

@lukpueh Can I merge this PR and start working on other issue, so that there is no conflict.

@DarikshaAnsari DarikshaAnsari merged commit 3360bd3 into main Aug 5, 2024
4 checks passed
@chalin chalin mentioned this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants