aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts/update_web_docs_git
AgeCommit message (Collapse)AuthorFilesLines
2026-01-26Generate Algol 68 front end Coding GuidelinesPietro Monteiro1-0/+1
maintainer-scripts/ChangeLog: * update_web_docs_git (MANUALS): Add ga68-coding-guidelines. Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2025-12-21maintainer-scripts: Avoid web redirects from Sphinx stylesheetsGerald Pfeifer1-0/+8
Replace the respective links by purely textual representations. maintainer-scripts: * update_web_docs_git: Avoid redirects from Sphinx stylesheets.
2025-12-16Generate Algol68 frontend online docsPietro Monteiro1-0/+2
maintainer-scripts/ChangeLog: * update_web_docs_git (MANUALS): Add ga68 and ga68-internals. Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2025-05-23Conditionalize libgdiagnostic processing on presenceRichard Biener1-6/+10
The following makes update_web_docs_git work on branches without libgdiagnostic. maintainer_scripts/ * update_web_docs_git: Conditionalize libgdiagnostic processing on presence.
2025-04-07cobol: Fix up update_web_docs_git for COBOL [PR119227]Jakub Jelinek1-5/+6
As mentioned in the PR, the COBOL documentation is currently not present in onlinedocs at all. While the script generates gcobol{,-io}.{pdf,html}, it generates them in the gcc/gcc/cobol/ subdirectory of the update_web_docs_git temporary directory and nothing find it there afterwards, all the processing is on for file in */*.html *.ps *.pdf *.tar; do So, this patch puts gcobol{,-io}.html into gcobol/ subdirectory and gcobol{,-io}.pdf into the current directory, so that it is picked up. With this it makes into onlinedocs: find . -name \*cobol\* ./onlinedocs/gcobol.pdf.gz ./onlinedocs/gcobol.pdf ./onlinedocs/gcobol_io.pdf.gz ./onlinedocs/gcobol_io.pdf ./onlinedocs/gcobol ./onlinedocs/gcobol/gcobol_io.html.gz ./onlinedocs/gcobol/gcobol_io.html ./onlinedocs/gcobol/gcobol.html.gz ./onlinedocs/gcobol/gcobol.html ./onlinedocs/gnat_rm/gnat_005frm_002finterfacing_005fto_005fother_005flanguages-interfacing-to-cobol.html.gz ./onlinedocs/gnat_rm/gnat_005frm_002finterfacing_005fto_005fother_005flanguages-interfacing-to-cobol.html ./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-f-7-cobol-support.html.gz ./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-f-7-cobol-support.html ./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-b-4-95-98-interfacing-with-cobol.html.gz ./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-b-4-95-98-interfacing-with-cobol.html 2025-04-07 Jakub Jelinek <jakub@redhat.com> PR web/119227 * update_web_docs_git: Rename mdoc2pdf_html to cobol_mdoc2pdf_html, perform mkdir -p $DOCSDIR/gcobol gcobol, remove $d/ from pdf and in html replace it with gcobol/; update uses of the renamed function.
2025-03-11Update update_web_docs_git for cobolJames K. Lowden1-0/+29
maintainer-scripts/ * update_web_docs_git: Add libgcobol module and cobol language.
2024-12-03maintainer-scripts: build the libgdiagnostics docs for the website [PR117883]David Malcolm1-7/+19
maintainer-scripts/ChangeLog: PR web/117883 * update_web_docs_git: Introduce SPHINX_VENV to make it easier to test the script. Add the libgdiagnostics docs and testsuite to the files to be preserved. Use sphinx to build the libgdiagnostics docs as HTML. Copy them into $DOCSDIR. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2024-12-03maintainer-scripts: fix jit docs on websiteDavid Malcolm1-1/+2
I noticed whilst working on the libgdiagnostics docs that some errors like this were occurring in the jit docs: /tmp/gcc-doc-update.3782849/gcc/gcc/jit/docs/cp/topics/asm.rst:63: WARNING: Include file '/tmp/gcc-doc-update.3782849/gcc/gcc/testsuite/jit.dg/test-asm.cc' not found or reading it failed which was occurring for: * test-asm.c and .cc * test-switch.c * test-accessing-union.c and indeed https://gcc.gnu.org/onlinedocs/jit/topics/asm.html is currently missing various code examples. Fixed thusly; tested locally. maintainer-scripts/ChangeLog: * update_web_docs_git: Add the jit testsuite to the files to be preserved, since this is used by the jit docs. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2024-07-07maintainer-scripts: Switch bug reporting URL to httpsGerald Pfeifer1-1/+1
maintainer-scripts: * update_web_docs_git (BUGURL): Switch to https.
2023-04-20update_web_docs_git: Allow setting TEXI2*, add git build defaultArsen Arsenović1-3/+14
maintainer-scripts/ChangeLog: * update_web_docs_git: Add a mechanism to override makeinfo, texi2dvi and texi2pdf, and default them to /home/gccadmin/texinfo/install-git/bin/${tool}, if present.
2023-03-21html: Set CONTENTS_OUTPUT_LOCATION=inline if makeinfo supports itArsen Arsenović1-1/+1
This flag allows us to restore old (pre-6.8) behavior of the @{summary,}content commands, so that texi2any continues to emit summarycontents first. maintainer-scripts/ChangeLog: * update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline in order to put @shortcontents above contents. gcc/ChangeLog: * configure.ac: Add check for the Texinfo 6.8 CONTENTS_OUTPUT_LOCATION customization variable and set it if supported. * configure: Regenerate. * Makefile.in (MAKEINFO_TOC_INLINE_FLAG): New variable. Set by configure.ac to -c CONTENTS_OUTPUT_LOCATION=inline if CONTENTS_OUTPUT_LOCATION support is detected, empty otherwise. ($(build_htmldir)/%/index.html): Pass MAKEINFO_TOC_INLINE_FLAG.
2023-03-21update_web_docs_git: Update CSS reference to new manual CSSArsen Arsenović1-1/+1
maintainer-scripts/ChangeLog: * update_web_docs_git (CSS): Update CSS reference to point to /texinfo-manuals.css.
2023-03-17maintainer-scripts: Add Modula-2 manual to update_web_docs_gitGaius Mulley1-1/+5
maintainer-scripts/ChangeLog: * update_web_docs_git (MANUALS): Add gm2. Add include path for gm2 manual.
2023-03-16maintainer-scripts: Abstract BUGURL in update_web_docs_gitGerald Pfeifer1-2/+3
The URL where to report bugs is hard coded in two places; abstract that into one variable, defined up front. maintainer-scripts/ChangeLog: * update_web_docs_git (BUGURL): Introduce and use throughout.
2022-11-30maintainer-scripts: Add gdc to update_web_docs_gitIain Buclaw1-0/+1
So that it's built and uploaded to gcc.gnu.org/onlinedocs. PR web/107749 maintainer-scripts/ChangeLog: * update_web_docs_git: Add gdc to MANUALS.
2022-07-28contrib: use sphinx-build from a venvMartin Liska1-15/+6
maintainer-scripts/ChangeLog: * update_web_docs_git: Use sphinx-build from a venv so that we can use a recent version.
2020-03-12maintainer-scripts: Fix jit documentation build with update_web_docs_gitJakub Jelinek1-2/+3
scripts/update_web_docs_git -r 9.3.0 -d gcc-9.3.0 failed after the sourceware upgrade, there is no python-sphinx10 package and python3-sphinx is new enough that the docs build succeeded. 2020-03-12 Jakub Jelinek <jakub@redhat.com> * update_web_docs_git: Drop SPHINXBUILD=/usr/bin/sphinx-1.0-build.
2020-01-13Replace update_web_docs_svn with update_web_docs_git.Joseph Myers1-0/+277
This patch replaces the update_web_docs_svn script, that updates online documentation from its sources in the GCC repository, run once a day from cron, with update_web_docs_git. * update_web_docs_git: New file. * update_web_docs_svn: Remove. * crontab: Use update_web_docs_svn.