Commit graph

709 commits

Author SHA1 Message Date
Hiroki Sato
a4266c0837 Fix syntax errors in translated documents. These caused a build breakage in
newer libxslt which check the stylesheet syntax more strictly.

 |It is an error for the value of either the use attribute or the match
 |attribute to contain a VariableReference.
 | (XSL Transformations (XSLT) Version 1.0, Section 12.2)
2013-01-09 16:13:30 +00:00
Marc Fonvieille
3f085b381e Fix url entities. 2012-12-30 10:42:02 +00:00
Marc Fonvieille
1e43fa7ef5 Fix urls. 2012-12-30 10:39:51 +00:00
Marc Fonvieille
13d3577699 Unbreak build. 2012-12-30 10:29:52 +00:00
Marc Fonvieille
5f44fab928 No need of localized urls (remain of the past). 2012-12-29 18:43:32 +00:00
Isabell Long
2be1e25fc2 Replace 'SGML' with 'XML' in Makefile code and comments. A consequence of
this was that 'SGMLFLAGS' had to be changed to 'XMLFLAGS' in
share/mk/doc.docbook.mk so that everything continued to build OK.

Approved by:	gabor (mentor)
2012-10-06 17:52:37 +00:00
Gabor Kovesdan
77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00
Gabor Kovesdan
b4346b9b2d - Rename .sgml files to .xml
- Reflect the rename in referencing files

Approved by:	doceng (implicit)
2012-10-01 09:53:01 +00:00
Isabell Long
bee5d224fe Remove the ability to change the font size on the website. There are now
much better ways of doing this in modern web browsers.  Furthermore, it
never worked as well as it should have done, as too much of the website is
built around fixed layouts.

It was felt it was best to remove the size switcher from all languages at
once, so that the infrastructure (styleswitcher.js etc.) could be removed
at the same time.

Discussed at:	Cambridge DevSummit, August 2012
Discussed on:	www@
Approved by:	gabor (mentor)
2012-09-30 13:27:05 +00:00
Gabor Kovesdan
c96a4769af - Remove stale articles and a book
Discussed with:	blackend
2012-09-24 10:54:28 +00:00
Gabor Kovesdan
efe7023c1f - Encoding names should be IANA names and in lower case 2012-09-22 20:09:08 +00:00
Gabor Kovesdan
9b85c2d7f5 - Remove old web content and references to them
Discussed with:	doc@, www@
2012-09-22 19:20:16 +00:00
Gabor Kovesdan
d8a2cdf09b - Remove the following articles and references to them. Where it is
reasonable to maintain the reference, use the archived docs.

  5-roadmap
  checkpoint
  dialup-firewall
  diskless-x
  euro
  formatting-media
  hats (content moved to htdocs/internal)
  multi-os
  storage-devices
  vinum
  zip-drive

All of these articles can be found here:
http://docs.freebsd.org/doc/9.0-RELEASE/usr/share/doc/freebsd/en_US.ISO8859-1/articles/

No objection from:	doc@, www@
2012-09-20 14:33:30 +00:00
Gabor Kovesdan
0d49ae7c20 - Fix a typo; PUBLIC identifiers are case-sensitive 2012-09-14 21:37:14 +00:00
Gabor Kovesdan
9c243757ef - XML declarations should use IANA encoding names
Pointed out by:	hrs
2012-09-14 17:47:48 +00:00
Gabor Kovesdan
c61da2b6d9 - Fix a typo
Spotted by:	gjb
2012-09-14 15:10:22 +00:00
Gabor Kovesdan
165056d894 Merge the projects/sgml2xml branch:
- Documentation is updated from DocBook 4.1/SGML to DocBook 4.2/XML
  - Webpages are updated from HTML 4.01 Transitional to XHTML 1.0 Transitional
  - Static webpages are now processed by XSLT behind the scenes
  - Webpages are now built with less cycles; tidy has been removed and the
    date processing is now done by XSLT
  - Generated webpages are now actually valid (they did not use to be)
  - All XSLT stylesheets now pull in a main XSLT, which reduces
    duplicated markup
  - Site map and index are converted to an XML format with an
    XSLT transformation that generates the output
  - For docs, there is now only one entity set for both articles and books
  - Some trademark/legalnotice entities have been merged to a cohesive
    single entity file
  - Untranslated entity sets are now always pulled in from the English tree
    instead of redundant copies
  - The base and enbase entities are already automatically generated so
    remove inline definitions from individual files
  - Fetch the LEGAL file via http instead of depending on CVS
  - Convert id names to lowercase to avoid mixing different styles and
    for better readability
  - All PSGML comments are removed since they are mostly useless
  - Convert character entities to normal characters
  - Do not copy CSS files but override only necessary part
  - Fix build with newest tidy
  - Partly update the fdp-primer to reflect changes

Approved by:	doceng (implicit)
2012-09-14 12:11:19 +00:00
Gabor Kovesdan
617a3c9b13 - Convert character entities to normal characters
Approved by:	doceng (implicit)
2012-09-14 09:57:47 +00:00
Gabor Kovesdan
b0de170035 - Fix translated entities by Properly overriding l10n.ent in the catalog chain
Approved by:	doceng (implicit)
2012-08-30 17:41:56 +00:00
Gabor Kovesdan
763dee20eb - MFH
Approved by:	doceng (implicit)
2012-08-27 11:43:27 +00:00
Marc Fonvieille
4091b57dd8 Hook building-products to the build. 2012-08-25 19:52:34 +00:00
Marc Fonvieille
a8c453bebc Add new translated article (building-products)
PR:		docs/161804
Submitted by:	Frederic Culot <culot@FreeBSD.org>
2012-08-25 19:51:06 +00:00
Gabor Kovesdan
862c85b832 - Fix conditional parts that depend on whether we currently have beta
release(s)

