Giter Site home page Giter Site logo

turso-docs's Introduction

Turso reference documentation

Source code for Turso documentation hosted at https://docs.turso.tech.

Setup

  1. Fork this repo
  2. Clone the fork
  3. cd turso-docs
  4. npm i
  5. npm run start to start a local dev server at http://localhost:3000

Steps to contribute

  1. Make sure your fork's upstream remote is set

    git remote add upstream [email protected]:tursodatabase/turso-docs.git
  2. Switch to the main branch and sync with upstream

    git checkout main
    git fetch upstream
    git rebase upstream/main

    Optionally, push your main branch to your origin:

    git push
  3. Create a branch for feature development:

    git checkout -b my-feature
  4. Commit to the feature branch:

    git add .
    git commit
  5. Test your changes locally, and perform a full build to check for errors:

    npm run build
  6. Push the commits to a branch on your origin fork. The first time you commit, you should set an upstream branch:

    git push --set-upstream origin my-feature
  7. Create a pull request back to the upstream repo. The target branch must be main since Vercel uses the commits there to push updates to https://docs.turso.tech.

  8. If you have corrections to the content, you can amend your commit and force push it:

    git add .
    git commit --amend
    git push -f

    If you have multiple comments, do an interactive rebase to make sure the correct commit contains the relevant change.

    After force pushing the branch, Vercel will deploy again and create another preview link.

  9. After everyone is satisfied with the update, merge the pull request to the main branch.

Authoring conventions

  • Prefer to use VSCode with the Rewrap extension. This repo configures Rewrap at 80 columns. While Rewrap automatically wraps text while typing, it will not in all cases. Use the ALT-q (or CMD-q on MacOS) to format the paragraph of text where the cursor is. Please do not let lines get longer than 80 characters except where necessary.

  • You may wish to use the Code Spell Checker extension with VSCode for spell checking. It is already configured for use in this repo with product words to ignore for checking.

  • We use a formal tech writing style for all technical content. Don't be surprised if someone gives you writing style feedback in your pull request!

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.