Commit graph

50 commits

Author SHA1 Message Date
Kyle Evans
7da17aa010 build: add a top-level Makefile to drive the build
Some consumers may be interested in building the whole enchilada. Add a top
level Makefile to make that feasible.

Both the documentation and website build can run in parallel, and one only
needs to run either the all or generate targets from the top level.

Reviewed-by:	gjb, hrs
Differential-Revision:	https://reviews.freebsd.org/D28385
2021-01-28 21:15:10 -06:00
Sergio Carlavilla Delgado
989d921f5d Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of
our new website and documentation using
the new toolchain with Hugo and AsciiDoctor.

To get more information about the new toolchain
please read the FreeBSD Documentation Project Primer[1],
Hugo docs[2] and AsciiDoctor docs[3].

Acknowledgment:
Benedict Reuschling <bcr@>
Glen Barber <gjb@>
Hiroki Sato <hrs@>
Li-Wen Hsu <lwhsu@>
Sean Chittenden <seanc@>
The FreeBSD Foundation

[1] https://docs.FreeBSD.org/en/books/fdp-primer/
[2] https://gohugo.io/documentation/
[3] https://docs.asciidoctor.org/home/

Approved by:    doceng, core
2021-01-26 00:31:29 +01:00
Rene Ladan
eaf07aef56 Update the build infrastructure to use Git instead of Subversion
Summary:
The doc repository is not mirrored to Subversion so updating the
repository from Subversion does not make sense. Remove
Subversion-specific files too.

While here remove now defunct $FreeBSD$ markers in affected files.

Test Plan:
make clean
make update
make

Reviewed by:	bcr, ygy, doceng (gjb)
Differential Revision: https://reviews.freebsd.org/D27678
Subscribers:	drewery, emaste
2020-12-23 20:06:07 +01:00
Sevan Janiyan
993cd61730 Handle building on systems utilising WITH_SVN knob.
PR:		227973
Submitted by:	Dries Michiels <dries.michiels at gmail>
Approved by:	bcr (mentor)
Sponsored by:	Essen Hackathon
Differential Revision:	https://reviews.freebsd.org/D16695
2018-08-12 10:12:50 +00:00
Eitan Adler
551345cab4 doc: remove old translations
For no_NO.ISO8859-1:

The Last Changed Date of no_NO was on 2013-11-07 16:37:11 +0000 (Thu,
07 Nov 2013). Of all the file, only the handbook has any translations
of which there are only basics/chapter.xml, bibliography/chapter.xml,
and install/chapter.xml. The latter of which still documents
sysinstall. I also can't seem to find any reference to the files
here: https://download.freebsd.org/ftp/doc/.

For sr_YU.ISO8859-2:  no content in-tree at all.

Discussed with:	blackend
2018-07-25 03:52:04 +00:00
Marc Fonvieille
ade766bf5d Hook ko_KR.UTF-8 to the doc build. 2015-08-22 08:58:34 +00:00
Li-Wen Hsu
163ba6b752 Convert zh_TW from Big5 to UTF-8.
Approved by:	bcr
2014-05-29 16:48:07 +00:00
Gabor Kovesdan
bc0ea04e7d - Move the PGP keyring generation to the language-independent share directory
Discussed with:	hrs, wblock
2014-03-07 12:23:51 +00:00
Xin LI
797a990cf7 Convert zh_CN from GB2312 to UTF-8. While I'm there, also
fix a bunch of font issues when rendering PDF.
2013-11-14 00:20:51 +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
Gabor Kovesdan
54acab8406 - Convert the Bengali translation to real UTF-8 2013-05-23 18:04:49 +00:00
Glen Barber
5eb067536c Replace csup/cvsup entries with svn in head/Makefile 'update' target. 2012-06-21 22:57:58 +00:00
Hiroki Sato
4fe414e55f - Move developers.sgml to the language-independent directory.
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
 
Approved by:	doceng (implicit)
2012-05-17 03:23:15 +00:00
Gabor Kovesdan
a64395b6a2 - Switch to csup from cvsup. The src tree Makefile already switched
4 years ago.

PR:		docs/133567
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2010-06-05 16:45:14 +00:00
Gabor Kovesdan
31e94395b3 - Attach hu_HU.ISO8859-2 to the build
Approved by:	keramida (mentor)
2007-04-15 15:24:48 +00:00
Giorgos Keramidas
28b9f30a7c Attach the mn_MN.UTF-8 doc tree to the build. Thanks to blackend's
help, this is now fully buildable, so we can auto-build it too.
2007-04-11 18:51:21 +00:00
Josef El-Rayes
f2989bd09f Hook the dutch handbook into the build. 2004-09-27 00:26:48 +00:00
Hiroki Sato
8f1c859fcb Add a new translation: zh_CN.GB2312/books/handbook (Simplified Chinese).
Submitted by:	delphij
Obtained from:	The FreeBSD Simplified Chinese Project CVS
2004-09-26 05:20:38 +00:00
Simon L. B. Nielsen
d50db93d1e Add Bangla translations to the build. 2004-02-17 00:14:11 +00:00
Marc Fonvieille
289a49bb35 Add Turkish docs to the build. 2003-12-05 20:04:11 +00:00
Marc Fonvieille
ca1400906e Add da_DK.ISO8859-1 to the build. 2003-03-09 22:20:00 +00:00
Ruslan Ermilov
1e8ec89fe9 With CVS_UPDATE, use read-only repository mode by default. 2003-03-06 15:06:17 +00:00
Mario Sergio Fujikawa Ferreira
8b51af18ef Finally connect pt_BR.ISO8859-1 to the build. Currently, only
books/faq is being built.

