]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/contributor/website-work.itexi
Web: rename web/examples to web/ly-examples
[lilypond.git] / Documentation / contributor / website-work.itexi
index cb4e0aac9a8c50a494d272dfd03d45dcf03a2ce7..a6cbbe5e9e423c2c8649680def95071899c15011 100644 (file)
@@ -4,6 +4,7 @@
 
 @menu
 * Introduction to website work::  
+* Uploading and security::
 * Translating the website::
 @end menu
 
 @node Introduction to website work
 @section Introduction to website work
 
-Short answer: don't do it yet.  We're completely revamping the
-website.
+The website is @emph{not} written directly in HTML;
+instead, the source is Texinfo, which is then generated into HTML,
+PDF, and Info formats.  The sources are
 
+@verbatim
+Documentation/web.texi
+Documentation/web/*.texi
+@end verbatim
+
+Unless otherwise specified, follow the instructions and policies
+given in @ref{Documentation work}.  That chapter also contains a
+quick introduction to Texinfo; consulting an external Texinfo
+manual should be not necessary.
+
+@subheading Exceptions to the documentation policies
+
+@itemize
+
+@item
+Sectioning: the website only uses chapters and sections; no
+subsections or subsubsections.
+
+@dots{}
+
+@item
+For anything not listed here, just follow the same style as the
+existing texinfo files.
+
+@end itemize
 
-@node Translating the website
-@section Translating the website
 
+@node Uploading and security
+@section Uploading and security
 
+FIXME: currently these are plans, not yet completely implemented.
+Hey, I'm doing the reponsible "write documentation first, then
+code" thing!  I rock!  -gp
+
+The website is generated hourly by user @code{graham} the host
+@code{lilypond.org}.  For security reasons, we do not use the
+makefiles and scripts directly from git; copies of the relevant
+scripts (below) are examined and copied to
+@file{~graham/trusted-scripts} on the host.
+
+@example
+website.make
+scripts/build/extract_texi_filenames.py
+@end example
+
+To reduce the CPU burden on the shared host (as well as some
+security concerns), the @file{Documentation/pictures/} and
+@file{Documentation/web/ly-examples/} directories are @strong{not}
+compiled.  If you modify any files in those directories, a user in
+the @code{lilypond} group must upload them to @file{~graham/media}
+on the host.  This is done by running (locally) @code{make doc},
+followed by @code{scripts/build/upload-web-media.sh}.
+
+
+
+@node Translating the website
+@section Translating the website
 
+As it has much more audience, the website should be translated before
+the documentation; see @ref{Translating the documentation}.