8000 :sparkles: use inherited mobanfile. https://github.com/moremoban/moba… · pyexcel/pyexcel@bf111f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf111f2

Browse files
committed
✨ use inherited mobanfile. moremoban/moban#348
1 parent 9728320 commit bf111f2

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1-
{% include 'docs/source/conf.py' %}
1+
{% extends 'docs/source/conf.py.jj2'%}
22

3-
master_doc = "index"
3+
{%block SPHINX_EXTENSIONS%}
4+
'sphinx.ext.autosummary',
5+
'sphinx.ext.napoleon',
6+
'sphinxcontrib.excel'
7+
{%endblock%}
8+
9+
{%block custom_doc_theme%}
10+
html_theme = 'default'
11+
def setup(app):
12+
app.add_stylesheet('theme_overrides.css')
13+
14+
15+
{%endblock%}
16+
17+
{%block additional_mapping%}
18+
'xlrd': ('http://xlrd.readthedocs.io/en/latest/', None)
19+
{%endblock%}

.moban.yml

Lines changed: 1 addition & 18 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,13 @@
1+
overrides: "git://github.com/pyexcel/pyexcel-mobans!/mobanfile.yaml"
12
configuration:
2-
configuration_dir: "git://github.com/pyexcel/pyexcel-mobans!/config"
3-
template_dir:
4-
- "git://github.com/moremoban/pypi-mobans.git?branch=dev&submodule=true!/templates"
5-
- "git://github.com/pyexcel/pyexcel-mobans.git!/templates"
6-
- "git://github.com/pyexcel/pyexcel-mobans.git!/statics"
7-
- ".moban.d"
83
configuration: pyexcel.yml
94
targets:
105
- setup.py: custom_setup.py.jj2
116
- "docs/source/conf.py": "docs/source/custom_conf.py.jj2"
127
- .travis.yml: pyexcel-travis.yml.jj2
13-
- requirements.txt: requirements.txt.jj2
14-
- min_requirements.txt: minimum_requirements.txt
15-
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
16-
- LICENSE: NEW_BSD_LICENSE.jj2
178
- MANIFEST.in: CUSTOM_MANIFEST.in.jj2
189
- README.rst: pyexcel-README.rst.jj2
1910
- "docs/source/guide.rst": "docs/source/guide.rst.jj2"
20-
- test.sh: test.sh.jj2
21-
- test.bat: test.bat.jj2
2211
- .gitignore: commons-gitignore.jj2
2312
- "pyexcel/__version__.py": version.txt
2413
- "docs/source/index.rst": "docs/source/pyexcel-index.rst.jj2"
25-
- output: CHANGELOG.rst
26-
configuration: changelog.yml
27-
template: CHANGELOG.rst.jj2
28-
- lint.sh: lint.script.jj2
29-
- ".github/FUNDING.yml": "FUNDING.yml"
30-
- ".github/PULL_REQUEST_TEMPLATE.md": PULL_REQUEST_TEMPLATE.md

docs/source/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
intersphinx_mapping = {'https://docs.python.org/3/': None}
7373
# TODO: html_theme not configurable upstream
7474
html_theme = 'default'
75-
76-
7775
def setup(app):
7876
app.add_stylesheet('theme_overrides.css')
7977

@@ -90,5 +88,4 @@ def setup(app):
9088
intersphinx_mapping.update({
9189
'xlrd': ('http://xlrd.readthedocs.io/en/latest/', None)
9290
})
93-
94-
master_doc = "index"
91+
master_doc = "index"

0 commit comments

Comments
 (0)
0