Approved by:	doceng (implicit)
2012-08-24 22:04:59 +00:00
Gabor Kovesdan
f5b3523ae6 - Properly localize navibar entities
- Fix enntities of beta releases

Approved by:	doceng (implicit)
2012-08-24 10:52:17 +00:00
Gabor Kovesdan
2e51ec7022 - Strip unnecessary trailing spaces
Approved by:	doceng (implicit)
2012-08-21 19:16:02 +00:00
Gabor Kovesdan
b92ed28d92 - Fix build of cluster-specific file
Approved by:	doceng (implicit)
2012-08-20 13:55:48 +00:00
Gabor Kovesdan
7ba98a21ad MFH
Approved by:	doceng (implicit)
2012-08-19 23:05:52 +00:00
Gabor Kovesdan
acb8333ccd - Convert more id's and references to lower case
- Drop upper case support from CSS

Approved by:	doceng (implicit)
2012-08-19 11:11:51 +00:00
Gabor Kovesdan
16e0394616 - Convert all id names to lowercase
Approved by:	doceng (implicit)
2012-08-18 23:43:35 +00:00
Gabor Kovesdan
552c6a7fa5 - Fix typo
Approved by:	doceng (implicit)
2012-08-18 22:05:53 +00:00
Gabor Kovesdan
f77daa56e0 - Properly copy XHTML fragments by adding namespace
- Allow disabling last modified date by setting the date variable to
  empty text
- Only disable last modified date in old news, press, events pages since
  it makes sense for recent entries

Approved by:	doceng (implicit)
2012-08-15 21:50:43 +00:00
Gabor Kovesdan
89b9da42e7 - Remove unused ia64 news files
Approved by:	doceng (implicit)
2012-08-13 20:58:20 +00:00
Gabor Kovesdan
217c06b0cd - Simplify keyword markup
- Extract related schema definition into own DTD

Approved by:	doceng (implicit)
2012-08-13 20:43:41 +00:00
Gabor Kovesdan
6f0813b25d - For non-English pages generate the enbase entity, as well, not just base
- Remove inline declarations of base and enbase entities since they
  are generated automatically in autogen.ent

Approved by:	doceng (implicit)
2012-08-13 14:22:30 +00:00
Gabor Kovesdan
77ddadd891 - Add namespace to XHTML fragments generated by XSLT stylesheets
- Properly define titles, navigation bars and RSS links for generated pages
- Minor cleanup

Approved by:	doceng (implicit)
2012-08-12 20:35:40 +00:00
Gabor Kovesdan
9b19e6243c - Remove the now unnecessary .decl files
Approved by:	doceng (implicit)
2012-08-11 11:16:19 +00:00
Gabor Kovesdan
42b18717e8 - Add proper XML declarations with encoding specification to files that
didn't yet have it

Approved by:	doceng (implicit)
2012-08-11 10:37:42 +00:00
Gabor Kovesdan
7612b1576b - Fetch the LEGAL file instead of checking it out from CVS; it does not
required setting up CVSROOT and the CVS repo is not the main repo anymore
  (and we already use fetch(1) elsewhere)
- Clean up the corresponding parts in translations, use a single copy of
  LEGAL from the English pages

Approved by:	doceng (implicit)
2012-08-10 10:15:50 +00:00
Gabor Kovesdan
44ff87d9fa - Expand character entities in the French documentation
Approved by:	doceng (implicit)
2012-08-09 22:39:25 +00:00
Gabor Kovesdan
02b9b66090 - Remove empty class attributes that slipped in with the XML migration
Approved by:	doceng (implicit)
2012-08-09 22:02:58 +00:00
Gabor Kovesdan
74586f38c6 - Remove PSGML comments since they are not very useful after the XML
migration

Approved by:		doceng (implicit)
No objection from:	doc@, www@
2012-08-07 23:31:39 +00:00
Gabor Kovesdan
9b77547545 - XMLify sitemap and site index
Approved by:	doceng (implicit)
2012-08-05 13:41:44 +00:00
Gabor Kovesdan
d7f1fde5eb - Add a cvs:keyword element to store the $FreeBSD$ keyword for later
processing
- Date is now obtained from cvs:keyword, so no need for the sed magic

Approved by:	doceng (implicit)
2012-08-04 22:42:35 +00:00
Gabor Kovesdan
5f86a171af - Remove forgotten leftover
Approved by:	doceng (implicit)
2012-08-04 22:24:24 +00:00
Gabor Kovesdan
d649b89836 - Rename files that were converted to static pages and hook
them up to the build

Approved by:	doceng (implicit)
2012-08-04 18:27:50 +00:00
Gabor Kovesdan
1a3bce7da0 - Convert these stylesheets to static pages since there is no actual
dynamic content

Approved by:	doceng (implicit)
2012-08-04 18:24:54 +00:00
Gabor Kovesdan
9977e32c49 - Drop HTML Tidy support on webpages; on articles/books it is still used
since the default HTML output is not that clean

Approved by:	doceng (implicit)
2012-08-04 17:56:04 +00:00
Gabor Kovesdan
9963e6bc57 - XMLify French webpages
(Note: old leftovers from commercial/ have been dropped since they are
extremely outdated and the generation process is very complicated.)

Approved by:	doceng (implicit)
2012-08-01 19:06:15 +00:00
Marc Fonvieille
695b44a8f1 Hook linux-users to the build. 2012-07-04 20:07:28 +00:00
Marc Fonvieille
87fca66d32 Add translated version of articles/linux-users
PR:		docs/160827
Submitted by:	Frederic Culot <culot@FreeBSD.org>
2012-07-04 20:05:09 +00:00