Skip to content

Commit e2603ee

Browse files
committed
Don't remove links between C and C++.
The preprocessor XSL would remove links between the C and C++ parts of the reference, why I don't know. Now those links are preserved and, according to my minimal testing, also work.
1 parent e8ef869 commit e2603ee

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

preprocess.xsl

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -39,42 +39,6 @@
3939
<xsl:template match="//*[contains(@class, ' noprint')]"/>
4040
<xsl:template match="//*[@class='noprint']"/>
4141

42-
<!-- remove 'See also' links between C and C++ parts of the documentation -->
43-
<xsl:template match="
44-
//tr[
45-
@class = 't-dcl-list-item'
46-
and .//td/div[
47-
@class = 't-dcl-list-see'
48-
]
49-
]"/>
50-
51-
<xsl:template match="
52-
//tr[
53-
./td[
54-
@class = 't-dcl-list-sep'
55-
]
56-
and following-sibling::tr[1][
57-
@class = 't-dcl-list-item'
58-
and .//td/div[
59-
@class = 't-dcl-list-see'
60-
]
61-
]
62-
]"/>
63-
64-
<xsl:template match="
65-
//h3[
66-
.//span[
67-
@id = 'See_also'
68-
]
69-
and following-sibling::table[1][
70-
@class = 't-dcl-list-begin'
71-
and (count(./tr) = 2 or count(./tbody/tr) = 2)
72-
and .//td/div [
73-
@class = 't-dcl-list-see'
74-
]
75-
]
76-
]"/>
77-
7842
<!-- remove external links to unused resources -->
7943
<xsl:template match="/html/head/link[@rel = 'alternate']"/>
8044
<xsl:template match="/html/head/link[@rel = 'search']"/>

0 commit comments

Comments
 (0)