Skip to content

Commit 8a3775c

Browse files
authored
Merge pull request #291 from stan-dev/feature/222-doc-fixes
Feature/222 doc fixes
2 parents 798e178 + b34d989 commit 8a3775c

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

docsrc/Makefile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+

0 commit comments

Comments
 (0)