Coder Social home page Coder Social logo

docs's Introduction

CartoDB Docs

Build Status

About

This repository contains all of the technical documentation content for CartoDB. The CartoDB documentation landing page is found here docs.cartodb.com. The current structure of the Documentation portal contains information about the CartoDB Editor, CartoDB Platform, Tutorials, Tips & Tricks, and FAQs.

Note: The structure of this documentation content is currently being enhanced to appear more like a content management system.

This Docs repo is an open resource so that anyone can contribute their documentation ideas about CartoDB features and functionality. (For general information about CartoDB, please see our website at CartoDB).

If you spot a spelling error, have a suggestion for a Frequently Asked Question, or would like to contribute to a tutorial, please review our CONTRIBUTING page and submit a Pull Request. Otherwise, send an email to our Technical Writer, who will be happy to enhance the current documentation for you.

Develop

How to install

CartoDB Docs uses a mix of Jekyll and Grunt tasks for development. Thus, you will need Ruby and a Node.js version >= 0.10.0 installed, in addition to Bundlr.

bundle install
npm install -g grunt-cli
npm install

Run locally

grunt serve

A tab in your browser will open and direct you to http://0.0.0.0:9000

Also, you can run the blog locally as if it was on production with grunt serve:dist

In case you stumble upon this error:

Error: Unable to read "grunt-aws.json" file (Error code: ENOENT).

You will need a grunt-aws.json credentials file, find more information in the deploy section.

If you cannot find the docs for CartoDB.js, the SQL API or Maps API, ensure that you run sh docs_build.sh. For details, see How to contribute.

You will also need wgetand sed in order for the script work.

Deploy

grunt deploy:staging|production

You will need a grunt-aws.json credentials file. You can copy the grunt-aws.example.json to grunt-aws.json to work locally.

How to contribute

We welcome contribution ideas for technical documentation. If you want to suggest something and have questions, you can contact [email protected].

Documentation for the components of the CartoDB platform rely on their own project. Edit the respective sections in the appropriate documentation area and run sh docs_build.sh to pull the content:

Import API documentation is the only that must be edited in this project.

The following workflow describes how to contribute to the Docs repo:

  • Fork it ( https://github.com/cartodb/docs/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

Our Technical Writer will review your branch, edit the content according to our Style Guide and merge the 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.