unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Fix reST markup error in matplotlib documentation,
@ 2017-01-04 21:22 Danny Milosavljevic
  2017-01-04 21:22 ` [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 21:22 UTC (permalink / raw)
  To: guix-devel

There's a syntax error in the matplotlib documentation. Fix it.
This is required that Sphinx 1.4.8 works but it will also work with
older Sphinx.

Danny Milosavljevic (1):
  gnu: python-matplotlib: Fix documentation reST markup error.

 gnu/packages/python.scm | 5 +++++
 1 file changed, 5 insertions(+)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error.
  2017-01-04 21:22 [PATCH 0/1] Fix reST markup error in matplotlib documentation, Danny Milosavljevic
@ 2017-01-04 21:22 ` Danny Milosavljevic
  2017-01-05 14:55   ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 21:22 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-matplotlib): Fix documentation reST markup error.
---
 gnu/packages/python.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4e1a6b4a8..bc9058ba3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3629,6 +3629,11 @@ transcendental functions).")
        (sha256
         (base32
          "1dn05cvd0g984lzhh72wa0z93psgwshbbg93fkab6slx5m3l95av"))
+       (modules '((guix build utils)))
+       (snippet
+        '(substitute* "doc/users/intro.rst"
+           ;; Fix reST markup error (see <https://github.com/sphinx-doc/sphinx/issues/3044>)
+           (("[[][*][]]") "[#]")))
        (patches (search-patches "matplotlib-setupext-tk.patch"))))
     (build-system python-build-system)
     (outputs '("out" "doc"))

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error.
  2017-01-04 21:22 ` [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error Danny Milosavljevic
@ 2017-01-05 14:55   ` Marius Bakke
  0 siblings, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2017-01-05 14:55 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * gnu/packages/python.scm (python-matplotlib): Fix documentation reST markup error.
> ---
>  gnu/packages/python.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 4e1a6b4a8..bc9058ba3 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -3629,6 +3629,11 @@ transcendental functions).")
>         (sha256
>          (base32
>           "1dn05cvd0g984lzhh72wa0z93psgwshbbg93fkab6slx5m3l95av"))
> +       (modules '((guix build utils)))
> +       (snippet
> +        '(substitute* "doc/users/intro.rst"
> +           ;; Fix reST markup error (see <https://github.com/sphinx-doc/sphinx/issues/3044>)
> +           (("[[][*][]]") "[#]")))

Please run this substitution in a phase instead. Source snippets change
the source presented to users running `guix build -S` and should be
reserved for critical bug fixes and reproducibility problems, but
otherwise stay as close to upstream as possible.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-05 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 21:22 [PATCH 0/1] Fix reST markup error in matplotlib documentation, Danny Milosavljevic
2017-01-04 21:22 ` [PATCH 1/1] gnu: python-matplotlib: Fix documentation reST markup error Danny Milosavljevic
2017-01-05 14:55   ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).