[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/idlwave 9cb83ee993 100/360: - New link format for diffe
From: |
ELPA Syncer |
Subject: |
[elpa] externals/idlwave 9cb83ee993 100/360: - New link format for different HTML contents produced with the IDLv6.0 |
Date: |
Sun, 28 Apr 2024 00:59:13 -0400 (EDT) |
branch: externals/idlwave
commit 9cb83ee993a9044ea2b9a11bc29c3b6e0ff4b604
Author: jdsmith <jdsmith>
Commit: jdsmith <jdsmith>
- New link format for different HTML contents produced with the IDLv6.0
documentation.
---
addlinks.pl | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/addlinks.pl b/addlinks.pl
index 9cdba98b92..22b6208907 100755
--- a/addlinks.pl
+++ b/addlinks.pl
@@ -21,12 +21,10 @@ close DIR;
die "No HTML files found.\n" unless @files;
undef $/;
-my $others=
- '<div class="CellBody">'.
+my $contents=
'<a href="funclisting.html">Categories</a> | '.
- '<a href="nav_procedures.html">Procedures</a> | '.
- '<a href="nav_functions.html">Functions</a> | '.
- '<a href="nav_objects.html">Classes</a> | '.
+ '<a href="idl_alph_class.html#ALPHABETICAL">Alphabetical</a> | '.
+ '<a href="idl_alph_class.html#OBJECTCLASS">Classes</a> | '.
'<a href="idl_con.html">All Contents</a> | ';
@@ -34,14 +32,19 @@ foreach $file (@files) {
open FILE, "<$file" or do {warn "Can't open $file... skipping"; next};
$_=<FILE>;
close FILE;
- if (s@<!--\s*\<br\>\s* # Opening comment
- (\<a[ ]+href="[^"]+"\>) # The link to the previous entry
- \<img[ ]+src="images/prev.gif".*?\</a\>
- (\<a[ ]+href="[^"]+"\>) # The link to the next entry
- .*?\s+--\> # Everything through comment close, discard
- @<hr>$others${1}[ < ]</a> | ${2}[ > ]</a></div>@sx) {
- $links="${1}[ < ]</a> | ${2}[ > ]</a>";
- s|^\<BODY\>|$&\n$others$links</div><hr>|m;
+ if (m|<meta\ name="PREV_PAGE"\ content="([^"]+)"\ />\s*
+ <meta\ name="NEXT_PAGE"\ content="([^"]+)"\ />|xs) {
+ my ($prev,$next)=($1,$2);
+
+ $links='<div class="CellBody">'.
+ $contents .
+ "<a href=\"$prev\">[ < ]</a> | " .
+ "<a href=\"$next\">[ > ]</a>" .
+ "</div>";
+
+ s|^\s*<body>|$&\n$links<hr>|m;
+ s|^\s*</body>|<hr>$links\n$&|m;
+
open FILE, ">$file" or do {warn "Can't write to $file... skipping"; next};
print FILE;
close FILE;
- [elpa] externals/idlwave 6559f78da7 029/360: * idlw-shell.el (idlwave-shell-filter): Set, (continued)
- [elpa] externals/idlwave 6559f78da7 029/360: * idlw-shell.el (idlwave-shell-filter): Set, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ebb0da8408 033/360: v4.13, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 75f77b5583 040/360: Got rid of idlwave-shell-examine-window., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c251b28774 039/360: * idlwave.el (idlwave-calculate-cont-indent): Skip over multiple, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 7809a772de 045/360: Moved idlwave-help-popup-select and associated to idlwave.el., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave ef6971fe50 049/360: synced to emacs version, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 36803c2fd1 050/360: Changed @setfilename to compile correctly., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 58fb16ce33 056/360: Helpfiles version was getting replaced in-place. Now create a special, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave bf0448c03f 068/360: - Fixed line-beginning-position for XEmacs., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave f3922dcc2d 065/360: Removed helpcode dependency., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 9cb83ee993 100/360: - New link format for different HTML contents produced with the IDLv6.0,
ELPA Syncer <=
- [elpa] externals/idlwave e932b9811b 097/360: - Support for IDLv6.0, including +=, etc. assignment operators with, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c9e8a63c08 113/360: - Improved test for continuing assignments, to reject assignments in, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8a8f690461 117/360: - Add a special face for highlighted disabled breakpoints (gray by default)., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave a6829e5499 129/360: - Change prompt pattern to accomodate random '\r' in prompt (since OSX, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 666b7c8ca0 095/360: - Minor doc header fix., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave c002a59ac8 149/360: - Change default help location to be relative, help/online_help, for, ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 06937cda94 134/360: - Note on fsf-compat., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 286e3e121e 153/360: - Update FSF address., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 8c2b4950e6 160/360: - Be more careful about expanding help dir for non-system help., ELPA Syncer, 2024/04/28
- [elpa] externals/idlwave 93e6504404 163/360: - (idlwave-push-mark): Removed obsolete, ELPA Syncer, 2024/04/28