[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/gendocs.chapter/gendocs_template: New file.
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/gendocs.chapter/gendocs_template: New file. * doc/Makefile.am (wwwdoc-build): Use it for texi2any_internals manual, as default template does not handle chapter-split manuals. |
Date: |
Sat, 12 Nov 2022 11:27:31 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 123bf27aa7 * doc/gendocs.chapter/gendocs_template: New file. *
doc/Makefile.am (wwwdoc-build): Use it for texi2any_internals manual, as
default template does not handle chapter-split manuals.
123bf27aa7 is described below
commit 123bf27aa75fe577c1a03c6d8a96af260c9a95e9
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 12 16:26:39 2022 +0000
* doc/gendocs.chapter/gendocs_template: New file.
* doc/Makefile.am (wwwdoc-build): Use it for texi2any_internals
manual, as default template does not handle chapter-split
manuals.
---
ChangeLog | 7 +++
doc/Makefile.am | 14 ++++--
doc/gendocs.chapter/gendocs_template | 84 ++++++++++++++++++++++++++++++++++++
3 files changed, 101 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a266a1810e..956fbdee87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-11-12 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/gendocs.chapter/gendocs_template: New file.
+ * doc/Makefile.am (wwwdoc-build): Use it for texi2any_internals
+ manual, as default template does not handle chapter-split
+ manuals.
+
2022-11-12 Patrice Dumas <pertusus@free.fr>
* doc/texinfo.texi (HTML Xref 8-bit Character Expansion):
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a087d03a4e..6532c919f4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -111,12 +111,18 @@ mathjax_root = https://www.gnu.org/software/texinfo/manual
gendocs_mathjax = -c HTML_MATH=mathjax \
-c MATHJAX_SCRIPT=$(mathjax_root)/tex-svg.js \
-c MATHJAX_SOURCE=$(mathjax_root)/mathjax-instructions.html
-#
-gendocs_invoke = env $(gendocs_envvars) $(gendocs) --email $(gendocs_email) \
- --html '$(gendocs_mathjax) -c TOP_NODE_UP_URL=$(gendocs_dir_url)'
+
+gendocs_options = --email $(gendocs_email) --html '$(gendocs_mathjax) \
+ -c TOP_NODE_UP_URL=$(gendocs_dir_url)'
# A nice side effect of using --html is to eliminate the fancy css default;
# otherwise, we could use gendocs_template_min.
#
+gendocs_invoke = env $(gendocs_envvars) $(gendocs) $(gendocs_options)
+gendocs_invoke_chap = env $(gendocs_envvars) \
+ GENDOCS_TEMPLATE_DIR=$(abs_top_srcdir)/doc/gendocs.chapter \
+ $(gendocs) $(gendocs_options)
+
+
manual1 = info-stnd
manual1_title = "GNU standalone info manual"
#
@@ -147,7 +153,7 @@ wwwdoc-build:
&& $(gendocs_invoke) -o $(manual2) $(manual2) $(manual2_title) \
&& $(gendocs_invoke) $(manual3_flags) \
-o $(manual3) $(manual3) $(manual3_title) \
- && $(gendocs_invoke) $(manual4_flags) \
+ && $(gendocs_invoke_chap) $(manual4_flags) \
-o $(manual4) $(manual4) $(manual4_title) \
&& pod2html $(pod2texi_pl) >pod2texi.html \
&& echo "Manuals ready for web distribution under: $(doctemp)/"
diff --git a/doc/gendocs.chapter/gendocs_template
b/doc/gendocs.chapter/gendocs_template
new file mode 100644
index 0000000000..479db7ac61
--- /dev/null
+++ b/doc/gendocs.chapter/gendocs_template
@@ -0,0 +1,84 @@
+<!--#include virtual="/server/header.html" -->
+<!-- Parent-Version: 1.78 -->
+<!-- Template edited for Texinfo project - manual split at chapters -->
+
+<!--
+Copyright (C) 2006-2022 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without any warranty.
+-->
+
+<title>%%TITLE%% - GNU Project - Free Software Foundation</title>
+<!--#include virtual="/server/banner.html" -->
+<h2>%%TITLE%%</h2>
+
+<address>Free Software Foundation</address>
+<address>last updated %%DATE%%</address>
+
+<p>This manual (%%PACKAGE%%) is available in the following formats:</p>
+
+<ul>
+<li><a href="%%PACKAGE%%.html">HTML
+ (%%HTML_MONO_SIZE%%K bytes)</a> - entirely on one web page.</li>
+<li><a href="html_chapter/index.html">HTML</a> - with one web page per
+ chapter.</li>
+<li><a href="%%PACKAGE%%.html.gz">HTML compressed
+ (%%HTML_MONO_GZ_SIZE%%K gzipped characters)</a> - entirely on
+ one web page.</li>
+<li><a href="%%PACKAGE%%.html_chapter.tar.gz">HTML compressed
+ (%%HTML_CHAPTER_TGZ_SIZE%%K gzipped tar file)</a> -
+ with one web page per chapter.</li>
+<li><a href="%%PACKAGE%%.info.tar.gz">Info document
+ (%%INFO_TGZ_SIZE%%K bytes gzipped tar file)</a>.</li>
+<li><a href="%%PACKAGE%%.txt">ASCII text
+ (%%ASCII_SIZE%%K bytes)</a>.</li>
+<li><a href="%%PACKAGE%%.txt.gz">ASCII text compressed
+ (%%ASCII_GZ_SIZE%%K bytes gzipped)</a>.</li>
+<li><a href="%%PACKAGE%%.dvi.gz">TeX dvi file
+ (%%DVI_GZ_SIZE%%K bytes gzipped)</a>.</li>
+<li><a href="%%PACKAGE%%.pdf">PDF file
+ (%%PDF_SIZE%%K bytes)</a>.</li>
+<li><a href="%%PACKAGE%%.texi.tar.gz">Texinfo source
+ (%%TEXI_TGZ_SIZE%%K bytes gzipped tar file).</a></li>
+</ul>
+
+<p>You can <a href="https://shop.fsf.org/">buy printed copies of
+some manuals</a> (among other items) from the Free Software Foundation;
+this helps support FSF activities.</p>
+
+<p>(This page generated by the <a href="%%SCRIPTURL%%">%%SCRIPTNAME%%
+script</a>.)</p>
+
+<!-- If needed, change the copyright block at the bottom. In general,
+ all pages on the GNU web server should have the section about
+ verbatim copying. Please do NOT remove this without talking
+ with the webmasters first.
+ Please make sure the copyright date is consistent with the document
+ and that it is like this: "2001, 2002", not this: "2001-2002". -->
+</div><!-- for id="content", starts in the include above -->
+<!--#include virtual="/server/footer.html" -->
+<div id="footer">
+<div class="unprintable">
+
+<p>Please send general FSF & GNU inquiries to
+<a href="mailto:gnu@gnu.org"><gnu@gnu.org></a>.
+There are also <a href="/contact/">other ways to contact</a>
+the FSF. Broken links and other corrections or suggestions can be sent
+to <a href="mailto:%%EMAIL%%"><%%EMAIL%%></a>.</p>
+</div>
+
+<p>Copyright © 2022 Free Software Foundation, Inc.</p>
+
+<p>This page is licensed under a <a rel="license"
+href="https://creativecommons.org/licenses/by-nd/3.0/us/">Creative
+Commons Attribution-NoDerivs 3.0 United States License</a>.</p>
+
+<!--#include virtual="/server/bottom-notes.html" -->
+
+</div>
+</div>
+</body>
+</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/gendocs.chapter/gendocs_template: New file. * doc/Makefile.am (wwwdoc-build): Use it for texi2any_internals manual, as default template does not handle chapter-split manuals.,
Gavin D. Smith <=