Create a document for the GitHub Project

Source: Internet
Author: User

There are two writing methods:

  • In restructuredtext
  • In markdown

In restructuredtext

Tool: Pip installSph?sph=-Autobuild

Clone Your repository to local: git clone https://github.com/yourusername/yourrepository.git

Create a document in the repository root directory:

Mkdir docs & CD docs

Sphinx-Quickstart // follow the prompts to generate index. rst and Conf. py, and some other directories and files.

Edit the index. rst File

Contents:

Indices and tables

And so on

Compile the HTML file make HTML

 

Upload the local repository to GitHub git push // enter the account and password

 

Register and log on to read the docs

Set-connected to GitHub // associate with the GitHub account

 

Start importing documents

Import a project // The repository name on GitHub is automatically listed. If not, you can import the repository name manually.

Follow the prompts to create the instance.

 

Create a document for the GitHub Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.