Skip to content

Commit

Permalink
docs: move fragments to assets/docs directory. Update paths of existi…
Browse files Browse the repository at this point in the history
…ng fragments
  • Loading branch information
bandantonio committed Oct 4, 2024
1 parent cd8847c commit 0e501fd
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 34 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions assets/docs/fragments/how-to-contribute.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

## How to contribute to AsyncAPI Docs

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions markdown/blog/2023-April-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ authors:
byline: In April 2023, the AsyncAPI documentation experienced significant growth with 8,889 sessions and 4,575 unique users, including 2,895 new users.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Docs Report - April 2023
In April 2023, the AsyncAPI documentation experienced significant growth with **8,889 sessions** and **4,575 unique users**, including **2,895 new users**. April was a strong month for our expanding docs community.
Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/2023-Q1-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ authors:
excerpt: Did you know that you can contribute Docs to AsyncAPI as well? Code isn't the only way to contribute to OSS; Dev Docs are a huge help that benefit the entire OSS ecosystem.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Documentation Report - Q1 2023

Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/2023-Q4-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ authors:
excerpt: In Q4, AsyncAPI docs had primary engagement across the tutorials and reference content buckets.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Documentation Report - Q4 2023
As a core maintainer of AsyncAPI Docs, I (Alejandra Quetzalli) volunteer to write periodic updates about the AsyncAPI Docs ecosystem. The goal is to keep the community informed about what's going on in docs and how docs contributors collaborate with other areas in AsyncAPI Initiative.
Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/2023-july-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ authors:
byline: In July 2023, the AsyncAPI documentation had 7,443 sessions and 3,895 unique users, including 2,345 new users.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Docs Report - July 2023

Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/2023-june-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ authors:
byline: In June 2023, the AsyncAPI documentation had 7,827 sessions and 4,203 unique users, including 2,566 new users.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Docs Report - June 2023
In June 2023, the AsyncAPI documentation had **7,827 sessions** and **4,203 unique users**, including **2,566 new users**, showing consistent engagement within our vibrant docs community.
Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/2023-may-docs-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ authors:
byline: In May 2023, the AsyncAPI documentation had 9,453 sessions and 4,876 unique users, including 2,895 new users.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

# AsyncAPI Docs Report - May 2023
In May 2023, the AsyncAPI documentation had **9,453 sessions** and **4,876 unique users**, including **2,895 new users**, highlighting the increasing interest and engagement within our vibrant docs community. May was a busy month in our expanding docs community!
Expand Down
4 changes: 2 additions & 2 deletions markdown/blog/changes-coming-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ authors:
excerpt: Did you know that you can contribute Docs to AsyncAPI as well? Code isn't the only way to contribute to OSS; Dev Docs are a huge help that benefit the entire OSS ecosystem.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import TalkToMe from '@/markdown/fragments/talkToMe.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';
import TalkToMe from '@/assets/docs/fragments/talk-to-me.md';

## 🦄 Hola, soy Alejandra Quetzalli

Expand Down
2 changes: 1 addition & 1 deletion markdown/blog/google-season-of-docs-2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors:
excerpt: Check out the Docs project proposal we're submitting to GSoD 2022! You won't want to miss out.
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## ¡Hola, AsyncAPI community!
For today's blog post about AsyncAPI Docs 📑, I wanted to share with all technical writers about our organization’s plan for participation in `Google Season of Docs 2022 (GSoD)`. Any and all technical writers are welcome to come participate with us for GSoD 2022 season, regardless of tech background or years of experience! At AsyncAPI, we love mentoring folks who want to get involved in OSS, tech, and Docs. ❤️
Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/community/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Overview
weight: 2
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Community: Guidelines and resources around community.

Expand Down
6 changes: 3 additions & 3 deletions markdown/docs/concepts/asyncapi-document/adding-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Adding bindings
weight: 260
---

import BindingsOverview from '../../../../assets/docs/fragments/bindings-overview.md'
import BindingsOverview from '@/assets/docs/fragments/bindings-overview.md'

<BindingsOverview/>

Expand All @@ -29,7 +29,7 @@ style I fill:#47BCEE,stroke:#47BCEE;

## Server bindings

Server bindings provide protocol-specific information related to the server configuration. For example, if you use Pulsar as your message broker, you can specify the tenant name in the server bindings.
Server bindings provide protocol-specific information related to the server configuration. For example, if you use Pulsar as your message broker, you can specify the tenant name in the server bindings.

