unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] services: guix-service: Add service documentation.
Date: Wed, 25 Mar 2015 22:00:30 +0300	[thread overview]
Message-ID: <87egocsy0h.fsf@gmail.com> (raw)

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

Hello,

I've noticed that "deco doc guix-daemon" displays "[No documentation.]".
What about adding one?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-services-guix-service-Add-service-documentation.patch --]
[-- Type: text/x-patch, Size: 787 bytes --]

From 409a8e28f0eb6964dfc20bc67a1724d1fcea776f Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Wed, 25 Mar 2015 21:48:28 +0300
Subject: [PATCH] services: guix-service: Add service documentation.

* gnu/services/base.scm (guix-service): Add 'documentation' field to the
  service.
---
 gnu/services/base.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index a912603..24e6d32 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -640,6 +640,7 @@ passed to @command{guix-daemon}."
 
   (with-monad %store-monad
     (return (service
+             (documentation "Run the Guix daemon.")
              (provision '(guix-daemon))
              (requirement '(user-processes))
              (start
-- 
2.2.1


             reply	other threads:[~2015-03-25 19:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 19:00 Alex Kost [this message]
2015-03-25 20:45 ` [PATCH] services: guix-service: Add service documentation Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egocsy0h.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).