Commit graph

19 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
Wolfram Schneider
4a6e1d3dea change download links from ftp to download.freebsd.org
PR: 222678
2017-10-01 12:05:26 +00:00
Wolfram Schneider
4ad8c16457 switch to HTTPS
PR: 222676
2017-09-29 09:54:04 +00:00
Glen Barber
bc18f5deaa Prefer https over http for links to manual pages.
Submitted by:	wosch
Sponsored by:	The FreeBSD Foundation
2017-07-18 15:34:39 +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
Warren Block
df1395610e Use a manpath that goes to the latest -release and ports without a
static release number that could cause footsore egrets.  Er, future
regrets.
2016-02-23 14:21:19 +00:00
Warren Block
790523540c Update man page links to work for both base and ports man pages.
Approved by:	doceng (implicit)
2016-02-20 15:05:36 +00:00
Gavin Atkinson
3bbc382b4d Enable Google Analytics for content ghenerated from Docbook sources.
Approved by:	doceng (hrs, wblock), webstats (silent approval)
2014-10-30 18:32:57 +00:00
Gavin Atkinson
e24c9b8a23 link.mailto.url should be a URL. This fixes generated <link rel='made'>
tags in HTML doc output.
2014-09-09 12:37:44 +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
Gabor Kovesdan
8858f6979c - Revert verbatim line numbering changes since they broke callouts and
other inline markup

PR:		docs/187773
Submitted by:	Allan Jude <freebsd@allanjude.com>
2014-03-25 07:04:45 +00:00
Gabor Kovesdan
53daba29a0 - Rewrite text wrapping for HTML line numbering so that empty lines
are not lost

Reported by:	wblock
2014-03-05 18:10:32 +00:00
Gabor Kovesdan
38b32d78ce - Add line number indicators to programlisting and screen in the HTML
version. This makes linewrap indicators unnecessary since the
  line numbers suggest where the line is wrapped.

No objection from:	doc
2014-03-03 16:16:57 +00:00
Gabor Kovesdan
8dedf73a24 - Render port and package names as links to their package description as they
used to be rendered

Reported by:	wblock
2014-01-10 18:18:51 +00:00
Hiroki Sato
f27b67aced Honor &doc.html.charset; for html and html-split output. 2013-11-14 00:58:21 +00:00
Hiroki Sato
f1c6822f71 Fix an extra line. 2013-11-13 07:11:58 +00:00
Hiroki Sato
b436d0a16d - Enable docformatnav only when $docformatnav is set to 1.
- Set $docformatnav to 1 when $FORMATS contains "html" and "html-split" at the
  same time.
- Fix localization of docformatnav using &docnavi.{split,single};.
- Do not create <a> element which points to the document itself.
- Remove share/xml/l10n.ent.
- Fix URI of freebsd-fo-cjk.xsl.
2013-11-13 07:07:52 +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-xhtml-common.xsl (Browse further)