| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository is the home of all code and content for developers.teradata.com.
Contributions are welcome! To get started, review the contributor guide information in this README.
| Directory | Description | Sidebar Configuration |
|---|---|---|
| docs | Primary location for documentation pages main site | Metadata-driven with index.md |
| quickstarts | Quickstart guides and introductory workflows | Metadata-driven with _category_.json |
Thank you for your interest in contributing to developers.teradata.com project. Your contributions help improve and expand the resources available to the community.
Templates: See the templates directory for page examples, markdown syntax examples, and sidebar configuration explanations.
Docusaurus uses _partials to store snippets of markdown content for reuse.
Best Practice: To maximize reusability, reusable content should be relativetly short and discrete.
import MyPartial from '../_partials/example-partial-path.md';
Docusaurus uses a static folder where you can place static assets such as images, videos, or files. Any file placed in this folder is automatically available at the root URL.
Once your asset is in the static folder, you can reference it in your Markdown files using a relative path.
Tips
- Always place your images in the static folder to ensure Docusaurus correctly handles the image path.
- Use relative paths to link images, starting with /, e.g., /img/my-image.png.
To avoid duplicating content, follow these guidelines:
To serve the website locally, follow these steps:
To build the documentation locally, follow these steps:
To ensure high-quality contributions and maintain consistency across the project, please follow these best practices:
Sidebar placement and TOC building is metadata-driven. Two different implementations are currently in effect between the docs and quickstarts directories.
TOCs are generally managed by Teradata content architects and repo admins, who may modify sidebar metadata of any contributor pull requests.
docs/
├── Section A / <-- Appears FIRST (Position 1)
│ ├── index.md ---
│ │ sidebar_position: 1
│ │ ---
│ └── child_page.md
│
├── Section B / <-- Appears SECOND (Position 2)
│ ├── index.md ---
│ │ sidebar_position: 2
│ │ ---
│ └── child_page.md
│
└── Section C / <-- Appears THIRD (Position 3)
├── index.md ---
│ sidebar_position: 3
│ ---
└── child_page.md
The result would look like this:
Section A (content of index.md)
Child (content of position 1)
Child (content of position 2)
Section B (content of index.md)
Child (content of position 1)
Child (content of position 2)
Section C (content of index.md)
Child (content of position 1)
Child (content of position 2)
The quickstarts uses the Docusaurus _category_.json method. In lieu of using index.md parent pages with content in a given sub-directory, the JSON files define the order of sub-directories relative to each other in the same way. The result is an expander title in the sidebar that does not equate to a page URL and content.
{
"label": "Title in Sidebar",
"position": 1
}In each sub-directory each .md still includes a sidebar_position metadata attribute that defines order within the sub-directory.
docs/
├── Section A / <-- Appears FIRST (Position 1)
│ ├── _category_.json ---
│ │ sidebar_position: 1
│ │ ---
│ └── child_page.md
│
├── Section B / <-- Appears SECOND (Position 2)
│ ├── _category_.json ---
│ │ sidebar_position: 2
│ │ ---
│ └── child_page.md
│
└── Section C / <-- Appears THIRD (Position 3)
├── _category_.json ---
│ sidebar_position: 3
│ ---
└── child_page.md
The result would look like this:
Section A (sidebar only - no content)
Child (content of position 1)
Child (content of position 2)
Section B (sidebar only - no content)
Child (content of position 1)
Child (content of position 2)
Section C (sidebar only - no content)
Child (content of position 1)
Child (content of position 2)
| Back | FazBrowse Home | New Git URL |