You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2011/07/10 17:36:37 UTC
svn commit: r1144881 - in /incubator/ooo/site/trunk:
content/openofficeorg/css/ooo.css content/openofficeorg/developer-faqs.mdtext
content/openofficeorg/website-local.mdtext templates/sidenav.mdtext
templates/skeleton.html
Author: wave
Date: Sun Jul 10 15:36:37 2011
New Revision: 1144881
URL: http://svn.apache.org/viewvc?rev=1144881&view=rev
Log:
Added website-local.mdtext - instructions on doing Website development on a local computer - important for non-committers and deep development.
Added:
incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext (with props)
Modified:
incubator/ooo/site/trunk/content/openofficeorg/css/ooo.css
incubator/ooo/site/trunk/content/openofficeorg/developer-faqs.mdtext
incubator/ooo/site/trunk/templates/sidenav.mdtext
incubator/ooo/site/trunk/templates/skeleton.html
Modified: incubator/ooo/site/trunk/content/openofficeorg/css/ooo.css
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/content/openofficeorg/css/ooo.css?rev=1144881&r1=1144880&r2=1144881&view=diff
==============================================================================
--- incubator/ooo/site/trunk/content/openofficeorg/css/ooo.css (original)
+++ incubator/ooo/site/trunk/content/openofficeorg/css/ooo.css Sun Jul 10 15:36:37 2011
@@ -120,7 +120,7 @@ td {
}
.codehilite {
- background-color: #F00;
+ background-color: #F0F000;
padding: 0.01em 1em;
border-radius: 10px;
}
Modified: incubator/ooo/site/trunk/content/openofficeorg/developer-faqs.mdtext
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/content/openofficeorg/developer-faqs.mdtext?rev=1144881&r1=1144880&r2=1144881&view=diff
==============================================================================
--- incubator/ooo/site/trunk/content/openofficeorg/developer-faqs.mdtext (original)
+++ incubator/ooo/site/trunk/content/openofficeorg/developer-faqs.mdtext Sun Jul 10 15:36:37 2011
@@ -26,6 +26,8 @@ website updates from the command line, o
Detailed information can be found in the [How to edit the OpenOffice.org website][3] page.
+Information on deeper website development is found on the [Website Development][10] page.
+
###I've just been voted in as a Committer. What do I need to do?
First, congratulations. Your contributions to the project have been noted and we
@@ -57,4 +59,5 @@ PPMC's private mailing list.
[6]: mailto:ooo-private@incubator.apache.org
[7]: http://people.apache.org/committer-index.html
[8]: mailto:ooo-private-subscribe@incubator.apache.org
- [9]: http://www.apache.org/dev/new-committers-guide.html
\ No newline at end of file
+ [9]: http://www.apache.org/dev/new-committers-guide.html
+ [10]: website-local.html
\ No newline at end of file
Added: incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext?rev=1144881&view=auto
==============================================================================
--- incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext (added)
+++ incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext Sun Jul 10 15:36:37 2011
@@ -0,0 +1,113 @@
+Title: Website Development
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+We use [Apache Subversion][1] for version control. You can [browse our
+repository][2] in your web browser.
+
+Quick editing of the site is available for committers using the Apache CMS
+[from your browser.][6]
+
+This page gives instructions on doing website development on your local computer.
+
+## Setup
+
+### Create a directory on your computer.
+
+ mkdir ooo-site
+ cd ooo-site
+
+### Download the svn repos for the OOo site.
+
+Committer? Use:
+
+ svn co https://svn.apache.org/repos/asf/incubator/ooo/site/trunk site
+
+Contributor? Use:
+
+ svn co http://svn.apache.org/repos/asf/incubator/ooo/site/trunk site
+
+
+### Download the svn repos for the Apache CMS.
+
+Committer? Use:
+
+ svn co https://svn.apache.org/repos/infra/websites/cms/ cms
+
+Contributor? Use:
+
+ svn co http://svn.apache.org/repos/infra/websites/cms/ cms
+
+### Install Python dependencies.
+
+Adapted from the [Apache CMS Reference][3]
+
+The easiest easiest way to install the dependencies is to use Python setuptools.
+Check your version of Python
+
+ python --version
+
+Follow the installation instructions for [setuptools][4].
+
+Install dependencies
+
+ sudo easy_install Pygments
+ sudo easy_install ElementTree
+ sudo easy_install Markdown
+
+## Development
+
+### Edit the site
+
+Using your favorite editors edit the site content, templates, and lib scripts.
+
+### Python Markdown Daemon
+
+Start the Python Markdown daemon.
+
+ export MARKDOWN_SOCKET=`pwd`/markdown.socket PYTHONPATH=`pwd`
+ python markdownd.py
+
+### Build the site.
+
+ cms/build/build_site.pl --source-base site --target-base www
+
+### Copy the site to your computer's web server.
+
+On my Mac:
+
+ sudo scp -rp www/content/openofficeorg /Library/WebServer/Documents/.
+
+The site is then available with [http://localhost/openofficeorg/][5].
+
+## Submitting your results.
+
+### Committer
+
+Do the appropriate combination of svn status, svn add, and svn commits. Commits will cause staging rebuilds.
+See [How to Edit the OpenOffice.org Website][6]
+
+### Contributor
+
+(Add instructions on creating patches.)
+
+[1]: http://subversion.apache.org
+[2]: http://svn.apache.org/viewvc/incubator/ooo/site/trunk
+[3]: http://www.apache.org/dev/cmsref.html#local-build
+[4]: http://pypi.python.org/pypi/setuptools
+[5]: http://localhost/openofficeorg
+[6]: docs/edit-cms.html
\ No newline at end of file
Propchange: incubator/ooo/site/trunk/content/openofficeorg/website-local.mdtext
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/ooo/site/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/templates/sidenav.mdtext?rev=1144881&r1=1144880&r2=1144881&view=diff
==============================================================================
--- incubator/ooo/site/trunk/templates/sidenav.mdtext (original)
+++ incubator/ooo/site/trunk/templates/sidenav.mdtext Sun Jul 10 15:36:37 2011
@@ -16,6 +16,7 @@
# Development
- [Source Code](/openofficeorg/source.html)
+ - [Website](/openofficeorg/website-local.html)
- [Planning Wiki](https://cwiki.apache.org/confluence/display/OOODEV/)
- [Developer FAQs](/openofficeorg/developer-faqs.html)
Modified: incubator/ooo/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/templates/skeleton.html?rev=1144881&r1=1144880&r2=1144881&view=diff
==============================================================================
--- incubator/ooo/site/trunk/templates/skeleton.html (original)
+++ incubator/ooo/site/trunk/templates/skeleton.html Sun Jul 10 15:36:37 2011
@@ -26,7 +26,7 @@
<body>
<div id="banner">
<img id="logo" alt="Apache OpenOffice.org (Incubating)"
- src="/openofficeorg/images/ooo-logo.png"/>
+ src="/openofficeorg/images/ooo-logo.png"/> |
</div>
<div id="navigation">