From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Generate NEWS.XX.Y.html file for Emacs website
Date: Thu, 15 Sep 2022 13:45:31 -0400 [thread overview]
Message-ID: <CADwFkmmWRVgWEn1B9iJEY_Vcr7g+1iHRHYzyvOX7wymEc1UcFQ@mail.gmail.com> (raw)
In-Reply-To: <83h718zszj.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
> I see that you changed admin.el on master, which means Emacs 28.x will
> be unable to use this?
I pushed it to emacs-28 (as this is only in admin/admin.el and doesn't
touch anything else). So we can use it on Emacs 28.2, and that's what I
did to generate the HTML file I posted.
> In any case, if we want the above to be part of updating the Emacs Web
> site and the on-line manuals, those commands will need to be part of
> the scripts that are used for those jobs, or maybe a separate script.
Indeed. I will work on it, as well as updating the relevant docs.
>> > Also, how will this HTML version be maintained, after it is produced.
>>
>> The easiest option is to just leave the old generated HTML files alone
>> and update them only if absolutely necessary.
>
> I meant to ask how will we keep them under VCS (CVS in this case).
I might be missing some context here, because I don't think I understand
what you're asking. Do we need to do anything else besides copying them
in place (to "news/NEWS.NN.Y.html") and running "cvs update"?
>> But it'd be better if we could generate HTML versions of all etc/NEWS.*
>> files whenever we make a new release.
>
> Each time we make a new release, or just once?
We could decide which way we want to go with it. I imagine that the
template could change over time, so it might be nice to do it every time
we make a release (but we'd need to automate it).
On the other hand, it might save us some work if we only do it once.
>> I didn't yet look into this, so I don't know how realistic this is,
>> but I have a hunch that it's doable. Maybe we will only be able to
>> do it for releases newer than Emacs 21 (or something) though.
>
> Do we have links for those older NEWS files on the Web site? If not,
> I see no point in generating NEWS in HTML format for old releases.
The only benefit I see is that you could then edit the URL to visit the
pages for older releases. I think Karl Fogel pointed out this use case,
and it's definitely something I have done in the past too.
But I'm not sure it's very important. We could perhaps do it if it
turns out to be only a very small amount of work.
next prev parent reply other threads:[~2022-09-15 17:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-15 8:39 Generate NEWS.XX.Y.html file for Emacs website Stefan Kangas
2022-09-15 13:07 ` Eli Zaretskii
2022-09-15 17:45 ` Stefan Kangas [this message]
2022-09-15 18:42 ` Eli Zaretskii
2022-09-15 19:32 ` Stefan Kangas
2022-09-15 18:29 ` Filipp Gunbin
2022-09-15 19:32 ` Stefan Kangas
2022-09-16 15:14 ` Stefan Kangas
2022-09-17 18:50 ` Stefan Kangas
2022-09-17 19:07 ` Eli Zaretskii
2022-09-17 20:08 ` Stefan Kangas
2022-09-18 5:22 ` Eli Zaretskii
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=CADwFkmmWRVgWEn1B9iJEY_Vcr7g+1iHRHYzyvOX7wymEc1UcFQ@mail.gmail.com \
--to=stefankangas@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.