File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ to compile and run a Stan program.
2323
2424### Docs
2525
26- See https://cmdstanpy.readthedocs.io/en/latest/index.html
26+ See https://cmdstanpy.readthedocs.io/
2727
2828### Source Repository
2929
Original file line number Diff line number Diff line change 1+ # Minimal makefile for Sphinx documentation
2+ #
3+
4+ # You can set these variables from the command line.
5+ SPHINXOPTS =
6+ SPHINXBUILD = sphinx-build
7+ SPHINXPROJ = CmdStanPy
8+ SOURCEDIR = .
9+ BUILDDIR = _build
10+
11+ # Put it first so that "make" without argument is like "make help".
12+ help :
13+ @echo ' Build CmdStanPy docs:'
14+ @echo ' target github: build HTML pages and copy to docs dir'
15+ @echo ' '
16+ @echo ' Sphinx version, targets:'
17+ @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
18+
19+ .PHONY : help Makefile
20+
21+ github :
22+ @make html
23+ @cp -a _build/html/. ../docs
24+
25+ # Catch-all target: route all unknown targets to Sphinx using the new
26+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
27+ % : Makefile
28+ @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
29+
You can’t perform that action at this time.
0 commit comments