forked from hyperledger-bevel/bevel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shared):Implement GitHub Spellcheck and grammar linting for Pull…
… request This pull request implements the GitHub Spellcheck feature to automatically check the spelling and grammar in commit messages for all Pull Requests (PRs). Changes Made: - Added GitHub Spellcheck and grammar linting integration to the repository - Configured the spellcheck tool to check commit messages in PRs - Configured the language tool for grammar linting. - In docs/README.md file corrected the grammar errors. Fixes: hyperledger-bevel#2327 Signed-off-by: sailajakommineni <[email protected]>
- Loading branch information
1 parent
94a63b5
commit 8f11ebe
Showing
2 changed files
with
35 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,38 @@ | ||
# Docs | ||
## About | ||
This directory contains the files required to create open source documentation. | ||
Tools used: [Sphinx](http://www.sphinx-doc.org/) | ||
### Configuration files | ||
* **Index.rst** - This is the main document. Main function of this document is to serve as a welcome page, and to contain the root of the “table of contents tree” (or toctree).This is one of the main things that Sphinx adds to reStructuredText, a way to connect multiple files to a single hierarchy of documents | ||
* **conf.py** - The configuration directory must contain a file named conf.py. This file (containing Python code) is called the “build configuration file” and contains (almost) all configuration needed to customize Sphinx input and output behavior. | ||
* **.md files** - Create all the markdown file which are referenced in the document tree with the appropriate content. | ||
This directory contains the files required to create open-source documentation. | ||
Tools used: [Sphinx] (http://www.sphinx-doc.org/). | ||
## Configuration files | ||
* **index** - This is the main document. This is one of the main things that Sphinx adds to restructured text: a way to connect multiple files to a single hierarchy of documents, including the 'table of contents tree'. | ||
* **conf.py**: The configuration directory must contain a file named conf.py. This file (containing Python code) is called the “build configuration file” and contains (almost) all the configuration needed to customize Sphinx input and output behavior. | ||
* **.md files**: Create all the markdown files that are referenced in the document tree with the appropriate content. | ||
|
||
``` | ||
./ | ||
├── docs | ||
│ ├── source | ||
│ │ ├── index.rst | ||
│ │ ├── conf.py | ||
│ │ ├── *.md | ||
| | |── index | ||
│ │ ├── conf.py | ||
│ │ ├── *.md | ||
│ ├── Makefile | ||
| ├── pip-requirements.txt | ||
| ├── pip-requirements.txt | ||
│ └── README.md | ||
├── CONTRIBUTING.md | ||
``` | ||
|
||
### Building the docs | ||
1. Install latest sphinx | ||
1. Install the latest Sphinx. | ||
``` | ||
pip install -U Sphinx | ||
``` | ||
2. Install the pre-requisites | ||
2. Install the prerequisites. | ||
``` | ||
pip install -r pip-requirements.txt | ||
``` | ||
3. Build the documents | ||
3. Build the documents. | ||
``` | ||
make html | ||
make HTML | ||
or | ||
make.bat html | ||
make.bat HTML | ||
``` | ||
4. Access the documents from **build/html/** folder. | ||
|
||
|
||
|
||
4. Access the documents from the **build/html** folder. |