Commit graph

8 commits

Author SHA1 Message Date
John Baldwin
e98cc89741 Generate links to cgit instead of svn in document title blocks.
PR:		251940
Reviewed by:	emaste, gjb, ygy
Differential Revision:	https://reviews.freebsd.org/D27704
2020-12-22 13:56:47 -08:00
John Baldwin
86bba6a538 Add infrastructure for links to Git commits.
- Add a <githash> tag which accepts a Git hash.  Leave
  <revnumber> as is for svn revisions.  In theory we
  could add a new attribute to <revnumber> to say which
  VCS to use, but this would require tagging either all
  SVN revisions or all Git hashes explicitly which would
  be invasive.  A new tag going forward seems simpler.

- Revert svnweb.link back to generating svnweb links.  This
  fixes all the explicit <revnumber>'s referring to SVN src
  commits in existing documentation.

- Add a cgit.link which links to a Git commit in cgit.
  githash generates cgit.link's when asked to generate a
  href.

Reviewed by:	gjb, ygy
Differential Revision:	https://reviews.freebsd.org/D27703
2020-12-22 13:48:38 -08:00
Guangyuan Yang
e6320b07f5 Fix revision link after Git transition
PR:		251940
Reported by:	emaste
2020-12-18 18:14:18 +00:00
Warren Block
74d3acde98 Correctly show version information. 2017-06-09 00:23:38 +00:00
Warren Block
094ccc9b32 Replace revision and publication date in generated documentation with
the actual date of last update.  This fixes the problems with misleading
"last update" dates that only reflect the change in a single
rarely-changed file.  Note that hrs had reservations about doing this in
the Makefile rather than with a stylesheet.  However, not all our source
files are XML.  For now, this change works, and can be replaced by a
more elegant solution later.  We should also consider checking dates on
other files that affect the content or appearance of documents, like
images.

Submitted by:	grembo
2016-05-04 22:04:56 +00:00
Gavin Atkinson
60d007a700 When generating links to particular revisions on svnweb, link to the
https version of the site, and use /changeset/$repo/$rev format links.
2014-10-17 11:39:55 +00:00
Gabor Kovesdan
dac73834f3 - Render revnumber as link in PDF documents as well
PR:		191169
Submitted by:	wblock
2014-08-17 18:53:58 +00:00
Hiroki Sato
52f6d56540 - Use /usr/bin/svnlite as SVN if available.
- Replace /XML/{doc,www}/ with /XML/ in SysId.
- Remove empty stylesheets in share/xsl and point share/xml/empty.xsl via
  XML catalog instead.
- Change the L10N layer in freebsd-*.xsl not to use localized XSLT
  stylesheets directly.
- Move share/xsl/* to share/xml and remove share/xsl.
- Remove obsolete share/web2c/pdftex.def.
2013-11-13 06:10:37 +00:00
Renamed from share/xsl/freebsd-common.xsl (Browse further)