Giter Club home page Giter Club logo

docs's Introduction

THIS REPO HAS MOVED HERE.

DO NOT USE THIS CODEBASE ANYMORE.

YugaByte DB Docs

This repository contains the documentation for YugaByte DB available at https://docs.yugabyte.com/

Please open an issue to suggest enhancements.

Contributing to YugaByte DB Docs

YugaByte DB docs are based on the Hugo framework and use the Material Docs theme.

Step 1. Initial setup

Follow these steps if this is the first time you are setting up the YugaByte docs repo locally.

  1. Fork this repository on GitHub and create a local clone of your fork. This should look something like below:
git clone [email protected]:<YOUR_GITHUB_ID>/docs.git

Add the master as a remote branch by running the following:

$ git remote add --track master upstream https://github.com/YugaByte/docs.git
  1. Install Hugo. For example, on a Mac, you can run the following commands:
brew update
brew install hugo
brew install npm
  1. Copy the config.yaml.sample to config.yaml.
cp config.yaml.sample config.yaml
  1. Install node modules as shown below:
$ npm ci

Step 2. Update your docs repo and start the local webserver

The assumption here is that you are working on a local clone of your fork. See the previous step.

  1. Rebase your fork to fetch the latest docs changes: Ensure you are on the master branch.
$ git checkout master

Now rebase to the latest changes.

$ git pull --rebase upstream master
$ git push origin master
  1. Start the local webserver on 127.0.0.1 interface by running the following:
$ npm start

You should be able to see the local version of the docs by browsing to: http://localhost:1313/

Note #1 that the URL may be different if the port 1313 is not available. In any case, the URL is printed out on your shell as shown below.

Web Server is available at //localhost:1313/ (bind address 0.0.0.0)
Press Ctrl+C to stop

Note #2 To start the webserver on some other IP address (in case you want to share the URL of your local docs with someone else), do the following:

YB_HUGO_BASE=<YOUR_IP_OR_HOSTNAME> npm start

You can now share the following link: http://<YOUR_IP_OR_HOSTNAME>:1313

Step 3. Make changes

Make the changes locally and test them on the browser.

Once you are satisfied with your changes, commit them to your local branch. You can do this by running the following command:

# Add all files you have made changes to.
$ git add -A

# Commit these changes.
$ git commit

Step 4. Submit a pull request

Create a pull request in the YugaByte docs repo once you are ready to submit your changes.

We will review your changes, add any feedback and once everything looks good merge your changes into the mainline.

docs's People

Contributors

ajcaldera1 avatar amitanandaiyer avatar andrewc-dev avatar bbaddepudi avatar bllewell avatar bmatican avatar d-uspenskiy avatar hectorgcr avatar kmuthukk avatar m-iancu avatar martint avatar mbautin avatar nocaway avatar rahuldesirazu avatar rajukumaryb avatar rao-vasireddy avatar ravimurthy avatar rkarthik007 avatar robertpang avatar rven1 avatar schoudhury avatar sibtayshah avatar svicalifornia avatar ttyusupov avatar vitpankin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

[YSQL] add docs for C# client driver

The client-driver docs section has relevant material for all client driver languages (c, c++, java, go, python, nodejs) except C#.

The task is to add docs for the YSQL/Postgres client driver for C#.

new top logo needs to be auto-minimized to the YB tile for smaller screens

changed docs to use the new logos that we are already using on both website and blog.

however, observing a problem after this change.

image

the old logo had the YB tile that was the only visible part of the logo on smaller screens including mobile. however, the new logo does not have this tile.

looks like we need new code to make sure the top logo auto changes to the /images/ybsymbol_original.png tile at smaller screens.

Docs For Domain

CREATE DOMAIN
DROP DOMAIN [IF EXISTS]
ALTER DOMAIN { SET DEFAULT expression | DROP DEFAULT }
ALTER DOMAIN RENAME TO

Tracking docs changes for recent features

  • AWS instance tags.
  • Edit and rolling upgrades not allowed with in transit nodes.
  • Cannot stop/remove more than (RF-1)/2 masters.
  • Backup to AWS snapshot on bucket naming info.

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.