This repository contains all the content for the https://docs.pactus.org website.
Contributions to the website, including fixing typos or grammatical errors, are always welcome. To contribute, simply edit the relevant page or open a pull request.
To get started, install Hugo, first. Now, clone this repository and run it locally using the following commands:
git clone https://github.com/pactus-project/docs.git
cd docs
hugo server
Markdown is a lightweight markup language that uses plain text formatting syntax to convert text into HTML, making it easy to read and write for web content.
Markdown linting helps ensure consistent style and formatting, detects syntax errors, improves readability, and maintains best practices in Markdown documents.
To lint Markdown files, you can use the mdl
(MarkdownLint) command-line tool.
This tool checks your Markdown files against a set of rules and provides feedback on any issues found.
To install mdl
, first you need to install Ruby.
Once you ensure Ruby installed on your system, you can install mdl
by running:
gem install mdl
Then you can lint your Markdown files with the following command:
mdl --style=.mdlrc.rb ./content
This command will check all documents in the content
folder for any linting issues and output them in the terminal.
Updating the main branch will automatically deploy this repository through deploy Github action.