Code Monkey home page Code Monkey logo

docs's Introduction

Repository docs

Documentation for Stan language and platform

GitHub Pages

This repository uses GitHub Pages to serve the project pages site with URL https://mc-stan.org/docs. The publishing strategy is to serve the contents of the directory docs on branch master. The docs directory contains an empty file named .nojekyll so that GitHub will treat the contents as pre-generated HTML instead of trying to run jekyll.

Directory Structure

  • src : directory of source files for Stan manuals and book, each in its own named subdirectory.

  • docs: the directory docs on branch master is the publishing source for the project pages site. Whenever a verified member of the Stan organization pushes to docs on branch master, GitHub (re)builds and (re)deploys the website.

  • build.py: python script which compiles markdown files under src to html and pdf and populates the docs dir with the generated documentation.

    • arg 1: MAJOR Stan version, required (expecting number, should be positive int)
    • arg 2: MINOR Stan version, required (expecting number, should be positive int)
    • arg 3: name of document (optional - will build entire docset)
    • arg 4: output format, either "html" or "pdf" (optional - default builds both html and pdfs)
  • LICENSE: licensing terms.

Generating the static site

  1. Install R packages: bookdown, arm

  2. Install on OS and ensure on PATH: pandoc, pandoc-citeproc, pdflatex

  3. Run python build.py <MAJOR> <MINOR> (<document> (<format>))

  4. The generated html and/or pdfs will be in the versioned subdirectory of docs.

docs's People

Contributors

avehtari avatar bbbales2 avatar bob-carpenter avatar breckbaldwin avatar charlesm93 avatar hhau avatar hugbubby avatar jgabry avatar jtimonen avatar mcol avatar mitzimorris avatar oshikiri avatar rok-cesnovar avatar serban-nicusor-catena avatar serban-nicusor-toptal avatar sethaxen avatar ssp3nc3r avatar stan-buildbot avatar t4c1 avatar torkar avatar vmatthijs avatar wds15 avatar weberse2 avatar yimingli avatar

Watchers

 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.