kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-08-25 05:47 pm

[dw-free] Advanced Customization: Documentation link links to non-existent page

[commit: http://hg.dwscoalition.org/dw-free/rev/60fbfc24d9e2]

http://bugs.dwscoalition.org/show_bug.cgi?id=2948

New reference page with links to our S2 documentation on the wiki.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/doc/s2/index.bml
  • htdocs/doc/s2/index.bml.text
  • htdocs/doc/s2/style.css
--------------------------------------------------------------------------------
diff -r c67e241e07e3 -r 60fbfc24d9e2 htdocs/doc/s2/index.bml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/doc/s2/index.bml	Wed Aug 25 12:47:33 2010 -0500
@@ -0,0 +1,47 @@
+<?page
+
+# doc/s2/index.bml
+#
+# Page briefly defining CSS and S2 and linking to various
+# style customization articles and guides.
+#
+# Authors:
+#      Ninety Degrees <ninetyd.bis@gmail.com>
+#
+# Copyright (c) 2010 by Dreamwidth Studios, LLC.
+#
+# This program is free software; you may redistribute it and/or modify it under
+# the same terms as Perl itself.  For a copy of the license, please reference
+# 'perldoc perlartistic' or 'perldoc perlgpl'.
+#
+
+head<=
+<style type='text/css'>
+<!--
+#content ul { margin: 1em 0 2em 2em; }
+#content ul:last-child { margin-bottom: 0; }
+-->
+</style>
+<=head
+body<=
+<h1><?_ml .css.header _ml?></h1>
+<?_code return BML::ml ('.intro.css', {'sitename' => $LJ::SITENAMESHORT}); _code?>
+<ul>
+    <li><a href='http://wiki.dwscoalition.org/notes/S2_CSS'><?_ml .css.overview _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/CSS_tutorial'><?_ml .css.tutorial _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/Style_Structure_Overview'><?_ml .css.stylestructure _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/Category:S2_CSS'><?_ml .css.selectors _ml?></a></li>
+</ul>
+<h1><?_ml .s2.header _ml?></h1>
+<?_code return BML::ml ('.intro.s2', {'sitename' => $LJ::SITENAMESHORT}); _code?>
+<ul>
+    <li><a href='http://wiki.dwscoalition.org/notes/Category:S2_Guide'><?_ml .s2.guide _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/S2_Guide:_Style_System_Overview'><?_ml .s2.overview _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/S2_Guide:_Language_Tutorial'><?_ml .s2.language _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/S2_Cookbook:_Introduction'><?_ml .s2.cookbook _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/Category:S2_Properties'><?_ml .s2.props _ml?></a></li>
+    <li><a href='http://wiki.dwscoalition.org/notes/S2_Guide:_Troubleshooting'><?_ml .s2.troubleshoot _ml?></a></li>
+</ul>
+<=body
+windowtitle=><?_ml .title _ml?>
+page?>
\ No newline at end of file
diff -r c67e241e07e3 -r 60fbfc24d9e2 htdocs/doc/s2/index.bml.text
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/doc/s2/index.bml.text	Wed Aug 25 12:47:33 2010 -0500
@@ -0,0 +1,30 @@
+;; -*- coding: utf-8 -*-
+.title=Style Documentation
+
+.css.header=CSS Documentation
+
+.css.overview=Overview
+
+.css.selectors=Detailed Style Structure
+
+.css.stylestructure=Style Structure Overview
+
+.css.tutorial=Syntax Tutorial
+
+.intro.css=CSS (Cascading Style Sheets) are used to provide visual styling to web content. [[sitename]] styles are designed to be mostly customizable via CSS, with many classes built into the core of the style system. Please note that this CSS documentation centers around documenting the core system; the plain version of which is called Tabula Rasa. However, many classes will be available in all core2 styles; other layouts will mainly have only a different page structure.
+
+.intro.s2=S2 (Style System 2) is a programming language designed to be a generic style system for web applications, which can give users a lot of control over their own style. It has properties in common with Perl, Python, and Java. These guides are meant to give current and potential [[sitename]] style makers the tools they need to understand and work with S2.
+
+.s2.cookbook=Cookbook
+
+.s2.guide=Guide Index
+
+.s2.header=S2 Documentation
+
+.s2.language=Language Tutorial
+
+.s2.overview=Style System Overview
+
+.s2.props=Properties
+
+.s2.troubleshoot=Troubleshooting
\ No newline at end of file
diff -r c67e241e07e3 -r 60fbfc24d9e2 htdocs/doc/s2/style.css
--- a/htdocs/doc/s2/style.css	Wed Aug 25 09:58:17 2010 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-li { margin-top: 10px; }
-body { 
-  font-family: sans-serif; 
-  background: #eeeeee;
-  margin: 0; padding: 0;
-}
-/* IE hack, works around no child-selector bug */
-* html body {
-  margin: 15px;
-  m\argin: 15px;
-}
-body > * { margin: 15px; padding: auto; }
-body > div.navheader { margin: 0; padding: 0;}
-
-a { color: #b77f4e; }
-a:visited { color: #a84510; }
-h1, h2, h3 { color: #000000; }
-
-a.linkhere, a.linkhere:visited { 
-  color: black; text-decoration: none; 
-  margin-right: 5px;
-}
-
-h2 a { color: black; }
-h3 a { color: black; }
-dt a { color: black; }
-
-dt { font-weight: bold; font-style: italic; margin-top: 7px; }
-dl { margin-left: 40px; }
-
-h2 {
-   border-top: 2px solid #c1272d;
-   border-left: 2px solid #c1272d;
-   padding: 3px;
-   background: #f4717a 
-}
-h3 {
-   border-bottom: 2px dotted #a84510;
-   margin-bottom: 3px;
-}
-h3+p { margin-top: 4px; }
-
-p.toplink { font-size: 0.8em; }
-
-hr { display: none; }
-
-div.navheader
-{ 
-  width: 100%;
-  background-color: #c1272c; 
-  color: #fff;
-  border-top-style: solid;
-  border-top-width: 1px;
-}
-
-/* FIXME: make bottom bar prettier */
-div.navfooter
-{
-  border-top: 1px solid #c1272c; 
-}
-
-div.navheader a, div.navheader a:visited {
-  color: #fff;
-}
-
-.question { font-weight: bold; }
-
-.toc dt { font-weight: normal; }
-.toc dt a { font-weight: bold; }
-
-.ulink { color: #00f; }
-.ulink img { border: 0; }
-
-.informaltable table tr td { 
-  padding-right: 5px;
-}
-
-.programlisting {
-  background-color: #9cc;
-  padding-left: 15px;
-  border-left: 2px solid #000;
-}
-
-.screen { font-weight: bold; }
-
-.guibutton { 
-  border: 1px solid #000; 
-  padding-left: 2px;
-  padding-right: 2px;
-  background-color: #aaf;
-  color: #000;
-  font-weight: bold;
-  font-family: monospace;
-}
-.guilabel { font-family: monospace; }
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org