Coder Social home page Coder Social logo

pine_script_docs's Introduction

Pine User Manual

This repo contains the source for the current User Manual of TradingView's Pine programming language. It deprecates the Pine Tutorial Wiki. The source uses reStructuredText markup and we use Sphynx to build the final HTML product.

How to build html docs

Follow these steps:

  • Execute sudo make install_tools
  • Execute make syncpackages (this would download the theme)
  • Execute make html

Your docs will be in the build/html folder.

Notes for writers

Rules for capitalization in titles

  • Capitalize the first word of the title
  • Capitalize all proper nouns

Filenames for *.rst files

Take a page title, replace all spaces with underscores (_), remove all punctuation (except dashes, -), add .rst extension. For example such a content:

Expressions, declarations and statements
========================================

Should be saved on disk as Expressions_declarations_and_statements.rst.

Automatic table of contents

Use reStructuredText directive contents. Place it after the title of a section, which table of contents you want. For example:

Expressions, declarations and statements
========================================

.. contents:: :local:
    :depth: 2

Quotation marks

Documentation uses American style which considers a double quotes are the default ones. Single quotes are used if nested in the double ones. For example:

  • Joe said, "Will you marry me?"
  • Joe smiled and said, "Jenny said 'yes' when I asked her to marry me."

Inline markup

  • One asterisk: *text* for emphasis (italics),
  • Two asterisks: **text** for strong emphasis (boldface), and
  • Two backquotes: ``text`` for inline code samples.

Special unicode characters

There is a set of macros in file isonum.txt. For example for โ†’ (RIGHTWARDS ARROW) use |rarr| macro. For example:

..    include:: <isonum.txt>
Indicators |rarr| Built-ins

pine_script_docs's People

Contributors

lucff avatar ppetrovtv avatar dmkarapetyan avatar starrlucky avatar vgladkov avatar vlkv avatar kuznet1 avatar imalikov avatar tbychkovtv avatar mtrofimchuk avatar av-elier avatar itpmngt avatar jsibbiso 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.