Coder Social home page Coder Social logo

tinkerdocs's Introduction

Tinker Docs

Tinker Docs is an open technical documentation platform for the Tinker team, aimed at helping team members better learn and share knowledge related to robot development. Tinker Docs is built with Docusaurus 2.

Contributing

We welcome contributions to Tinker Docs! If you would like to contribute, please follow the steps below:

  1. fork the repository to your own GitHub account, for example Grange007/tinkerdocs.
  2. clone your repository and write your article (following the project structure).
  3. commit your changes and push them to your repository.
  4. Create a pull request to the main branch of the Tinker/tinkerdocs repository.
  5. Wait for the github actions to build and deploy your changes to the site. Once the build is successful, your changes will be live on the site.
  6. If the build fails, you will need to fix the issues and push the changes to your repository. The build will automatically be triggered again.

For more information, you can take a look at how-to-fork-a-github-repository.

Commands

If you want to build and deploy the site locally, you can use the following commands:

Installation

clone this repository and run the following command:

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Testing your Build Locally

$ yarn serve

Deployment

For Bash

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

For Windows

Using SSH:

cmd /C "set "USE_SSH=true" && yarn deploy"

Not using SSH:

cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

tinkerdocs's People

Contributors

grange007 avatar cdsfcesf avatar glaciercoder 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.