Skip to content

Commit 0487048

Browse files
committed
Move _theme and build files to _build
1 parent c37ff12 commit 0487048

File tree

10 files changed

+7
-10
lines changed

10 files changed

+7
-10
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/_build
1+
/_build/doctrees
2+
/_build/html
23
*.pyc

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
language: python
22

3-
python: "2.7"
3+
python: 2.7
44

55
sudo: false
6-
76
cache:
8-
directories:
9-
- $HOME/.cache/pip
10-
- _build
7+
directories: [$HOME/.cache/pip]
118

129
install: pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git
1310

14-
script: sphinx-build -nW -b html -d _build/doctrees . _build/html
11+
script: sphinx-build -nW -c _build/ -b html -d _build/doctrees . _build/html
1512

1613
branches:
1714
except:
File renamed without changes.
File renamed without changes.

conf.py renamed to _build/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# If extensions (or modules to document with autodoc) are in another directory,
1717
# add these directories to sys.path here. If the directory is relative to the
1818
# documentation root, use os.path.abspath to make it absolute, like shown here.
19-
sys.path.append(os.path.abspath('_theme/_exts'))
19+
sys.path.append(os.path.abspath('../_theme/_exts'))
2020

2121
# adding PhpLexer
2222
from sphinx.highlighting import lexers
@@ -75,7 +75,7 @@
7575

7676
# List of patterns, relative to source directory, that match files and
7777
# directories to ignore when looking for source files.
78-
exclude_patterns = ['_theme']
78+
exclude_patterns = ['_build']
7979

8080
# The reST default role (used for this markup: `text`) to use for all documents.
8181
#default_role = None
@@ -279,4 +279,3 @@
279279

280280
# Use PHP syntax highlighting in code examples by default
281281
highlight_language='php'
282-
File renamed without changes.

0 commit comments

Comments
 (0)