Skip news as they seem to be translated regularly.
This is one-time quick fix. Global xml/xsl infrastructure changes should be
backported to FRDP as well.
PR: www/99762
X-not-really-obtained-from: The FreeBSD Russian Documentation Project
- 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.
- Make it possible to override the complete path to the INDEX file
used for the ports/ part of the website, by setting the
PINDEX_OVERRIDE variable. (Already merged in www/ja/ports/Makefile.)
- Force NO_TIDY for the ports web pages, since it takes a long time to
run tidy on these huge HTML files, and the files are valid HTML when
generated by portindex, even without tidy.
Running without tidy caused the build time to go from ~8 minutes to
~1 minute on my test machine. An additional bonus is that the
generated HTML files are now significantly smaller.
Fix broken links
index.xsl:
Point to english version of Release Notes
for 6.0-Release, since russian translation doesn't exist
Obtained from: The FreeBSD Russian Documentation Project
Reported by: Dmitry Yukin <shuttle@linecom.kiev.ua>
Next three files are derived from www/ru/docs.sgml
docs/books.sgml (1.5)
docs/man.sgml (1.3)
docs/webresources.sgml (1.3)
docs/Makefile (1.5)
www/ru/Makefile: Add docs/ for building
www/ru/includes.navdocs.sgml: change links to point to <docs> directory.
MFen:
www/ru/docs.sgml: 1.193 -> 1.194
Obtained from: The FreeBSD Russian Documentation Project
community.sgml: 1.2
community/Makefile: 1.1
community/irc.sgml: 1.2
community/mailinglists.sgml: 1.4
community/newsgroups.sgml: 1.3
community/webresources.sgml: 1.2
support/Makefile: 1.1
support/bugreports.sgml: 1.2
support/webresources.sgml: 1.1
share/sgml/templates.usergroups.xsl:
Add for building usergroups.xml with
russian header and section menu (usergroups.html)
MFen:
support.sgml: 1.334 -> 1.353
Other changes are for normal building, and web appearence with unbreaked links with
above changes.
Obtained from: The FreeBSD Russian Documentation Project
Approved by: marck