Developer resources documentation and tutorials for learning Teradata Vantage. The documents are formatted using Markdown. This documentation site is built using Docusaurus, a modern static website generator.
Contributions are welcome! See below for how to build the documentation website locally.
- The documentation in this repository uses Markdown syntax. If you're unfamiliar with Markdown, please check out this guide.
- The
main
branch is the default branch and reflects what’s currently on the website. Each commit made to themain
branch will trigger a new deployment to GitHub Pages. - Simple content changes can be made through a pull request directly from GitHub's website. For larger changes, such as reformatting or adding a new page, we recommend forking the repo, cloning it locally, and following the instructions on how to build the website locally.
- Each page corresponds to a Markdown file in the repository. Pages are located in the
quickstarts
ordocs
directories. Page files must have a.md
or.mdx
suffix if using React components. - This guide explains how to run and build Docusaurus locally to test changes before submitting a pull request.
Thank you for your interest in contributing to our developer resources project. Your contributions help improve and expand the resources available to the community. This guide will help you get started with contributing to our repository.
We appreciate all contributions, whether they are bug reports, feature requests, or documentation improvements. Please follow the guidelines below to ensure a smooth contribution process.
To modify an existing page, follow these steps:
- Navigate to the
docs
orquickstarts
folder in your project directory, where you'll find the Markdown files corresponding to your site's pages. - Open the relevant file and make the necessary edits. Docusaurus supports Markdown with JSX extensions, allowing you to easily add React components if needed.
- Preview your changes by running
npm start
for a local development server. If you're already running the server, the site will automatically rebuild with the updated content. - Commit your changes to a new branch and submit a pull request.
To add a new page, follow these steps:
- Create a new Markdown file in the appropriate directory under
docs
orquickstarts
. - Add the necessary content to the Markdown file. Use this helpful guide and the Docusaurus feature reference to assist in creating a new document.
- Preview your changes by running
npm start
for a local development server. If the server is already running, the site will automatically rebuild with the updated content. - Commit your changes to a new branch and submit a pull request.
To add an image or any file attachment, follow these steps:
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.
- Inside your Docusaurus project, navigate to the
static
folder. - Create a subfolder inside
static
for organization, e.g.,img
orfiles
, to store your images or files. - Place your image or file in this folder, e.g.,
static/img/my-image.png
.
Once your asset is in the static
folder, you can reference it in your Markdown files using a relative path.
![My Image Description](./img/my-image.png)
- 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:
- Search the repository to check if the content already exists.
- If similar content exists, consider updating the existing content instead of creating new content.
- Coordinate with other contributors to ensure consistency and avoid duplication.
To serve the website locally, follow these steps:
- Run the development server using
npm run start
. - Open your browser and navigate to
http://localhost:3000
.
To build the documentation locally, follow these steps:
- Clone the repository to your local machine.
- Install the necessary dependencies using
npm install
. - Build the documentation using
npm run build
. - Preview the static build by running
cd build && npx http-server
.
To ensure high-quality contributions and maintain consistency across the project, please follow these best practices:
- Use Clear and Concise Language: Write clearly and concisely to make the documentation easy to understand.
- Follow Markdown Standards: Use standard Markdown syntax and conventions to ensure consistency across all documents.
- Keep It Simple: Avoid overly complex explanations and technical jargon where possible. Aim to make the documentation accessible to a wide audience.
- Use Proper Formatting: Use headings, lists, and code blocks appropriately to organize content and improve readability.
- Provide Examples: Include examples and code snippets to illustrate concepts and make the documentation more practical.
- Review and Edit: Before submitting a pull request, review your changes for accuracy, clarity, and completeness. Edit as needed to ensure high quality.
- Collaborate and Communicate: Engage with other contributors and maintainers through comments, discussions, and reviews to ensure alignment and address any issues.