www cleanup mega commit:
- Move includes.nav*.sgml to share/sgml/navibar.ent and
<lang>/share/sgml/navibar.l10n.ent.
- Move includes.sgml and includes.xsl to
share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
and <lang>/share/sgml/header.l10n.ent.
- Move most of XSLT libraries to share/sgml/*.xsl and
<lang>/share/sgml/*.xsl.
- Move news.xml and other *.xml files for the similar purpose
to share/sgml/*.xml and <lang>/share/sgml/*.xml.
- Switch to use a custom DTD for HTML document. Now we use
"-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
HTML 4.01 + some entities previously pulled via
"<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
The location of entity file will be resolved by using catalog file.
- Add DOCTYPE declearation to XML documents. This makes the followings
possible:
* Use of &foo; entities for SGML in an XML file instead of defining
{$foo} as the same content.
* &symbolic; entities for Latin characters.
- Duplicated information between SGML and XML, or English and
translated doc, has been removed as much as possible.
This commit is contained in:
parent
de3f531874
commit
5305bb945d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28475
795 changed files with 4878 additions and 36943 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# The FreeBSD Russian Documentation Project
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: www/ru/security/Makefile,v 1.6 2004/01/26 07:24:12 andy Exp $
|
||||
# $FreeBSDru: frdp/www/ru/security/Makefile,v 1.7 2004/01/25 15:18:18 andy Exp $
|
||||
#
|
||||
# Original revision: 1.11
|
||||
|
|
@ -19,13 +19,13 @@ DOCS+= security.sgml
|
|||
|
||||
INDEXLINK= security.html
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
||||
CLEANFILES+= advisories.html.inc
|
||||
|
||||
security.html: advisories.html.inc
|
||||
|
||||
advisories.html.inc: mkindex.xsl ${XML_ADVISORIES} ${XML_INCLUDES}
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
--param "advisories.xml" "'${XML_ADVISORIES}'" \
|
||||
${.CURDIR}/mkindex.xsl ${XML_ADVISORIES}
|
||||
DEPENDSET.DEFAULT= advisories
|
||||
XML.DEFAULT= ${XML_ADVISORIES}
|
||||
|
||||
XMLDOCS= advisories:mkindex.xsl::advisories.html.inc
|
||||
NO_DATA.advisories= yes
|
||||
NO_TIDY.advisories= yes
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
<?xml version="1.0" encoding="KOI8-R" ?>
|
||||
<?xml version="1.0" encoding="koi8-r"?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY base ".">
|
||||
<!ENTITY title "">
|
||||
]>
|
||||
|
||||
<!--
|
||||
The FreeBSD Russian Documentation Project
|
||||
|
||||
$FreeBSD$
|
||||
$FreeBSD: www/ru/security/mkindex.xsl,v 1.2 2004/01/26 07:23:31 andy Exp $
|
||||
$FreeBSDru: frdp/www/ru/security/mkindex.xsl,v 1.4 2004/01/25 15:22:12 andy Exp $
|
||||
|
||||
Original revision: 1.4
|
||||
-->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
|
||||
|
||||
<xsl:variable name="base" select="'.'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD$'"/>
|
||||
<xsl:variable name="title" select="'untitled'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/ru/security/mkindex.xsl,v 1.2 2004/01/26 07:23:31 andy Exp $'"/>
|
||||
|
||||
<xsl:output type="xml" encoding="KOI8-R"
|
||||
omit-xml-declaration="yes" />
|
||||
|
|
|
|||
|
|
@ -1,18 +1,17 @@
|
|||
<!--
|
||||
The FreeBSD Russian Documentation Project
|
||||
|
||||
$FreeBSD: www/ru/security/security.sgml,v 1.16 2004/09/21 07:50:18 den Exp $
|
||||
$FreeBSD: www/ru/security/security.sgml,v 1.17 2005/10/05 20:59:57 simon Exp $
|
||||
$FreeBSDru: frdp/www/ru/security/security.sgml,v 1.33 2004/09/21 07:31:12 den Exp $
|
||||
|
||||
Original revision: 1.151
|
||||
-->
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [
|
||||
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
|
||||
<!ENTITY base CDATA "..">
|
||||
<!ENTITY date "$FreeBSD: www/ru/security/security.sgml,v 1.16 2004/09/21 07:50:18 den Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/ru/security/security.sgml,v 1.17 2005/10/05 20:59:57 simon Exp $">
|
||||
<!ENTITY title "槲葡彝撩上挝裂 屡谙辛游嫌载 FreeBSD">
|
||||
<!ENTITY % navincludes SYSTEM "../includes.navsupport.sgml"> %navincludes;
|
||||
<!ENTITY % includes SYSTEM "../includes.sgml"> %includes;
|
||||
<!ENTITY % navinclude.support "INCLUDE">
|
||||
<!ENTITY advisories.html.inc SYSTEM "advisories.html.inc">
|
||||
]>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue