Coder Social home page Coder Social logo

docs's Introduction

Contributing changes to Kwil Docs

Like other Kwil sources, Kwil docs is an open source repository hosted on GitHub, and we welcome pull requests into our repo.

Kwil docs uses Docusaurus 2 as our online document management system.

Before contributing, please familiarize yourself with Docusaurus markdown features. If you have used tools such as MkDocs previously, you should find the Docusaurus experience familiar.

Minor Edits

For minor edits to the existing Kwil docs, e.g., fixing typos, or adding small paragraphs of text, it is recommended to simply:

  • Fork the Kwil docs repository

  • Use GitHub to edit the page to which you wish to contribute, using markdown

  • Push the changes to a new branch

  • Issue a pull request into the Kwil docs repository

Note : Do NOT use this approach for major contributions such as new pages, adding navigation between pages, adding external content such as images, since your changes will require testing in Docusaurus.

Prerequisites

Fork the Kwil docs repository

Make a fork of Kwil docs to your own repo.

Clone the Kwil Docs repository

If you use git ssh:

git clone [email protected]:GITUSERNAME/docs.git

If you use git https:

git clone https://github.com/GITUSERNAME/docs.git

where GITUSERNAME is your git profile handle.

Install Node v16.14 or Above

Docusaurus requires Node v16.14 or above.

Kwil recommends you use nvm to manage your node.js environments.

nvm install 16.14

Use NPM to fetch package dependencies

As with any node.js app, use npm to install all dependency packages

npm install

Running the Kwil docs Docusaurus app

It is recommended that you run the Kwil Docusaurus app while developing new content for the docs, as you will be able to interactively view changes as you make them to the markdown files.

npm start

This step should start the node development server and launch a web browser to the home page, e.g.,

http://localhost:3000/docs/introduction

Adding your contribution to Kwil docs

You will need to familiarize yourself with the Docusaurus file layout, categorization, and other features. Docusaurus provide an interactive sandbox Playground that will help you get up to speed.

When ready, use your favourite Node.js IDE tooling, e.g., VS Code, to add new pages, React.js scripts, CSS styles etc., in accordance with Docusaurus guidelines.

Committing changes and pushing to a new branch

After you’ve tested your changes:

  • Stage any newly added and updated pages

git add .

  • Commit your changes to a new branch.

git commit -m "Add new section for new feature XYZ"

  • Push to a new branch. For branch naming, please use the convention feature/change_short_description

git push -u origin feature/add_XYZ_section

Issuing a Pull Request

Return to the Kwil docs home page in GitHub and navigate to Pull Requests.

Click the Compare and pull request button, add a brief description of the changes made, including a motivation for why this will benefit the Kwil community, and then finally click the Create pull request button.

All pull requests will be reviewed as soon as possible, and if accepted, will be merged and published.

Thank you for your contribution!

docs's People

Contributors

brennanjl avatar charithabandi avatar charmful0x avatar jchappelow avatar kwilluke avatar luisgruson avatar nonnb avatar ultra-tech-code avatar yaiba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.