[sasview] 01/01: Add patch to fix image location in docs

Stuart Prescott stuart at debian.org
Thu Nov 2 07:41:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

stuart pushed a commit to branch master
in repository sasview.

commit 0917ee35a13e067834fb03743dc1db99323954c8
Author: Stuart Prescott <stuart at debian.org>
Date:   Thu Nov 2 09:37:05 2017 +1100

    Add patch to fix image location in docs
    
    - permits PDF generation
    - forwarded to https://github.com/SasView/sasview/pull/120
---
 debian/patches/batchgrid-image-path.patch | 14 ++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/batchgrid-image-path.patch b/debian/patches/batchgrid-image-path.patch
new file mode 100644
index 0000000..a077112
--- /dev/null
+++ b/debian/patches/batchgrid-image-path.patch
@@ -0,0 +1,14 @@
+Description: Fix image path to enable PDF documentation to be generated
+Author: Stuart Prescott <stuart at debian.org>
+Forwarded: https://github.com/SasView/sasview/pull/120
+--- a/src/sas/sasgui/guiframe/data_processor.py
++++ b/src/sas/sasgui/guiframe/data_processor.py
+@@ -13,7 +13,7 @@
+ 
+ .. note:: Path to image is: /sasview/src/sas/sasgui/guiframe/media/BatchGridClassLayout.png
+ 
+-.. image:: ../../user/sasgui/guiframe/BatchGridClassLayout.png
++.. image:: ../../../../../src/sas/sasgui/guiframe/media/BatchGridClassLayout.png
+    :align: center
+ 
+ """
diff --git a/debian/patches/series b/debian/patches/series
index a4052cc..2d69162 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+batchgrid-image-path.patch
 setup-entry-point.patch
 limit-docs-sasview.patch
 sphinx-local-mathjax.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasview.git



More information about the debian-science-commits mailing list