Skip to content

Commit

Permalink
Minor fixes (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank authored Oct 2, 2024
1 parent 4a42090 commit c78806b
Show file tree
Hide file tree
Showing 24 changed files with 63 additions and 56 deletions.
7 changes: 1 addition & 6 deletions runtime/_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,8 @@ export const sidebar = [
"/runtime/tutorials/how_to_with_npm/vue/",
"/runtime/tutorials/connecting_to_databases/",
{
label: "Advanced Examples",
label: "More tutorials",
items: [
"/runtime/tutorials/file_server/",
{
label: "Unix cat",
id: "/examples/unix-cat/",
},
"/runtime/tutorials/file_server/",
"/runtime/tutorials/subprocess/",
"/runtime/tutorials/os_signals/",
Expand Down
2 changes: 1 addition & 1 deletion runtime/fundamentals/debugging.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Debugging Your Code"
title: "Debugging your code"
oldUrl:
- /runtime/manual/getting_started/debugging_your_code/
- /runtime/manual/basics/debugging_your_code/
Expand Down
2 changes: 1 addition & 1 deletion runtime/fundamentals/linting_and_formatting.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Linting and Formatting"
title: "Linting and formatting"
---

In an ideal world, your code is always clean, consistent, and free of pesky
Expand Down
2 changes: 1 addition & 1 deletion runtime/fundamentals/web_dev.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Web Development"
title: "Web development"
oldUrl:
- /runtime/manual/getting_started/web_frameworks/
- /runtime/fundamentals/web_frameworks/
Expand Down
2 changes: 1 addition & 1 deletion runtime/fundamentals/workspaces.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Workspaces and Monorepos"
title: "Workspaces and monorepos"
oldUrl: /runtime/manual/basics/workspaces
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/getting_started/command_line_interface.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Command Line Interface
title: Command line interface
oldUrl:
- /manual/getting_started/command_line_interface
- /runtime/manual/getting_started/command_line_interface/
Expand Down
2 changes: 1 addition & 1 deletion runtime/getting_started/setup_your_environment.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Set Up Your Environment"
title: "Set up your environment"
oldUrl: /runtime/manual/getting_started/setup_your_environment/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/help.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Where To Get Help"
title: "Where to get help"
old_url: /runtime/manual/help/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/reference/continuous_integration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Continuous Integration"
title: "Continuous integration"
oldUrl: /runtime/manual/advanced/continuous_integration
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/reference/private_repositories.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Private Modules and Repositories"
title: "Private modules and repositories"
oldUrl: /runtime/manual/advanced/private_repositories/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/digital_ocean.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "How to Deploy Deno to Digital Ocean"
title: "How to deploy Deno to Digital Ocean"
oldUrl: /runtime/manual/advanced/deploying_deno/digital_ocean/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/fetch_data.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Fetch and Stream Data"
title: "Fetch and stream data"
oldUrl:
- /runtime/manual/examples/fetch_data/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/file_server.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "File Server"
title: "Write a file server"
oldUrl:
- /runtime/manual/examples/file_server/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/file_system_events.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "File System Events"
title: "File system events"
oldUrl:
- /runtime/manual/examples/file_system_events/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/google_cloud_run.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "How to Deploy to Google Cloud Run"
title: "How to deploy to Google Cloud Run"
oldUrl: /runtime/manual/advanced/deploying_deno/google_cloud_run/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/hashbang.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Executable Scripts"
title: "Executable scripts"
oldUrl:
- /runtime/manual/examples/hashbang/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/how_to_with_npm/mongoose.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and adds and updates a dinosaur to the database.
First, we'll create the necessary files and directories:

```console
$ touch main.ts && mkdir model && touch model/Dinosaur.ts
touch main.ts && mkdir model && touch model/Dinosaur.ts
```

In `/model/Dinosaur.ts`, we'll import `npm:mongoose`, define the [schema], and
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/how_to_with_npm/redis.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "How to Use Redis with Deno"
title: "How to use Redis with Deno"
oldUrl:
- /runtime/manual/examples/how_to_with_npm/redis/
---
Expand Down
68 changes: 40 additions & 28 deletions runtime/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,56 @@
---
title: "Examples"
title: "Tutorials"
sidebar_title: "Overview"
pagination_next: /runtime/tutorials/hello_world
oldUrl:
- /runtime/manual/examples/
- /runtime/manual/examples/how_to_with_npm/
---

Here you can find some example programs that you can use to learn more about the
runtime.
Walkthrough tutorials to teach you about the Deno runtime and how to use it with
your favorite tools.

## Basic
## Basics

- [Hello World](./hello_world.md)
- [Fetch Data](./fetch_data.md)
- [Read and Write Files](./read_write_files.md)
- [Hashbang](./hashbang.md)
- [Hello World](/runtime/tutorials/hello_world/)
- [Fetch and stream data](/runtime/tutorials/fetch_data/)
- [Make executable scripts](/runtime/tutorials/hashbang/)
- [Convert CJS to ESM](/runtime/tutorials/cjs_to_esm/)
- [Write a file server](./file_server.md)

## Advanced
## Web frameworks and libraries

- [Unix cat Program](./unix_cat.md)
- [HTTP Web Server](./http_server.md)
- [File Server](./file_server.md)
- [TCP echo Server](./tcp_echo.md)
- [Creating a Subprocess](./subprocess.md)
- [OS Signals](./os_signals.md)
- [File System Events](./file_system_events.md)
- [Module Metadata](./module_metadata.md)

## npm module examples

- [Apollo](./how_to_with_npm/apollo.md)
- [Express](./how_to_with_npm/express.md)
- [Mongoose](./how_to_with_npm/mongoose.md)
- [MySQL](./how_to_with_npm/mysql2.md)
- [PlanetScale](./how_to_with_npm/planetscale.md)
- [Prisma](./how_to_with_npm/prisma.md)
- [React](./how_to_with_npm/react.md)
- [Redis](./how_to_with_npm/redis.md)
- [Vue](./how_to_with_npm/vue.md)
- [Next.js](./how_to_with_npm/react.md)
- [Vue.js](./how_to_with_npm/vue.md)
- [Express](/runtime/tutorials/how_to_with_npm/express/)
- [Apollo GraphQL](/runtime/tutorials/how_to_with_npm/apollo/)

## Deploying Deno projects

- [AWS Lambda](/runtime/tutorials/aws_lambda/)
- [AWS Lightsail](/runtime/tutorials/aws_lightsail/)
- [Cloudflare Workers](/runtime/tutorials/cloudflare_workers/)
- [Digital Ocean](/runtime/tutorials/digital_ocean/)
- [Google Cloud Run](/runtime/tutorials/google_cloud_run/)
- [Kinsta](/runtime/tutorials/kinsta/)

## Connecting to Databases

- [Connecting to databases](/runtime/tutorials/connecting_to_databases/) (MySQL,
PostgreSQL, SQLite, MongoDB, Redis, Firebase, Supabase, GraphQL and more)
- [MySQL2](/runtime/tutorials/how_to_with_npm/mysql2/)
- [PlanetScale](/runtime/tutorials/how_to_with_npm/planetscale/)
- [Redis](/runtime/tutorials/how_to_with_npm/redis/)
- [Mongoose and MongoDB](/runtime/tutorials/how_to_with_npm/mongoose/)
- [Prisma](/runtime/tutorials/how_to_with_npm/prisma/)

## Advanced

- [Create a subprocess](/runtime/tutorials/subprocess/)
- [Handle OS signals](/runtime/tutorials/os_signals/)
- [File system events](/runtime/tutorials/file_system_events/)
- [Module Metadata](/runtime/tutorials/module_metadata/)

Additional examples can by found at
[Deno by Example](https://docs.deno.com/examples/).
2 changes: 1 addition & 1 deletion runtime/tutorials/kinsta.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "How to Deploy Deno on Kinsta"
title: "How to deploy Deno on Kinsta"
oldUrl: /runtime/manual/advanced/deploying_deno/kinsta/
---

Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/module_metadata.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Module Metadata"
title: "Module metadata"
oldUrl:
- /runtime/manual/examples/module_metadata/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/os_signals.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Handle OS Signals"
title: "Handle OS signals"
oldUrl:
- /runtime/manual/examples/os_signals/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/subprocess.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Creating a Subprocess"
title: "Creating a subprocess"
oldUrl:
- /runtime/manual/examples/subprocess/
---
Expand Down
2 changes: 1 addition & 1 deletion runtime/tutorials/word_finder.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Building a Word Finder App with Deno"
title: "Building a word finder app with Deno"
oldUrl:
- /runtime/manual/examples/word_finder/
---
Expand Down

0 comments on commit c78806b

Please sign in to comment.