zsh-users
 help / color / mirror / code / Atom feed
From: Zach Riggle <zachriggle@gmail.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Better Help Docs Searching?
Date: Tue, 3 Aug 2021 04:40:07 -0500	[thread overview]
Message-ID: <CAMP9c5kMmvSPE-aQ5U1dwZuQGpJNiRgtQOZdvdJhxSRH0c5U2w@mail.gmail.com> (raw)
In-Reply-To: <740562670.624981.1627980275012@mail2.virginmedia.com>

Peter

## Building Docs from Source
Thanks for the information.  I might be misinterpreting your
information ("earlier stage...uses what's there") so I tried a "make
all" and the Docs/ directory seems to be in an even worse situation.

I also took "If you don't have Yodl" to mean "not having Yodl
installed / a yodl binary in $PATH".  I don't see anything that I can
"brew install" that handles this, and having checked out the source
code for yodl (https://gitlab.com/fbb-git/yodl.git).  Building YODL
itself requires "icmake" which is unavailable, and not installable via
"brew" (Homebrew).

## Using the Docs from SourceForge

> If you don't have Yodl you can grab the doc package from the same place as the
> source package and it has all this pre-built

I do see SourceForge has [1] a zsh-5.8-doc.tar.xz, which may be what
you referred to.  It has the pre-built source, a pre-built PDF, and
does appear to have some ".info" files pre-built.

After extraction, running the command "info -f Doc/zsh.info" works.
Selecting the "17 Shell Builtin Commands" section, I can hit shift-i
to go to an "Index Entry".  This is good! Before there were no
indices.

Typing in "read" the index prompt, takes me to the first incidence of
the word "read" (which is under the ". FILE" section), which isn't
much better than the man-pages or web-browser search.  Hitting the
comma key (",") to move to the next match cycles between matches, but
never actually arrives at the documentation for the "read" builtin
[2].

[1]: https://zsh.sourceforge.io/Arc/source.html
[2]: https://i.imgur.com/2dPlevy.png

Zach Riggle

On Tue, Aug 3, 2021 at 3:45 AM Peter Stephenson
<p.w.stephenson@ntlworld.com> wrote:
>
> > On 03 August 2021 at 09:09 Zach Riggle <zachriggle@gmail.com> wrote:
> > Follow-up-to-follow-up, and apologies for the spam.  It appears that,
> > while "make info" worked, it did not actually generate anything useful
> > in "Doc/zsh.texi".
> >
> >   $ make info
> >   makeinfo ./zsh.texi
> >
> >   $ git status --ignored -sb | grep '!!' | awk '{print $2}' | xargs wc -l
> >        114 Config/defs.mk
> >        655 Doc/Makefile
> >         36 Doc/Zsh/manmodmenu.yo
> >        221 Doc/Zsh/modlist.yo
> >         38 Doc/Zsh/modmenu.yo
> >          9 Doc/version.yo
> >          2 Doc/zsh.info <------- two bytes
> >          0 Doc/zsh.texi <------- zero
>
> zsh.texi is generated by an earlier stage from the Yodl source; makeinfo simply uses what's
> there.  If you don't have Yodl you can grab the doc package from the same place as the
> source package and it has all this pre-built.
>
> pws
>


  reply	other threads:[~2021-08-03  9:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01 10:44 Zach Riggle
2021-08-01 11:01 ` Roman Perepelitsa
2021-08-01 16:21 ` Mikael Magnusson
2021-08-01 16:33   ` Stephane Chazelas
2021-08-01 18:52     ` Bart Schaefer
2021-08-01 20:11       ` Ray Andrews
2021-08-03  5:45         ` Zach Riggle
2021-08-03  8:03           ` Zach Riggle
2021-08-03  8:09             ` Zach Riggle
2021-08-03  8:44               ` Peter Stephenson
2021-08-03  9:40                 ` Zach Riggle [this message]
2021-08-03  9:57                   ` Peter Stephenson
2021-08-03 16:47                   ` Bart Schaefer
2021-08-03 11:28             ` david rayner
2021-08-05 15:31             ` Vincent Lefevre
2021-08-03 16:52           ` Bart Schaefer
2021-08-01 16:25 ` Bart Schaefer
2021-08-05  9:56   ` Vincent Lefevre
2021-08-04  6:30 ` Roman Neuhauser
2021-08-04 14:56   ` Ray Andrews
2021-08-04 16:08     ` Bart Schaefer
2021-08-05 12:00       ` Ray Andrews
2021-08-04 16:38     ` Roman Neuhauser
2021-08-04 16:05   ` Bart Schaefer
2021-08-04 16:45     ` Roman Neuhauser
2021-08-14 15:41 ` Daniel Shahaf

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

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

  git send-email \
    --in-reply-to=CAMP9c5kMmvSPE-aQ5U1dwZuQGpJNiRgtQOZdvdJhxSRH0c5U2w@mail.gmail.com \
    --to=zachriggle@gmail.com \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-users@zsh.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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).