Skip to content

Commit 41f18c5

Browse files
committed
docs: add btd.yml and Makefile
1 parent 9809344 commit 41f18c5

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.btd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
input: .
2+
output: docs/_build
3+
requirements: requirements.txt
4+
target: gh-pages
5+
formats: [ html ]
6+
theme: https://codeload.github.com/buildthedocs/sphinx.theme/tar.gz/v1

docs/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
SPHINXOPTS =
2+
SPHINXBUILD = sphinx-build
3+
PAPER =
4+
BUILDDIR = _build
5+
6+
PAPEROPT_a4 = -D latex_paper_size=a4
7+
PAPEROPT_letter = -D latex_paper_size=letter
8+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -T -D language=en $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
9+
10+
#---
11+
12+
man:
13+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
14+
15+
#---
16+
17+
html:
18+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
19+
20+
#---
21+
22+
latex:
23+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex

0 commit comments

Comments
 (0)