docs/README.md
The directory "ToolJet/docs/" holds the code and markdown source files for the ToolJet documentation website, which is accessible at docs.tooljet.ai
We welcome your valuable feedback on the documentation! Please feel free to join our Community on Slack and send us a message. We would be delighted to hear from you and assist you with any queries or concerns you may have.
If you come across any issues with the documentation or have a feature request related explicitly to it, we encourage you to create a new GitHub issue following the template. Before creating a new issue, we kindly request that you check for existing issues to avoid duplication.
In case you encounter any issues with the ToolJet product, please select the relevant issue template from here.
To contribute to ToolJet documentation, you need to fork this repository and submit a pull request for the Markdown and/or image changes that you're proposing.
The content in this directory follows the organization of documentation at https://docs.tooljet.ai
This directory contains the following folders:
/tooljet/docs
āāā sidebars.json # sidebar for the next(upcoming) docs version
āāā docs # docs directory for the next(upcoming) docs version
ā āāā Enterprise
ā ā āāā multi-environment.md
ā āāā tooljet-database.md
āāā versions.json # file to indicate what versions are available
āāā versioned_docs
ā āāā version-x.x.x # Current/latest version (set it on docusauras.config.js)
ā ā āāā Enterprise
ā ā ā āāā multi-environment.md # https://docs.tooljet.ai/docs/Enterprise/multi-environment
ā ā āāā tooljet-database.md. # https://docs.tooljet.ai/docs/tooljet-database
ā āāā version-2.0.0
ā ā āāā Enterprise
ā ā ā āāā multi-environment.md # https://docs.tooljet.ai/docs/2.0.0/Enterprise/multi-environment
ā ā āāā tooljet-database.md
ā āāā version-1.0.0
ā āāā Enterprise
ā ā āāā multi-environment.md # https://docs.tooljet.ai/docs/1.0.0/Enterprise/multi-environment
ā āāā tooljet-database.md
āāā versioned_sidebars # includes sidebar for the specific versions
ā āāā version-x.x.x-sidebars.json
ā āāā version-1.0.0-sidebars.json
āāā src
ā āāā img # contains folders that references the images (such as screenshots) used in the \docs\topic
āāā docusaurus.config.js
āāā package.json
\src - contains the ToolJet documentation website code. The documentation website is built using Docusaurus 2.
tooljet\docs\docs\ - This directory serves as the base directory for the documentation. Any modifications made within this directory will be reflected in the next version of the documentation. Each folder inside this directory corresponds to specific content and contains markdown files related to that content.
The two suggested workflows are:
The front matter for every markdown file should include the id and a title. id will be used to reference the file in sidebar.js or version-x.x.x-sidebars.json for a specific version.
---
id: building-internal-tool
title: Building internal tool with ToolJet
---
Use lowercase for file and folder names and dashes - as separators.
For example:
/docs/data-sources/sap-hana.md/docs/how-to/bulk-update-multiple-rows.mdImages are important to bring the product to life and clarify the written content. For images you're adding to the repo, store them in the img subfolder inside static folder. For every topic there needs to be a folder inside \static\img\ section, for example: static\img\how-to\bulk-update\query1.png.
When you link to an image, the path and filename are case-sensitive. The convention is for image filenames to be all lowercase and use dashes - for separators.
Example code for adding an image in markdown file:
<div style={{textAlign: 'center'}}>
</div>
yarn install
Note: Please note that if you make any changes that will be reflected in the upcoming version of the ToolJet documentation, you should set the includeCurrentVersion value to true in the docusaurus.config.js file. After making the necessary changes, be sure to set the value back to false and then commit the changes. Setting the value to true will load the docs/docs/ base directory as the next version for local development, allowing you to preview the changes.
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Thanks for all your contributions and efforts towards improving the ToolJet documentation. We thank you being part of our ⨠community āØ!