Reviewed by:	blackend, keramida,
		phantom (in principle)
Approved by:	phantom (mentor)
2002-10-01 03:15:12 +00:00
Marc Fonvieille
04eb713eea Add pl_PL.ISO8859-2 to the build. 2002-09-26 18:20:38 +00:00
Giorgos Keramidas
9f9560891f Connect el_GR.ISO8859-7 to the build. It's been a while in the tree.
Having it on the web after the next www/ build sounds nice.
2002-04-06 18:30:34 +00:00
Alexey Zelkin
992d12af59 Enable build of Serbian docs (sr_YU.ISO8859-2). We have already
few completely translated documents there.
2002-02-08 13:57:27 +00:00
Alexey Zelkin
4e2566405a Switch from it_IT.ISO8859-1 to it_IT.ISO8859-15 2002-01-09 11:20:45 +00:00
Alexey Zelkin
322a16f15b Add it_IT.ISO8859-1 to list of SUBDIRS. Yay! 2002-01-05 19:57:30 +00:00
Murray Stokely
f92319a1b1 Make build/install /usr/obj prefix clean.
Also fix several minor bugs here, such as leftover files not being
deleted after 'make clean'.

PR:		docs/31131
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 09:21:53 +00:00
Andrey A. Chernov
f749b200c1 ISO_* -> ISO* rename 2001-06-11 01:20:40 +00:00
Ben Smithurst
2b1e19f5f8 Support ${SUPHOST}
PR:		21430
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2000-09-21 20:48:16 +00:00
Alexander Langer
4e014cb67c Activate German translation. 2000-08-06 17:04:17 +00:00
Nik Clayton
5a9e4f3502 List the French translation subdirectory. Why I didn't do this months
ago I don't know.  Mea bozo, mea maxima bozo.

Profuse apologies to the French translation team for this balls up.
2000-04-30 21:58:43 +00:00
Bill Fumerola
30c9b267ef Add DOCSUPFILE, like PORTSSUPFILE. (ie 'make update' in /usr/doc)
PR:		docs/15439
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
Obtained from:	ports/Makefile
1999-12-16 02:22:16 +00:00
Alexey Zelkin
008b4d3cae Fix comment 1999-10-13 00:19:43 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
20f7d377d1 Use doc.project.mk in place of docproj.docbook.mk.
Use the new ROOT_SYMLINKS variable where necessary.
1999-09-03 17:24:47 +00:00
Nik Clayton
816f75506c Support using the DOC_LANG variable to specify which languages and
encodings to install.  It is synonymous with SUBDIR, and can probably
disappear when this functionality is 'tweaked' in the release build.
1999-08-26 19:40:04 +00:00
Nik Clayton
61280f6102 Replace rs_SU.KOI8-R with ru_RU.KOI8-R. The necessary repository work
has already been done by JDP.
1999-08-19 20:31:25 +00:00
Nik Clayton
4e23360a1d Remove the FAQ/ directory, now that we have the beginnings of a DocBook
FAQ.
1999-08-17 22:12:29 +00:00
Nik Clayton
7fc8947ce8 The new Makefile framework. Does the right thing (pretty much) except
in the case of */FAQ/Makefile, because the FAQs are all in the wrong
place.  Things still install properly, but some of the directory paths
are hardcoded.  This will be going away ASAP.
1999-08-16 22:09:20 +00:00
Nik Clayton
93b118ba78 Remove the handbook from the default list of subdirectories. You need
to specify DOC_LANG=en to get the Handbook built as well.
1999-03-27 15:56:08 +00:00
Nik Clayton
e5ce485ff3 Add "en" to LANGSUBDIR. Doesn't do much yet (unless you build with
ALLLANG defined). Will do shortly. . .
1999-03-12 22:25:16 +00:00
Jordan K. Hubbard
23099f7a7a I guess the zh stuff has improved enough to re-enter the default build,
though both it and the japanese handbook are currently spewing errors
during formatting; someone needs to look at that. :(
1999-02-10 12:54:59 +00:00
Jordan K. Hubbard
54e62a209c Remove zh from build list until we make the FAQ install work in
-current.
1999-02-02 14:51:45 +00:00
Vanilla I. Shu
84b6327dc0 Activate zh. 1999-01-30 23:24:12 +00:00
Andrey A. Chernov
7b373cb8e4 add ru subdir 1998-12-28 19:22:01 +00:00
Nik Clayton
3fa9884c39 Added the 'es' subdirectory to LANGSUBDIR, now that the Spanish translation
of the FAQ has been committed. Kudos to Jesus Rodriguez <jesusr@ncsa.es>
for the translation.
1998-07-20 17:18:49 +00:00
Masafumi Max NAKANE
94ca33054a Moving doc/ja_JP.EUC/* to doc/ja. (Already repository copied.)
Also, this change to doc/Makefile now requires either ALLLANG is
defined or DOC_LANG=ja (instead of LANG=ja_JP.EUC) to build Japanese
documentation.
1998-02-15 17:04:57 +00:00
Peter Wemm
9289461837 Supply a bmakefile based on the old share/doc/Makefile 1997-05-23 16:23:43 +00:00