Here is a diagram explaining server bindings:

Expand Down Expand Up @@ -94,7 +94,7 @@ The previous document shows how to configure channel bindings for a Kafka topic-
## Message bindings
Message bindings provide protocol-specific information for a specific message. For example, for the AMQP protocol, you can specify the message type in a protocol-specific notation.
Message bindings provide protocol-specific information for a specific message. For example, for the AMQP protocol, you can specify the message type in a protocol-specific notation.
Here is a diagram explaining where message bindings fit into the AsyncAPI document structure:
Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Overview'
weight: 1
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Concepts: Define AsyncAPI features and capabilities

Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Overview'
weight: 1
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Guides: Teaches AsyncAPI's capabilities at a high level

Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/reference/bindings/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 15

## Overview

import BindingsOverview from '../../../../assets/docs/fragments/bindings-overview.md'
import BindingsOverview from '@/assets/docs/fragments/bindings-overview.md'

<BindingsOverview/>

Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Overview
weight: 2
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Reference: AsyncAPI Specification

Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/tools/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Overview'
weight: 0
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Tools: the AsyncAPI tools ecosystem

Expand Down
14 changes: 7 additions & 7 deletions markdown/docs/tutorials/generate-code.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Generate code
title: Generate code
description: In this tutorial, you'll learn how to generate code from your AsyncAPI document.
weight: 100
---
Expand All @@ -17,7 +17,7 @@ In the previous tutorial, you created an AsyncAPI document that is used in this

<Remember>

If you did not follow the previous tutorial and do not have an `asyncapi.yaml` file for overview, then generate one by running the following command using the AsyncAPI CLI:
If you did not follow the previous tutorial and do not have an `asyncapi.yaml` file for overview, then generate one by running the following command using the AsyncAPI CLI:
`asyncapi new --example=tutorial.yml --no-tty`.

</Remember>
Expand All @@ -29,7 +29,7 @@ It is important to have [Node.js](https://nodejs.org/en/download/) installed whi

</Remember>

import CliInstallation from '../../../assets/docs/fragments/cli-installation.md'
import CliInstallation from '@/assets/docs/fragments/cli-installation.md'

<CliInstallation/>

Expand All @@ -41,9 +41,9 @@ import CliInstallation from '../../../assets/docs/fragments/cli-installation.md'
</CodeBlock>

Let's break down the previous command:
- `asyncapi new glee` is how you use Glee via the AsyncAPI CLI.
- `--name=tutorial` is how you tell the AsyncAPI CLI to name your new Glee project.
- `--template=tutorial` is how you tell the AsyncAPI CLI to use the template of a Glee project that was created specifically for this tutorial.
- `asyncapi new glee` is how you use Glee via the AsyncAPI CLI.
- `--name=tutorial` is how you tell the AsyncAPI CLI to name your new Glee project.
- `--template=tutorial` is how you tell the AsyncAPI CLI to use the template of a Glee project that was created specifically for this tutorial.

2. List all files in the directory and confirm your Glee project creation:
<CodeBlock language="bash">
Expand Down Expand Up @@ -89,7 +89,7 @@ import CliInstallation from '../../../assets/docs/fragments/cli-installation.md'
Streetlight with id "1" updated its lighting information to 3 lumens at 2017-06-07T12:34:32.000Z.`}
</CodeBlock>
## Summary
In this tutorial, you learned how to create a Glee project from the [Streetlights API specification document created in a previous tutorial](https://asyncapi.com/docs/tutorials/create-asyncapi-document).
In this tutorial, you learned how to create a Glee project from the [Streetlights API specification document created in a previous tutorial](https://asyncapi.com/docs/tutorials/create-asyncapi-document).

Additionally, you've learned how to run your code by installing the project's dependencies and sending several test messages to the Streelights application using the MQTT client.

Expand Down
2 changes: 1 addition & 1 deletion markdown/docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Overview
weight: 2
---

import DocContributionNotes from '@/markdown/fragments/docContributionNotes.mdx';
import DocContributionNotes from '@/assets/docs/fragments/contribution-notes.md';

## Tutorials: Learn how AsyncAPI works

Expand Down

0 comments on commit 0e501fd

Please sign in to comment.