XLT Documentation is based on Docsy, a Hugo theme for technical documentation sets that provides simple navigation, site structure, and more.
The following are the basic prerequisites to build the documentation locally:
- Hugo: Install a recent release of the Hugo "extended" version (we recommend version 0.150.0 or later). If you install from the release page, ensure you download the
_extendedversion which supports SCSS. - Node.js: Install the current Node environment (version > 14.x).
- Dependencies: Install all further dependencies by executing
npm ciin the documentation's root folder.
To build and deploy the documentation to a local web server with live reloading:
hugo server --watch --disableFastRenderThe documentation will be available at http://localhost:1313.
If you need to change the port, use the following command:
hugo server --watch --disableFastRender --port 2626To generate the static site in the public/ directory:
hugoWe welcome contributions! To suggest changes or add new content, please follow these steps:
-
Fork the Repository: Create your own copy of the repository by clicking the Fork button at the top of the GitHub page.
-
Clone and Branch: Clone your fork locally and create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make Changes: Update or add documentation files in the
content/directory. -
Build and Preview: Ensure everything looks correct by running the local development server (see Build and Preview section above).
-
Commit and Push: Commit your changes with a descriptive message and push them to your fork:
git add . git commit -m "Brief description of changes" git push origin feature/your-feature-name
-
Create a Pull Request: Go to the original repository on GitHub and create a Pull Request from your branch.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.