docs: rearranged cli/runtime related sections #6275
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
How did you verify your code works?
N/A
Reason and Changes
Added Scaffolding section (
docs/scaffolding/
)bun run
bun init
andbun create
shall be separated into two different sub pages, as users shall use eitherbun init
orbun create
to scaffold a new project. (docs/scaffolding/bun-create.md
anddocs/scaffolding/bun-init.md
)docs/scaffolding/typescript.md
)Extracted
bun add --global
into separate sub page. (docs/install/global-install.md
)bun add --global
is not to adding package to the local project folder.package.json
) inside the local project folder, it should be extracted as a new sub page.Relocated or Removed obsoleted files
docs/typescript.md
,docs/cli/bun-init.md
, anddocs/templates.md
Added Information in
installation.md
for the manual global installation setup in macOS / Linux (bash).Updated
nav.ts
accordinglyUpdated
README.md
for the revised docs path.Added
bun --version
andbun --revision
ininstallation.md
for users to check the installation.