Giter VIP home page Giter VIP logo

docs's Introduction

Docs!

Public documentation for TempoIQ. Officially hosted at https://developers.tempoiq.com/docs/

To build docs locally:

  1. git clone <this repo>
  2. cd docs/
  3. (optional) Switch into a Python virtualenv
  4. pip install -r requirements.txt
  5. make html

HTML output is in build/html. If you're feeling more adventurous, there's also a Grunt task that auto-builds the docs and refreshes the webpage whenever a .rst file changes. To set it up:

  1. Install Node: e.g. brew install node
  2. Install grunt: npm install -g grunt-cli
  3. Install packages and grunt plugins to do the cool stuff: npm install
  4. Run the task with grunt.

Stuff to know

The "dev" Sphinx tag can be used to include content in development builds only, e.g.:

.. only:: dev

   Insert profanity, secrets, or other content that shouldn't be included
   in published docs.

The todo directive already has this behavior, so todos are never present in production docs.

Code snippets

Example code snippets can be included from files in this repo, or from remote GitHub respositories. This will be used in the future to tie example code to our client libraries, to enable integration testing the examples. See source/sphinxext/snippets.py for more information.

Organization

The FAQs page (/source/faqs.rst) can be used as a temporary holding area for quickly answering questions that come up from customers. However, the page should periodically be refactored, putting answers into more specific pages to prevent it from sprawling out of control.

Conventions

Headings

Use the following hierarchy for indicating headings in .rst:

h1:

============
Page heading
============

h2:

Section heading
---------------

h3:

Subsection heading
~~~~~~~~~~~~~~~~~~

h4 (but try to avoid hierarchies this deep):

Sub-subsection heading
^^^^^^^^^^^^^^^^^^^^^^

Terminology

  • "data point" is two words
  • "time zone" is two words
  • "realtime", not "real time" or "real-time"
  • "timestamp" is one word

Punctuation/capitalization

  • Use the oxford comma.
  • File names should be in kebab-case
  • Class names should be in PascalCase (except in filenames).
  • To reflect the JSON API, multi-word field names should be in snake_case.

docs's People

Contributors

ajcronk avatar blakesmith avatar jcc333 avatar meshulam avatar plainlystated avatar selecsosi avatar

Watchers

 avatar  avatar  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.