This is the multi-page printable view of this section. Click here to print.
Contributing
- 1: Web Interface Translations
- 2: Web UI Code Contributions
- 3: Issue Reporting
- 3.1: Issue Reporting in Jira
- 3.2: Feature Requests
- 4: Documentation
- 4.1: Content Styling
- 4.2: Updating Content
- 4.3: Adding a New Article
- 4.4: Article Template
We welcome community contributions to keep this documentation current! Click Edit Page in the top right corner to propose changes to this article. See Updating Content for more information.
The open-source TrueNAS project welcomes contributions to the project. We also welcome changes to articles found in the TrueNAS Documentation Hub.
Contributions to the TrueNAS open-source projects are made through GitHub and Jira.
How Can I Contribute to TrueNAS?
There are a number of ways members of the TrueNAS community can give back by contributing to TrueNAS and its documentation.
Articles in this section include instructions for contributing code improvements to the TrueNAS Web UI, providing i18n UI translations, reporting issues and making Feature Requests, and contributing to TrueNAS documentation.
For information on contributing applications to the catalog or app documentation and resources to the TrueNAS Apps Market, see Contributing to Apps .
Refer to the tutorials in the Documentation section for articles designed to guide you through requesting changes, making different kinds of documentation contributions, and contributing to TrueNAS itself.
Article templates for general tutorial articles and new application tutorials are provided that you can copy and use to submit new articles.
Please feel free to propose changes and add new content to these articles to help others learn how to contribute to project documentation!
Want to discuss your in-progress changes or other TrueNAS contributions?
The TrueNAS contributors #truenas-docs Slack workspace is available for contributors to discuss their changes and help each other improve the software.
You can request to join this workspace at truenas.slack.com.
Web Interface Translations
How to Contribute TrueNAS Text String Translations
By default, TrueNAS is available in English. However, users can contribute text string translations for the TrueNAS web interface to help make TrueNAS available in many other languages! Contributing requires a GitHub account and the ability to translate English text into other languages.
To translate the TrueNAS web interface, sign into GitHub and go to the TrueNAS webui repository. Find the appropriate translation file, edit it, and send a Pull Request with your translations to the project. For step-by-step instructions, see the rest of this article.
Go to the Localization Directory
Go to this location: TrueNAS translation directory
.
The .json language conversion files are located within the webui/src/assets/i18n directory.
Select the Translation File
Choose the .json file that represents the specific translation language. More information about 2 letter ISO 639-1 codes located at: ISO 639-1 Codes .
Click the .json filename. The file opens in GitHub’s web-based file editor. Click the pencil icon to begin editing the file.
Edit the Article
Work from the last line of code in the file back up to the beginning. Start at the last line of the file, and check for a translation. Some files have no translations listed. In this instance, begin with the last line of the file.
If the last line of the file contains a translation, scroll up (descending numerical order). Look for the next available line of code for which there is no language translation listed. Begin translating at this point.
Some strings can use ICU Message Format for pluralization. You can move tokens around and adjust them for your language.
Translate the Text Strings
The string in English that needs translation appears first, enclosed with double quotes. After that there is a colon, followed by a second pair of double quotes. Enter your translation within the second pair of double quotes. Click on the Preview changes tab to view your changes as you make them. If you don’t want to save your changes click Cancel changes.
Begin a New Pull Request
Click Propose changes to save the file. This creates a new fork of the repository. It also opens a pull request. A pull request sends the translated text strings to TrueNAS for review. Once approved, these translations get merged into the master branch.
Before submitting the pull request, please consider:
Do you intend to continue working in the same language file? If so, continue working in the same forked repository & branch. Mark the pull request as draft. A draft pull request cannot merge until you mark it ready for review.
More information on draft pull requests located at: GitHub pull requests .
- Would you like to submit string translations for a different language file? If so, open a new branch off the original forked repository you created. Begin working on the second language file in this new branch. Complete your changes in this second language file. Merge the second language file back into the branch that has the draft pull request open. This splits up the pull requests by language and can make the approval process go faster.
Web UI Code Contributions
TrueNAS is an open-source project, and we welcome contributions from the community. We license our code under the GPLv3 license.
This guide explains how to contribute code updates to the TrueNAS web interface.
How to Contribute
Follow these steps to pick up a task, make your changes, and submit a PR.
Select an Issue
We maintain a Jira Help Wanted list with tasks that are good starting points.
- Choose an issue from the Help Wanted list .
- Assign it to yourself to prevent duplicate work.
You can assign yourself to any issue in the queue, even if a TrueNAS team member is already assigned.
If you discover a new bug in TrueNAS, please create a Jira ticket before attempting a fix.
If your proposed fix is not on the Help Wanted list, communicate with the team on the Jira ticket before starting work. You can ask for the issue to be added to the Help Wanted list, share your ideas, and confirm that the fix aligns with current plans. This helps avoid working on code that is scheduled for replacement or significant changes.
Update the Code
- Fork the repository.
- Set up your development environment using the Setup Guide .
- Resolve the assigned issue.
Best Practices for Code Contributions
When working on a task from the Help Wanted list:
- Match the style of the surrounding code.
- Make the simplest correct change that resolves and validates the issue.
- Fix only one issue per Jira ticket. Avoid addressing multiple unrelated issues in a single PR, as that complicates reviews and increases the chances of rework.
- Test your fix.
If a fix requires significant refactoring beyond the scope of the issue, it likely does not belong on the Help Wanted list—or might not be the right solution.
Add Tests if Necessary
You can skip adding tests for small styling fixes.
For larger changes, add or update tests as needed. Our CI (Continuous Integration) system enforces a minimum coverage requirement.
As a rule of thumb, cover all happy paths (expected successful outcomes) in the code you modify.
We do not suggest running all tests locally, as it takes too long. Instead, use these alternatives:
- Run a specific test suite using your IDE or
yarn test <src/app/path to the test file>. - Run tests in folders with changes using
yarn test:changed.
Refer to existing
If you run into issues writing tests, open a PR without them. The team can help.
Open the PR
Our CI system checks code style automatically, but you can run the linter locally with yarn lint to catch issues earlier in the process.
Use this naming format for your branch and commit:
- Branch name: NAS-<issue number>
- Example: NAS-12345
- Commit message: NAS-<issue number>: <description>
- Example: NAS-12345: Fix issue with …
Push your changes to your fork, then open a PR against the TrueNAS repo.
Review and Merge
After you open a PR, a UI team member reviews it.
Once merged, your changes appear in the next nightly build.
Thanks for contributing!
Getting Contributor Credit
When your PR merges, you become eligible for a TrueNAS community forum contributor badge and group membership.
To claim your badge:
- Add
TrueNAS Forums Username: <name>in your pull request description. - After the merge, message the forum moderators with a link to the PR.
- They grant you contributor group membership.
Issue Reporting
We welcome community contributions to keep this documentation current! Click Edit Page in the top right corner to propose changes to this article. See Updating Content for more information.
We encourage all users to help us make the open source TrueNAS project the best NAS by reporting issues with TrueNAS releases, requesting potentially helpful features, and relaying security vulnerabilities.
The articles listed below provide information on reporting issues or to request changes or new content.
Issue Reporting in Jira
We encourage all users to help us make TrueNAS the best NAS by reporting issues, requesting potentially helpful features, and relaying security vulnerabilities.
Issue Reporting in Jira
TrueNAS uses Jira to track bugs and develop features. You can view public issues without logging in, but you must create an Atlassian account and join the TrueNAS Jira instance to report bugs. See Joining the TrueNAS Jira Instance .
Joining the TrueNAS Jira Instance
Signing in to your Atlassian account does not give you access to the TrueNAS Jira instance. Joining the instance is a separate step that includes an email verification.
Until you join the instance, Jira returns this error when you try to create a ticket:
You are not authorized to perform this operation. Please log in. Close this dialog and press refresh in your browser.
Refreshing the browser does not clear this error. Join the instance to resolve it.
To join the instance:
Go to https://ixsystems.atlassian.net and sign in to your Atlassian account. Create an account if you do not have one.
After you sign in, Jira displays the main page of the instance.
Click your profile icon in the upper-right corner of the page and select Log in. The Verify your email before joining a site screen displays.
Click Re-verify your account. Jira sends a verification email to the address on your Atlassian account.
Open the verification email and click the verification link. The link returns you to Jira.
Click your profile icon and select Log in again.
The second Log in completes joining the instance. You can now create tickets in the TrueNAS project.
After you join the instance, you can go directly to the TrueNAS project to report bugs.
Submitting Bug Reports in Jira
The selected work type determines which fields display on the Create form. The Bug work type opens the full form and includes the Components, Attachment, and Affects versions fields that a bug report needs. The other work types do not include these fields.
Select Bug from the work type dropdown list before you enter anything else on the form.
The TrueNAS project reserves the other work types, including Defect, for internal use. If the work type is set to anything other than Bug, the fields a bug report needs do not display on the form.
Changing the work type also reloads the form, which can clear values you already entered.
If Jira reports that you are not authorized when you click Create, you have not joined the TrueNAS Jira instance. See Joining the TrueNAS Jira Instance .
To request a new feature instead of reporting a bug, use the TrueNAS Community Forum Feature Requests category. Do not select the Suggestion, Improvement, or New Feature work types in Jira.
To submit a bug report:
Go to the TrueNAS project on Jira and click Create in the top bar. The Create window opens.
Select Bug from the work type dropdown list. The form reloads and displays the full set of bug report fields.
If a field does not display, click (More actions) > Show fields and select All fields.
Enter a short, descriptive title in the Summary field. A good title helps developers find the issue and understand the topic.
Click the description field below Summary and enter specific issue details.
Jira does not label this field. It shows the placeholder text Add a description or type / for actions and Rovo until you click it.
See What to Include in a Bug Report for the information developers need.
Select a TrueNAS release from the Affects versions dropdown list. If you cannot locate the version of software installed on the dropdown list, include it in the description field.
Drag and drop any public-facing files into the Attachment field.
Do not attach a debug file or any other file that contains private data here. See Adding a Debug File to a Jira Ticket .
Click Create.
Developers review the ticket and update it when they need additional information. The Jira account receives emails about the ticket status. Developers might request more details as they work to resolve the issue, so check the ticket periodically.
What to Include in a Bug Report
Developers use most of the fields on bug tickets, but the Summary field, the description field, and the Affects versions field provide the information needed for a usable report.
A good bug report includes these elements:
A brief, specific description detailing the problem you encountered.
The steps to reproduce the issue. A simple list of the steps you took to see the issue is fine.
An explanation of what should have happened while taking the steps listed above.
A description of what happened while taking the steps listed above.
The TrueNAS software version you are using, which is found on the main Dashboard.
The current service configuration if the bug is service-related to help developers replicate your system.
Any additional details you think can help the developer investigate.
In addition to the above information, also provide:
A TrueNAS debug file. This is required to help developers identify and troubleshoot issues on your system.
Include a console log if the error is a web interface issue. If unsure how to save these, see the Adding a Debug File to a Jira Ticket and Obtaining Web Console Logs sections in this article.
The core file if your system produces a core file error. Save the file and attach it to your ticket.
Screenshots if the bug is a web interface glitch or a formatting problem.
A video if screenshots do not adequately show the issue.
Security Issues
See https://security.truenas.com/ for security advisories and software bill of materials for specific TrueNAS releases.
Security issues do not appear on public issue trackers due to their sensitive nature. If you have discovered a suspected security vulnerability in the latest version of a software release, you can report this directly to the Security Team .
Downloading a Debug File
Downloading a debug file in TrueNAS differs from CORE releases.
Downloading a Debug in TrueNAS
On TrueNAS systems, go to System > General Settings, then click Save Debug and wait for the file to download to your local system. Generating the debug file might take a few minutes to complete. After that, it downloads to your system. If your browser download shows a dialog asking for confirmation, click Keep to continue the download process.
To generate a debug from the TrueNAS CLI, enter
system debug > debugname.tgz
, replacing debugname with your chosen file name.
You must use SFTP or a similar method to connect to TrueNAS and download the file from the /home/username location, replacing username with the account name that generated the debug.
SFTP Example:
PS C:\Users\tester> sftp admin@exampletruenas.net
Connected to exampletruenas.net.
sftp> cd /home/admin
sftp> get testdebug.tgz
Fetching /home/admin/testdebug.tgz to testdebug.tgz
/home/admin/testdebug.tgz 100% 7110KB 4.1MB/s 00.01
sftp> exit
Downloading a Debug in CORE
The TrueNAS CORE web interface lets users save debugging information to a text file.
On TrueNAS 13 systems, go to System > Advanced and click SAVE DEBUG.
Click PROCEED to generate the debug file (might take a few minutes).
After generating the debug file, TrueNAS prompts you to download it to your local system and saves a copy in
The freenas-debug command-line utility collects debugging information.
Debug files contain log files which can include personal information such as usernames, networking configuration, device serial numbers, or other identifying information about your system. Files uploaded to an issue from the System > Support screen using Attach Debug or through the Jira Private File Upload service are only visible to the TrueNAS development team. The TrueNAS Privacy Policy contains a detailed statement of our commitment to data privacy.
Always store debug files in a secure location. Please review debugs and redact any sensitive information before sharing with external entities. Use a file archiver utility, such as 7-zip, to open compressed debug archives and review log contents.
Adding a Debug File to a Jira Ticket
Jira provides a public-facing area for files that do not require privacy. If you are not concerned about data privacy, attach the debug, core, log, or other files to the Jira ticket. Debug files attached directly to a Jira issue ticket are visible to other users searching and reading Jira issue tickets.
For users concerned about data privacy, TrueNAS provides a link to a secure file attachment ticket where you can upload files with sensitive information, like a system debug or screenshot of network connections.
After submitting a bug report, Jira sends a confirmation email with a link to your Jira issue ticket. The Jira issue ticket includes a link to the TrueNAS Private File Attachments area where you can upload the debug file and any other images or logs you kept private. Link the private file upload ticket to your Jira issue report before you save the private upload file ticket.
Only authorized individuals can access files attached to private file upload tickets!
Jira tickets with debugs directly attached are marked private, limiting access to only the ticket creator and authorized TrueNAS team members. Using the private file attachment tickets keeps issue tickets public so others can see the reports and track progress while still protecting private data.
Attaching Files to New Tickets
Drag and drop public-facing files into the Attachment field on the Create form. The Attachment field displays when the work type is set to Bug. See Submitting Bug Reports in Jira for the full form.
To protect your privacy, use the link in the system-generated message in your Jira ticket to upload sensitive information to the TrueNAS Private File Attachments area. Link your private upload ticket to your Jira issue ticket so developers can locate the file. Files uploaded to this service are only visible to project developers.
Attaching Files to Existing Tickets
For public-facing files, open the ticket in your browser and click Attach at the top of the ticket to open a local system file browser and select the files. You can also drag and drop the file onto the Attachments field and add any comments about it.
Upload private files to our secure private upload service located at https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153 . Files uploaded to this service are only visible to project developers.
Obtaining Web Console Logs
Web console logs help diagnose problems with the user interface. You can add logs to TrueNAS issues for debugging.
Feature Requests
We welcome community contributions to keep this documentation current! Click Edit Page in the top right corner to propose changes to this article. See Updating Content for more information.
Want to see a new feature added to TrueNAS? You can see and vote for community-proposed features in the TrueNAS Community Forum Feature Requests category. This is the place to suggest improvements and feature functionality to be considered for addition to the TrueNAS development roadmap.
Submitting and Voting for Requests
A TrueNAS forums account is required to submit or vote for feature suggestions.
To submit a new feature request, click New Topic in the top right of any forum screen Enter a title that describes the requested improvement or new functionality. Change the category tag to Feature Requests. The body of the post populates a template. Describe the Problem/Justification, Impact, and provide User Story for your request. Click Create Topic to submit the request.
To vote for a feature request, open that thread then click Vote at the top left corner, next to the title.
Each forum user can cast a limited number of votes for items at any given time. The higher your trust level, the more votes you can cast. The number of votes based on trust level is as follows:
| Trust Level | Name | Votes |
|---|---|---|
| 0 | New User | 2 |
| 1 | Basic User | 4 |
| 2 | Member | 6 |
| 3 | Regular | 8 |
| 4 | Leader | 10 |
Votes on a topic are kept until either you remove the vote manually or the topic is closed. Topics are closed periodically after they are reviewed and either accepted or rejected based on their merit and feasibility.
Checking Your Remaining Votes
There are a few ways to see how many votes you have left.
Go to Feature Requests and click My Votes in the top navigation options.
Click My posts in the left-hand navigation menu, then select Activity > Votes. This navigates to
https://forums.truenas.com/u/USERNAME/activity/votes.
Both of these paths show all requests you have voted for. Items marked with a lock icon are closed or accepted — those votes are freed and do not count against your total. Items without a lock icon represent your active votes.
You can also check your remaining votes from any request you have already voted on: click the Voted button and a popup shows how many votes you have remaining, for example “You have 5/6 votes left”.
What is a good feature request?
Before creating a new feature request, it is important to take some time to think through the implementation and user story. A good feature request includes details about the functionality requested, if it involves a UI component, and a detailed user story describing how a TrueNAS user might interact with the proposed feature.
What is a bad feature request?
Items which are completely unrealistic (i.e. Can you base TrueNAS on Windows) or feature requests which are outside of the scope of typical NAS functionality (i.e. I want a full desktop with Gnome on TrueNAS).
Documentation
We welcome community contributions to keep this documentation current! Click Edit Page in the top right corner to propose changes to this article. See Updating Content for more information.
The TrueNAS project welcomes all documentation contributions!
The Documentation Hub uses Hugo to create the documentation websites. Articles are written in a combination of Markdown and HTML syntax.
The tutorials in this section are designed to guide you with different kinds of documentation contributions and two different tutorial article templates. There is also an article template that you can copy and use to submit new articles. Please feel free to propose changes and add new content to these articles to help others learn how to contribute to project documentation!
Want to discuss your in-progress changes or other TrueNAS contributions?
The TrueNAS contributors #truenas-docs Slack workspace is available for contributors to discuss their changes and help each other improve the software.
You can request to join this workspace at truenas.slack.com.
Content Styling
This guide has many examples of how to style your documentation contributions. TrueNAS documentation uses standardized Commonmark Markdown, HTML, and Hugo syntax to transform text, add images, stylize tables, and link to other locations. The guide is not exhaustive but contains examples of the elements that are most commonly used when writing TrueNAS documentation. To learn more about each markup language, see these resources:
- Markdown: https://daringfireball.net/projects/markdown
- Commonmark: https://spec.commonmark.org/
- HTML: https://www.w3schools.com/html/default.asp
- Hugo: https://gohugo.io/documentation/
Markdown Examples
TrueNAS Documentation Hub articles make use of the following formatting options:
Hugo Style Elements
There are many style elements you can use that are built into the Hugo static site generator. This site uses Hugo shortcode syntax for images, internal references, and admonition boxes.
General Content Rules to Follow
Do not use the following in your articles:
The word will. It either does or does not do something. Use active voice and present tense when writing content. For example, do not type “The system will restart.” Instead, use “The system restarts.”
The word may. We all say it but we are not giving permission to do something, we are saying it might do something. You can also replace may with can or should if these words better describe the situation. Only use may when granting permission to do something.
Do not use possessive case. Replace the (’s) instances with a statement. For example, do not say “The system’s IP address.” Instead, say “The IP address for the system.” You can use its or their, but try to avoid possessives where possible.
Do not use contractions. Contractions do not translate well for non-English and English as a second language reader populations. For example, change instances such as doesn’t to does not.
Spell out numbers between one and ten when referring to numbers of items in general terms. If you are referring to entering a number, type the digit (for example, enter 1 in the field). Use digits for numbers greater than ten.
Updating Content
Changes wanted! Contributing changes to the TrueNAS documentation has never been easier. The Documentation Hub is specifically built to allow users to quickly propose changes to the content without having to install any special applications. All that is required is to have a GitHub account and a basic understanding of Markdown .
You need to log in to your GitHub account to propose any changes. The repository automatically builds a preview site for each open pull request (PR) created in GitHub. The link to this preview site is added to the PR as a comment. The preview updates with the changes you make to the pull request, so you can always see an accurate preview of the changes you make to the website.
Making Quick Changes to an Article
We welcome community contributions to keep the documentation current!
Click Edit Page in the top right corner of an article screen to propose changes to the article.
To check your changes for bugs in the Markdown or HTML syntax, switch to the Preview changes tab. The preview renders generic Markdown but does not render Hugo-specific syntax.
Replacing an Image
To update an existing image, click Edit Page and find the image location and name in the article source text. Name a replacement image with the same name as the existing image you are replacing.
In the repository, click Code and go to the image location in the repository.
Images are located in the
Click Upload files and either drag and drop the new or replacement image into the file upload area or open the file browser to select your image. Naming the new image name the same as the old image automatically replaces the old image with the new one in every article that includes it.
If adding a new image to the article, give the PNG image a descriptive name, such as Adding an SMB Share or Add SMB Share Advanced Settings and save it in the appropriate
Editing an Included File
Some article content comes from a separate include file statement, also referred to as a shortcode.
This statement pulls in content from a different location and allows using common text in multiple website articles simultaneously.
These files are called snippets.
Updating an
For example, the snippet file include file shortcode anywhere in the body of an article.
The example below shows this inside the expand tags.
Clicking Edit Page opens the article markdown file, but only these lines are visible for the included content (the added \ characters prevent rendering the shortcodes in this article):
{{\< expand "Advanced Scheduler" "v" >}}
{{\< include file="/static/includes/AdvancedScheduler.md" >}}
{{\< /expand >}}
(Do not include the escaping backslashes \)
In the above example, the expand and /expand shortcode tags create an expansion/collapse function in the document.
The include shortcode is within the expandable element: {{\< include file="/static/includes/AdvancedScheduler.md" >}}.
(Do not include the escaping backslashes )
The repository
file
Master and Version Branch Differences
TrueNAS documentation uses branches to organize content related to specific software releases and updates, for example, the 24.04 and 23.10 branches of the Documentation Hub.
Content changes in the master branch result in changes to the TrueNAS Nightly Development Documentation content. To make changes in the master branch, fork this branch to create a simple copy of the main repository. Make changes in your forked master as the base for your changes. Do not make changes directly to the TrueNAS master branch of the Documentation Hub repository.
To make content changes in the 24.04 branch, select the 24.04 as the base, then create a fork of that main repository. This ensures approved modifications are added to the TrueNAS 24.04 (Dragonfish) Documentation content.
To make content changes in the 23.10 branch, select the 23.10 as the base, then create a fork of that main repository. This ensures that approved modifications are added to the TrueNAS 23.10 (Cobia) Documentation content.
Fork the Repo
To submit a change or a new article, create a fork (local copy) of the main repository, edit your local copy, and then propose merging your changes back into the main repository.
To start, click the Edit Page link in the top right of the site.
To fork the repo to your GitHub account, click the green Fork this repository button.
Edit the page as needed.
When the changes are complete, add a quick overview of the changes made in the** Description** box, and click the green Commit changes button.
When the page refreshes the changes are complete in your forked repository. Now you can request merging these changes to the main repository using a pull request (PR). Click on Pull Requests.
After the Pull Requests page opens, click the green New Pull Request button.
Confirm that the base repository is set to truenas/documentation and base is set to master or the version branch you are changing (i.e., if you are using 24.04, set that as the base). Set head repository to your forked repository, for example, q5sys/documentation. Set compare to master, or the version branch if proposing changes to either of those branches. Ensure these options are correct, then click the green Create pull request button to create the PR.
Describe your changes and click the green Create pull request button.
That is it! Other contributors review and merge your changes!
As part of the review process, automation builds a preview of the docs site with your changes. When the build completes, a comment appears in the PR that shows the automation result. Click on Show all checks and Details to see a live demo of the site with your changes.
Adding a New Article
Thanks for your interest in submitting documentation articles! This article shows you how to add a new article to the TrueNAS Documentation Hub. All that is required is a GitHub account and your favorite text editor. Taking screenshots for your article is also recommended.
To add an article, construct a bundle that contains your text file and any images, then open a pull request on the repository. There is an Article Template available that can simplify creating your article.
Creating an Article Bundle
Find a place on your local system to create a directory for your article. Name the directory according to the title of your article.
Open the directory and create a new file called
Writing the Article
The first few lines of the
---
title: "Adding a New Article"
weight: 20
---
After setting the front matter, continue writing your article. Raw text is supported, or you can add Markdown syntax. Markdown is designed to be easy to write and read, but also supports directly adding HTML elements. See the Style Guide for syntax help and other suggestions for writing the article. You can generally style the article however you like, but please be aware that other contributors can review the article and change the styling.
Adding Images
If you want to include screenshots of the TrueNAS User Interface with your article, add these files to your article bundle. Be sure to have unique names for each image file.
Uploading the Article Bundle
Open the appropriate repository section for the new content article.
Click Upload files and drag and drop the article bundle directory into the repository. GitHub shows all the files to upload.
Opening a Pull Request
Forking the repository might be needed as part of opening a Pull Request.
Make sure all your files have been uploaded then scroll down to the Commit changes section and write a summary and description of your changes. Select Create a new branch for this commit and start a pull request. and click Propose changes. GitHub can take a few moments to process the files.
Make sure you’re happy with the summary and description of your article, then click Create pull request.
After the pull request is created, the repository automatically builds a preview of the documentation site that has your changes included. The link to this preview is added to the Pull Request after the build completes.
Other contributors will review and merge your article!
Article Template
This template provides general information on constructing and writing TrueNAS tutorial articles. It contains a template example article with front matter, styling, and syntax examples.
Refer to the Style Guide for specific text syntax and formatting examples, Markdown and Hugo website enhancements, and content guidelines to follow.
Application tutorials follow a specific format that covers the installation screens and deployment process. If submitting a tutorial for a community-maintained application article, please see Contributing to Apps and the Community App Tutorial Template at the TrueNAS Apps Market.
Front Matter
Every article needs a front-matter section that contains these parameters:
titlefor the article title.descriptionthat provides a summary of the article content. Keep the description to less than 160 characters. The character count includes spaces between alphanumeric and special characters.weightthat orders the article in the table of contents.
Optional front matter parameters are:
aliaseswhere you include links to articles removed from the website that should be directed to this page.tagswhere you include a single word or a few word flags for the article content. Tags are used internally to pull articles into the Related Articles sections at the bottom of articles and externally for search optimization.
Article Template
Feel free to copy this article template example and rework it when writing your articles for this website.
You can copy the
---
title: "Example Article"
description: "This is a template for any tutorial article on the Documentation Hub website."
weight: 5
---
This is an introductory paragraph for the article.
It should explain the purpose of the procedure, describe what the feature is or can be used to accomplish, and can include links to other websites about the article subject or that support the procedure the article covers.
The introduction typically includes an explanation of why this procedure is beneficial and/or who is the typical audience for this content.
When the procedure is advanced, users might want some references to other sources that have more details or deeper explanations about what the system is doing.
After introducing the material, describe the process to accomplish the task.
Writing in short, declarative sentences that are structured very simply can help readers avoid confusion.
It also makes translations easier!
## Prerequisites
This section can be titled **Prerequisites**, **Before You Begin**, or **First Steps**.
It should cover actions the reader should or must take before they begin the procedure detailed in the article.
Typical first steps might include configuring data storage, adding certificates, and creating user accounts on the TrueNAS system or remote provider if describing a procedure involving a third party.
## How to Do *X*
Begin outlining the procedure steps.
The first step is typically to log in to the system and go to a location like **System > General**.
Including a screenshot is a good way for the reader to confirm they are in the correct location and to get more context.
{{\< trueimage src="/docs/images/SCALE/imagename.png" alt="Image Name Text" id="Image Name Text" >}}
{{\< hint type="danger" >}}
Danger, information, and warnings admonition boxes include information about common errors that are made during the procedure.
These admonitions are best placed before listing out any specific changes to make to the system.
This can help prevent mistakes and educate the reader about common troubleshooting steps.
{{\< /hint >}}
The step procedure should not exceed a maximum of 10 steps in an ordered list.
If the procedure exceeds 10 steps, use sub-steps.
A good practice is to organize the procedure into what to do and how to do it steps.
What steps are the primary list items, and the how to do it are the sub-step items.
Enter screen names and fields on screens in **bold** and a variable value in *italics*.
Be precise with buttons or setting names to avoid confusing the reader.
### Entering Commands
Sometimes a user might need to open a shell to enter a command.
To avoid confusing readers, use either the back backtick or HTML <code> and </code> tags for any command name or string.
If the command string includes a variable, use the HTML <code> and <i> open and close tags to show the string properly formatted.
Do not use all caps for a command or variable, or brackets to enclose a variable.
Some CLI and API command syntax might require the square or curly brackets as part of the string and some commands or command values are case sensitive.
Use inline and multi-line code blocks to define exactly what to type and show an example of the output.
Entering `ifconfig` shows more information about the network interfaces:
```
root@freenas[~]# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:1b:21:7e:70:ca
hwaddr 00:1b:21:7e:70:ca
inet 1.234.56.789 netmask 0xffc11 broadcast 1.234.56.789
nd6 options=1<PERFORMNUD>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
```
## Final Steps
Make sure to include any final steps the user can take to confirm they executed the procedure correctly.
Be specific!
Using vague terms can mislead or confuse the reader. Do not assume the reader knows what you are talking about.
Instead, directly state what happens. for example:
"Click *Generate Debug* to compile the system information into a *.tar* file.
A dialog opens to download the file to your local system."
This is a good place to put any troubleshooting tips, in case the user is not seeing the expected result.
If a command or setting should produce a specific result, provide that information.
If the command or setting does not produce the result provide information on what that means and how to correct or resolve the problem.






























