[Python-modules-commits] [cf-python] 16/16: Adapted link generation for documentation.
Klaus Zimmermann
zklaus-guest at moszumanska.debian.org
Tue Sep 13 06:47:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
zklaus-guest pushed a commit to branch master
in repository cf-python.
commit cc3ac4301beb57bed76ea45d0a7a02fd52d7182c
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date: Mon Sep 12 15:41:34 2016 +0200
Adapted link generation for documentation.
Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
debian/cfa.1 | 4 ++--
debian/rules | 4 ++--
debian/source.lintian-overrides | 2 ++
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/cfa.1 b/debian/cfa.1
index 9837985..b8ed227 100644
--- a/debian/cfa.1
+++ b/debian/cfa.1
@@ -137,7 +137,7 @@ in all of the input files:
cfa \-o newfile.nc *.nc
.RE
-Create, in an existing directory and overwriting any exisiting files,
+Create, in an existing directory and overwriting any existing files,
new netCDF3 classic files containing the aggregatable fields in each
input file:
@@ -615,7 +615,7 @@ Office (UK) fields files.
Create an unlimited dimension (a dimension that can be appended to). A
dimension is identified by either a standard name; one of T, Z, Y, X
denoting time, height or horixontal axes (as defined by the CF
-conventions); or the value of an arbitrary CF property preceeded by
+conventions); or the value of an arbitrary CF property preceded by
the property name and a colon. For example:
Multiple unlimited axes may be defined by specifying more than one
diff --git a/debian/rules b/debian/rules
index 5a198cf..546d090 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,11 +24,11 @@ override_dh_auto_test:
override_dh_installdocs:
dh_installdocs
ln -s /usr/share/javascript/mathjax/MathJax.js $(CURDIR)/docs/build/html/_static/
- ln -s /usr/share/javascript/underscore.js $(CURDIR)/docs/build/html/_static/
- ln -s /usr/share/javascript/jquery/jquery.js $(CURDIR)/docs/build/html/_static/
ln -s /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/docs/build/html/_static/
+ ln -s /usr/share/javascript/requirejs/requirejs.min.js $(CURDIR)/docs/build/html/_static/
find docs/build/html -name "*.html" -exec sed -i "s|https://cdn.mathjax.org/mathjax/latest/MathJax.js|_static/MathJax.js|" {} \;
find docs/build/html -name "*.html" -exec sed -i "s|https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js|_static/jquery.min.js|" {} \;
+ find docs/build/html -name "*.html" -exec sed -i "s|https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js|_static/require.min.js|" {} \;
dh_installdocs -ppython-cf-doc docs/build/html
# If you need to rebuild the Sphinx documentation
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
index c2428e8..c352a53 100644
--- a/debian/source.lintian-overrides
+++ b/debian/source.lintian-overrides
@@ -1,5 +1,7 @@
cf-python source: source-is-missing docs/_static/jquery.js*
cf-python source: source-is-missing docs/_static/underscore.js*
+cf-python source: source-is-missing docs/build/_static/jquery.js*
+cf-python source: source-is-missing docs/build/_static/underscore.js*
cf-python source: source-is-missing docs/source/PPP_static/jquery.js*
cf-python source: source-is-missing docs/source/PPP_static/underscore.js*
# Upstream doesn't provide gpg signing:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cf-python.git
More information about the Python-modules-commits
mailing list