-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Conversation
@jacobcreech Should we consider change some of the cards on the developers home page to use any of these quickstart guides? |
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.
Looking good. A few nits here and there. Is there a way to have a toggle between Rust <> Playground based on the user, defaulting to Playground? Seems like we also have a bunch of copy the same across the two pages. Are you worried it may affect SEO?
docs/src/getstarted/hello-world.md
Outdated
|
||
#### Congratulations! | ||
|
||
You have successfully setup, built, and deployed a Solana program using the Rust language directly in your browser. |
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.
Should we have something that executes the instruction? Otherwise the user won't ever see the "hello world" logged and not have the "aha success!" moment
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.
Ideally, yes. But I think that would require adding another section to this page about setting up, building, and connecting a web3.js app to be able to right? Which we can certainly add, I just figured this was a bit lighter to get through
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.
imo we should close the loop on actually logging "Hello World" on the blockchain. The information required to use web3.js in a test shouldn't be too long, but is vital for completing the Hello World tutorial.
At a later date playground will have support for writing JS and Rust tests and we'll be able to leverage that.
docs/src/getstarted/hello-world.md
Outdated
keywords: "playground, solana pg, on chain, rust, native program, tutorial, intro to solana development, blockchain developer, blockchain tutorial, web3 developer" | ||
--- | ||
|
||
For this quickstart guide, we will use [Solana Playground](https://beta.solpg.io), a browser the based IDE, to develop and deploy our Solana program. To use it, you do **NOT** have to install any software on your computer. Simply open Solana Playground in your browser of choice, and you are read to write and deploy Solana programs. |
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.
Do we still call them "quickstart guides" if they're under getting started
now?
I think it is fine to call them quickstarts in the title and paragraph since they are synonymous. But I can change them away from using the phase all together if you desire |
Pull request has been modified.
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.
Awesome work! This will help improve mean time to hello world by a ton
* feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program
* feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program
* feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program
* feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program
* feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program
* [docs] Adding content pages under "developing" section (#26816) * feat: added intro to dApps and programs pages * style: removed whitespaces and updates MD syntax * fix: spellcheck * feat: what is rent page * fix: fix typos and removed whitespaces * fix: updated terminolgy * feat: added what is web 3 page * fix: removed dapps and web3 pages * feat: added links to the developing sidebar * fix: updated text based on comments * fix: fixed link * fix: fixed the incorrect/unknown redirects (#26844) * docs: updated "transaction fees" page (#26861) * docs: transaction fees, compute units, compute budget * docs: added messages definition * Revert "docs: added messages definition" This reverts commit 3c56156. * docs: added messages definition * Update docs/src/transaction_fees.md Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com> * fix: updates from feedback Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com> * docs: updated absolute routes to local routes (#27004) * [docs] Docs sidebar/navbar restructure (#27005) * fix: minor title changes * fix: updated structure of 2 pages * fix: proposals page and submitting one added proposals page and made it clear how to submit one * fix: minor update to docs home page * fix: footer links added more footer links and minor restructure * fix: sidebar restructure * fix: removed duplicate geyser link * fix: sidebars and navbar final separation of sidebars and updated navbar * fix: formatting for the navbar icons * fix: changes some sidebar links to refs * style: changed order of footer's SPL link * style: removed comment and fixed whitespace check * [docs] added commitment page (#27265) feat: added commitment doc * [docs] developers home page (#27436) * feat: developers landing page * fix: updated links * fix: updated labels for translateIds * refactor: updated index page to use Card component * style: removed whitespace * refactor: added static labels for developer sidebar items * feat: developer's sidebar and new layout file * chore: removed whitespace * fix: removed duplicate CLI sidebar item * fix: card shadows and RPC card text * [docs] quickstart guides (#27592) * feat(wip): rust quickstart page * feat: added quickstart pages * fix: updated cards and card layout * feat: added quickstart home (and to sidebar ) * fix: updated quickstarts * fix: renamed to get started * fix: typos and seo * fix: JS example to interact with the onchain program * fix empty link Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com> Co-authored-by: nickfrosty <nfrostbutter@gmail.com> Co-authored-by: Jacob Creech <82475023+jacobcreech@users.noreply.github.com>
Problem
The time it takes to get a new developer into the docs and to be productive is too long. Quickstart guides will help
Summary of Changes