# Repo for Stan documentation - now online!

**URL:** <https://discourse.mc-stan.org/t/repo-for-stan-documentation-now-online/6738>\
**Category:** Developers\
**Created:** [November 26, 2018, 4:18pm UTC](https://discourse.mc-stan.org/t/repo-for-stan-documentation-now-online/6738 "2018-11-26T16:18:17Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![mitzimorris](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/mitzimorris/32/29_2.png) [@mitzimorris](https://discourse.mc-stan.org/u/mitzimorris)\
**Post date:** [November 30, 2018, 9:12pm UTC](https://discourse.mc-stan.org/t/repo-for-stan-documentation-now-online/6738/12 "2018-11-30T21:12:20Z")

</div>

The `docs` repo now contains the Stan reference manual, functions reference, and user’s guide (a.k.a. “Bayesian Statistics Using Stan”)

We can move the CmdStan, RStan, and PyStan docs into this repo as well.  
The landing page is  
[http://mc-stan.org/docs/](http://mc-stan.org/docs/)

The HTML versions of the Stan manuals were introduced in 2.18. The index page has links to the pdfs for 2.17. Going forward, there will be new versions of the HTML and pdfs with each release.

Next steps here are:  
1. add manuals for the interfaces

_this definitely needs to be done for CmdStan because right now there’s not an online version of the manual. the Rmarkdown/pandoc/knitr toolchain is nice because we can generate both online and print versions of the docs._

2. create unversioned HTML docs which automatically redirect to the latest version for which the URL is valid, e.g.:

a request for “[http://mc-stan.org/docs/functions-reference/step-functions.html](http://mc-stan.org/docs/functions-reference/step-functions.html)” will automatically redirect to “[http://mc-stan.org/docs/2\_18/functions-reference/step-functions.html](http://mc-stan.org/docs/2_18/functions-reference/step-functions.html)” for now, and next release will redirect to “[http://mc-stan.org/docs/2\_19/functions-reference/step-functions.html](http://mc-stan.org/docs/2_19/functions-reference/step-functions.html)”.  
if a page (i.e. chapter) is removed from the next version of the manual, the redirect page won’t be updated, so it will still work. don’t yet have the scripts to make this happen in place.

_after some offline discussion with Bob, not sure if this is a real problem that needs to be solved_

in the meantime, happy browsing,  
Mitzi

> **[Stan Reference Manual](https://mc-stan.org/docs/2_18/reference-manual/index.html)**
>
> Stan reference manual specifying the syntax and semantics of the Stan programming language.

> **[Stan Functions Reference](https://mc-stan.org/docs/2_18/functions-reference/index.html)**
>
> Reference for the functions defined in the Stan math library and available in the Stan programming language.

> **[Stan User’s Guide](https://mc-stan.org/docs/2_18/stan-users-guide/index.html)**
>
> Stan user’s guide with examples and programming techniques.

---

_[View the full topic](https://discourse.mc-stan.org/t/repo-for-stan-documentation-now-online/6738)._
