Skip to content

Commit 83ff53c

Browse files
committed
Add git info
1 parent f75a752 commit 83ff53c

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
build
22
Makefile.1
3+
compile_messages
4+
init

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/sphinx_rtd_theme"]
2+
path = themes/sphinx_rtd_theme
3+
url = https://github.com/snide/sphinx_rtd_theme.git

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ addons:
88
before_script:
99
- openssl aes-256-cbc -K $encrypted_cd22de430b6c_key -iv $encrypted_cd22de430b6c_iv -in qgep_rsa.enc -out ~/.ssh/id_rsa -d
1010
- chmod 600 ~/.ssh/id_rsa
11+
- git config --global user.email "[email protected]"
12+
- git config --global user.name "QGEP"
1113

1214
script:
1315
- ./scripts/build-docs.sh
14-
- ./scripts/deploy-docs.sh
16+
- sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "master"; then echo "publish website"; ./scripts/deploy-docs.sh build /tmp; fi'

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@
9898

9999
# The theme to use for HTML and HTML Help pages. See the documentation for
100100
# a list of builtin themes.
101-
html_theme = 'default'
101+
html_theme = 'sphinx_rtd_theme'
102102

103103
# Theme options are theme-specific and customize the look and feel of a theme
104104
# further. For a list of options available for each theme, see the
105105
# documentation.
106106
#html_theme_options = {}
107107

108108
# Add any paths that contain custom themes here, relative to this directory.
109-
#html_theme_path = []
109+
html_theme_path = ['themes/sphinx_rtd_theme',]
110110

111111
# The name for this set of Sphinx documents. If None, it defaults to
112112
# "<project> v<release> documentation".

scripts/deploy-docs.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ mkdir publish
1010
cd publish
1111
git clone [email protected]:QGEP/docs.git --branch gh-pages
1212
cd docs
13-
cp ../../build/* . -r
13+
git rm . -r
14+
cp ../../build/html/* . -r
1415
git add -A
15-
git commit -m "Automatic update from https://github.com/mapserver/docs/commit/${TRAVIS_COMMIT}"
16+
git commit -m "Automatic update from https://github.com/qgep/docs/commit/${TRAVIS_COMMIT}"
1617
git push
1718
popd

themes/sphinx_rtd_theme

Submodule sphinx_rtd_theme added at d0ab15b

0 commit comments

Comments
 (0)