Skip to content

Commit eee9814

Browse files
committed
✨ sync
1 parent 48896eb commit eee9814

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

templates/docs/Makefile.jj2

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# Minimal makefile for Sphinx documentation
22
#
33

4-
# You can set these variables from the command line.
5-
SPHINXOPTS =
6-
SPHINXBUILD = sphinx-build
7-
SOURCEDIR = {{ rsrcdir }}
8-
BUILDDIR = {{ rbuilddir }}
4+
# You can set these variables from the command line. For example:
5+
# SPHINXOPTS='-E -W -n' make html
6+
# will run the html builder in a clean environment (-E), treating warnings
7+
# as errors (-W), in nitpicky mode (-n).
8+
SPHINXOPTS ?=
9+
SPHINXBUILD ?= sphinx-build
10+
SOURCEDIR ?= {{ rsrcdir }}
11+
BUILDDIR ?= {{ rbuilddir }}
912

1013
# Put it first so that "make" without argument is like "make help".
1114
help:

tests/test_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from test_utils import get_rendered_file, get_file_content
1+
from test_utils import get_file_content, get_rendered_file
22

33

44
def test_setup():

tests/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
23
from moban.jinja2.engine import Engine
34

45
PATH_TO_TEMPLATES = './templates'

0 commit comments

Comments
 (0)