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

chore(docs): refactoring guides and some other nits #6175

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

signorecello
Copy link
Contributor

@signorecello signorecello commented Sep 30, 2024

This closes the remaining work for restoring some of the devex regression around noir and bb, and other docs improvements including homepage removal and redirects set-up.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 30, 2024
Copy link
Contributor

github-actions bot commented Sep 30, 2024

Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

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

This PR is enshrining noirenberg as the primary installation method for Noir which isn't what was agreed on slack and is a "backtrace into the valley" as @Savio-Sou put it. It can be placed in "Alternative installations" under noirup or under bb in "Proving backend installation" but it's not an installation method which is supported and tested by the Noir team so it should not take priority over noirup.

We should also not merge the "hello noir" page into the installation tooling page as they're two separate things and if we're having multiple installation methods then it doesn't make sense to inline that content into just one of them.

@critesjosh
Copy link
Contributor

do we want to remove the homepage? I thought we were going to to keep it (@Savio-Sou) since you don't typically first land on a docs site when going a web page. I know the homepage right now isn't the prettiest, but at least it works as a placeholder so if we want to update the homepage in the future we won't have to restructure again.

Removing the homepage will also break all existing links to noir docs out on the web since it removes /docs/ from the url

@signorecello
Copy link
Contributor Author

I was under the impression we wanted to remove it but didn't because of the redirects, but I fixed the redirects in netlify.toml (links with /docs/ redirect to the correct pages)

Glad to keep it, though, if it's useful

@critesjosh
Copy link
Contributor

I'll defer to @Savio-Sou on whether we want to keep it or not.

@signorecello signorecello changed the title chore(docs): nits for now chore(docs): refactoring guides and some other nits Oct 8, 2024
@Savio-Sou
Copy link
Collaborator

do we want to remove the homepage?

We would like to update it in the long run.

I would prefer keeping it unless it is stirring confusions / frictions in our community.

@Savio-Sou
Copy link
Collaborator

Created #6222 and #6223 (also partly relevant AztecProtocol/aztec-packages#8530) from this PR.

Recommend closing and splitting this PR up to tackle the Issues individually; easier to review and merge that way.

@signorecello
Copy link
Contributor Author

Keeping the homepage, this PR actually does only one thing, which is updating docs. It does tackle two issues because the new getting started guide does both.

I'll make the change to keep the homepage

@Savio-Sou
Copy link
Collaborator

Thanks Ze, let us know when the PR description + PR is ready for a re-reivew 🙌

docs/docs/getting_started.md Outdated Show resolved Hide resolved
docs/docs/getting_started.md Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I wanted to remove the only rule there so it didn't make sense to keep the file

Copy link
Member

Choose a reason for hiding this comment

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

I mean, why remove the rule?

The easiest way to use Noir is through `nargo` (inspired by Rust's `cargo`). You can use `noirup` to quickly install `nargo`:

```bash
curl -L noirup.dev | bash
Copy link
Member

Choose a reason for hiding this comment

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

Who currently owns this domain?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have it for the time being

Copy link
Collaborator

Choose a reason for hiding this comment

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

To minimize complications / risks, best to:

  • First transfer ownership, or
  • Revert to the GitHub hyperlink

before merging.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed, I'd like this to be an "officially owned" domain before we push people towards it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll transfer the ownership before merging so we don't have to iterate later

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Both noirup and bbup seems to work

docs/docs/getting_started.md Outdated Show resolved Hide resolved
@Savio-Sou
Copy link
Collaborator

On my recent commit b9801d0, not sure if that conflicts with any best practices, but having Quick Start as a standalone page feels more natural to me than as the Getting Started category page.

(Sorry for pushing it directly, not sure how to cleanly commit locally edits as PR suggestions; feel free to revert if undesirable.)

Copy link
Collaborator

@Savio-Sou Savio-Sou left a comment

Choose a reason for hiding this comment

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

Suggestions for the "Quick Start" page

docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Outdated Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Show resolved Hide resolved
Copy link
Collaborator

@Savio-Sou Savio-Sou left a comment

Choose a reason for hiding this comment

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

Supplement minor sectioning under Installation for better readability

docs/docs/getting_started/quick_start.md Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Show resolved Hide resolved
Copy link
Collaborator

@Savio-Sou Savio-Sou left a comment

Choose a reason for hiding this comment

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

I still think removing the "Steps 1-6" framing from the current docs makes the E2E flow more obscure than easier to follow

Copy link
Collaborator

@Savio-Sou Savio-Sou left a comment

Choose a reason for hiding this comment

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

Thanks for proactively snapping the domains!

To minimize maintenance complications / UX risks though, great if you can:

  • Complete domain ownership transfer, OR
  • Revert to the GitHub hyperlink

before merging

docs/docs/getting_started/quick_start.md Show resolved Hide resolved
docs/docs/getting_started/quick_start.md Show resolved Hide resolved
Copy link
Collaborator

@Savio-Sou Savio-Sou left a comment

Choose a reason for hiding this comment

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

Domain transfer is now in progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge "Getting Started" documentation sections into one simple, end-to-end page
4 participants