Commit graph

736 commits

Author SHA1 Message Date
Glen Barber
b648b634f6 Fix syntax from previous commit. 2013-06-18 02:08:55 +00:00
Glen Barber
21dae225c8 Fix build with bmake(1).
Approved by:	doceng (implicit)
2013-06-18 00:49:02 +00:00
Gabor Kovesdan
7292289d38 - MFH 2013-05-07 10:20:20 +00:00
Gabor Kovesdan
bcd21d65e9 - Reduce the misuse of role attribute; role="directory" should actually be
class="directory"
2013-04-04 12:10:48 +00:00
Gabor Kovesdan
a6684b4306 - Reduce the misuse of role attribute; role="directory" should actually be
class="directory"
- Add constraint to enforce this
2013-04-04 11:40:58 +00:00
Gabor Kovesdan
68645226ea - Replace misused (empty) link elements with xref 2013-04-03 11:33:18 +00:00
Gabor Kovesdan
e8e2dfdbab - Do not specify image file extensions in documents; the proper extension
is appended during rendering
- For the same reason, do not specify format either
- Add constraints to enforce this
2013-04-02 09:50:10 +00:00
Gabor Kovesdan
c8eadc3369 Always build pdf from ps and remove related nits. This is what was already
done with Handbook and building pdf directly does not seem to work
correctly anyway. This change will help simplifying the build process
and spare some image conversions.
2013-03-31 21:11:07 +00:00
Gabor Kovesdan
a1f0eaf271 - Place the footer below the navigation as it used to be 2013-03-15 08:06:33 +00:00
Gabor Kovesdan
f6c79f1bc8 - Change screenco to screen + co since the former is not supported
properly with xsltproc and the latter is simpler
- Add a constraint to prevent using screenco, programlistingco and
  graphicco in the future
- Note that mediaobjectco is used in the documentation to properly
  compose a figure element but the callout bugs are already there
  in the source image and not placed there by the stylesheets
2013-03-14 20:51:01 +00:00
Gabor Kovesdan
eb47c46865 - Fix erroneous fileref's that result in missing images
- Also fix fdp-primer examples
2013-03-14 09:19:23 +00:00
Gabor Kovesdan
998b28cb3e - Add more customization layers
- Localize footers
2013-02-26 09:43:12 +00:00
Gabor Kovesdan
0701bf45bd - Add infrastructure for language-specific XSLT customizations 2013-02-25 20:17:26 +00:00
Gabor Kovesdan
06f710c8aa - Remove more DSSSL leftovers 2013-02-25 20:04:29 +00:00
Gabor Kovesdan
f5b13d3d30 - Clean up more DSSSL leftovers 2013-02-19 17:08:14 +00:00
Gabor Kovesdan
9f052111c6 - Remove a couple of DSSSL leftovers 2013-02-19 16:20:38 +00:00
Gabor Kovesdan
59d4db9584 - Add back SGML catalogs (trimmed to minimally necessary content) since
they are still needed for language-specific DSSSL customizations
2013-02-19 16:14:00 +00:00
Gabor Kovesdan
a06603e1e8 - MFH 2013-02-05 09:14:34 +00:00
Gabor Kovesdan
3327cf64d4 - Remove HTML Tidy leftovers 2013-02-01 18:51:52 +00:00
Gabor Kovesdan
a3c89a1805 - Use exclusively the XML catalogs and drop the old SGML format 2013-02-01 09:48:25 +00:00
Gabor Kovesdan
af7381742b - Move language-independent entities directly to the DTD 2013-02-01 09:03:01 +00:00
Gabor Kovesdan
d891a25dc5 - Make sure all source files are ready before validation
- Make sure all source files are ready before building
- Clean up the workarounds from handbook Makefiles
2013-01-31 09:55:07 +00:00
Gabor Kovesdan
3a9b83582b - Use XInclude to include text files instead of <inlinegraphic> since such
inclusion is not supported in standard XSLT and xsltproc provides no
  extensions for that
2013-01-30 20:11:31 +00:00
Gabor Kovesdan
5df509eaa2 - Remove standalone="no" statements from XML declarations since it did not
always work and is no use anyway
2013-01-30 19:12:36 +00:00
Gabor Kovesdan
36cdb51546 - Migrate the documentation set to DocBook 4.5 2013-01-30 14:00:53 +00:00
Gabor Kovesdan
b7fac26207 - Make the French documentation valid XML 2013-01-21 17:38:45 +00:00
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
Gabor Kovesdan
5086b7db96 - Fix the make lint (validate) target 2012-10-13 18:32:14 +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