From 3e1a6f66b02d3f23adb523ba49f8d43896d822db Mon Sep 17 00:00:00 2001 From: nelsonic Date: Sat, 13 Jul 2024 16:40:30 +0100 Subject: [PATCH] tidy page formatting #1 --- src/pages/contact.mdx | 15 ++++++++++----- src/pages/index.mdx | 25 +++++++++++++++++-------- src/pages/reference_api/_meta.json | 2 +- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/src/pages/contact.mdx b/src/pages/contact.mdx index 5fc0ef7..8b5081e 100644 --- a/src/pages/contact.mdx +++ b/src/pages/contact.mdx @@ -1,17 +1,22 @@ # Contact Us -We'd love to hear from you! If you have any questions, feedback, or suggestions regarding Nextra, please feel free to reach out. +We'd love to hear from you! +If you have any questions, feedback, or suggestions regarding `Nextra`, +please feel free to reach out. ## Email -You can email us at [support@nextra.io](mailto:support@nextra.io). +You can email us at +[support@nextra.io](mailto:support@nextra.io). ## Social Media Follow us on social media to stay updated with the latest news and updates: -- [Twitter](https://twitter.com/nextra) -- [GitHub](https://github.com/shuding/nextra) +- [X](https://x.com/dwyl) +- [GitHub](https://github.com/dwyl/nextra-demo) ## Community -Join our community on [Discord](https://discord.gg/nextra) to connect with other users and developers, ask questions, and share your experiences. +Join our community on +[Discord](https://discord.gg/nextra) +to connect with other `people`, ask questions, and share your experiences. diff --git a/src/pages/index.mdx b/src/pages/index.mdx index e49ec68..5cad4ce 100644 --- a/src/pages/index.mdx +++ b/src/pages/index.mdx @@ -26,7 +26,11 @@ export const Info = () => { # Welcome to Nextra Documentation -Welcome to the Nextra documentation site! Nextra is a modern static site generator optimized for creating high-quality documentation websites with ease. This documentation will guide you through the setup, features, and best practices for using Nextra. +Welcome to the `Nextra` documentation site! +`Nextra` is a modern static site generator +optimized for creating high-quality documentation websites with ease. +This documentation will guide you through the setup, +features, and best practices for using `Nextra`. --- @@ -36,7 +40,10 @@ Welcome to the Nextra documentation site! Nextra is a modern static site generat ## Getting Started -To get started with Nextra, check out the [About](about) page to learn more about its capabilities and features. If you need any assistance, visit our [Contact](contact) page to find out how to reach us. +To get started with Nextra, check out the [About](about) page +to learn more about its capabilities and features. +If you need any assistance, visit our [Contact](contact) page +to find out how to reach us. Explore the sections below to dive deeper into specific topics: - [About Nextra](about) @@ -45,15 +52,17 @@ Explore the sections below to dive deeper into specific topics: We hope you find Nextra useful for your documentation needs! -| left | center | right | -| :----- | :----: | ----: | -| foo | bar | baz | -| banana | apple | kiwi | +| left | center | right | +| :----- | :----: | ---------: | +| foo | bar | baz | +| banana | apple | strawberry | ```sh npm2yarn -npm i -D @graphql-eslint/eslint-plugin +npm i -D aws-sdk-mock ``` +Mermaid diagrams work out of the box: + ```mermaid graph TD; subgraph AA [Consumers] @@ -63,7 +72,7 @@ C[Node.js client]; end subgraph BB [Services] E[REST API]; -F[GraphQL API]; +F[GRPC API]; G[SOAP API]; end Z[GraphQL API]; diff --git a/src/pages/reference_api/_meta.json b/src/pages/reference_api/_meta.json index b04afbe..f728fc8 100644 --- a/src/pages/reference_api/_meta.json +++ b/src/pages/reference_api/_meta.json @@ -3,7 +3,7 @@ "---": { "type": "separator" }, - "users": "users", + "person": "person", "mega_private": { "title": "Mega Private Section", "private": {