User loginNavigationSearch |
Revision of MozdevDocs from Wed, 10/17/2007 - 14:16This is a wiki version of the docs at http://www.mozdev.org/docs
Adding, Editing and Deleting ContentCVS is used to edit, update and add all source and content on mozdev.org, including a project's web pages. Web pages are contained in the www/ directory for each project, so to start making changes to your pages you first need to check out your project from CVS. Using a command line CVS client, you would do the following: cvs -d :pserver:USERNAME@mozdev.org:/cvs login Note: The CVS commands above are for use with command line CVS clients. There are Windows and Macintosh CVS programs (such as WinCVS and TortoiseCVS for Windows and MacCVS and MacCVSClient for the Mac) that provide a graphical front end for CVS. For more information about CVS in general, there is an O'Reilly CVS Pocket Reference and a number of CVS help pages available. There is also a good cvs reference by John Haller "MozDev WinCVS Setup". When the checkout is complete all of the project's contents will be on your computer and the web pages can be found at PROJECTNAME/www/. For all new projects there are already some Template Start Pages that have been included in this directory, although you are free to add whatever files or directories you want. After modifying files locally, you can commit these changes back to your project and they will show up on the site. CVS is also used to take down a page from your site. Files removed in CVS are moved into an area called the Attic and are not deleted from the repository. This is done because CVS needs to keep a full history of all versions of all files in case an earlier version of a file needs to be brought back at some point. Removed pages may not be linked to from your site anymore, but they will still be available online by browsing through your project's Attic using CVSweb. This means that a file removed from your site can still be found through a Google search, for instance. Default Template PagesAll new projects come with some basic start pages in the PROJECTNAME/www/ directory. These include mostly html and css files that you can edit to get your project started quickly. The default templates include:
|
Post new comment