[gnomeweb-wml] anjuta web: Added table of contents.



commit 3e157eec98417e759a9e21926865b5d21d476956
Author: Naba Kumar <naba gnome org>
Date:   Mon Feb 1 00:50:57 2010 +0200

    anjuta web: Added table of contents.

 projects.gnome.org/anjuta/css/anjuta.css   |   30 +++++++++++++
 projects.gnome.org/anjuta/development.page |   63 ++++++++++++++++++++++++----
 projects.gnome.org/anjuta/features.page    |   41 +++++++++++++++++-
 3 files changed, 125 insertions(+), 9 deletions(-)
---
diff --git a/projects.gnome.org/anjuta/css/anjuta.css b/projects.gnome.org/anjuta/css/anjuta.css
index 114c2a8..ce0dda3 100644
--- a/projects.gnome.org/anjuta/css/anjuta.css
+++ b/projects.gnome.org/anjuta/css/anjuta.css
@@ -14,6 +14,36 @@
     width: 220px;
 }
 
+div.table-of-contents {
+    border: 1px dotted #888;
+    background: #f0f0f0;
+    margin: 0 0 1em 1em;
+    float: right;
+    font-size: 85%;
+    width: 250px;
+}
+
+div.table-of-contents p.table-of-contents-heading {
+    font-weight: bold;
+    margin: 0.5em 1em;
+}
+
+div.table-of-contents ol {
+    margin: 1em 0.5em 1em 1em;
+    padding: 0;
+}
+
+div.table-of-contents ol li {
+    margin: 0;
+    padding: 0;
+    margin-left: 1em;
+}
+
+div.table-of-contents ol ol {
+    margin: 0.5em 0.5em 0.5em 1em;
+    padding: 0;
+}
+
 h1, h2, h3, h4, h5 {
     font-family: luxi sans,sans-serif;
 }
diff --git a/projects.gnome.org/anjuta/development.page b/projects.gnome.org/anjuta/development.page
index 30dc23d..3e5a524 100644
--- a/projects.gnome.org/anjuta/development.page
+++ b/projects.gnome.org/anjuta/development.page
@@ -1,7 +1,19 @@
 <page name="Development">
+
+  <div class="table-of-contents">
+    <p class="table-of-contents-heading">Contents</p>
+      <ol>
+        <li><a href="#project-maintainers">Are you a library or project maintainer?</a></li>
+        <li><a href="#anjuta-contributors">Are you looking to contribute to Anjuta?</a></li>
+        <li><a href="#anjuta-website">Maintaining Anjuta website</a></li>
+        <li><a href="#anjuta-history">History</a></li>
+      </ol>
+  </div>
+
   <p class="quote">
   &quot;A service to open source is a service to mankind.&quot;
   </p>
+
   <a name="project-maintainers"></a>
   <h2>Are you a library or project maintainer?</h2>
   
@@ -47,8 +59,8 @@
     from the repository:</p>
   
   <div class="code">
-    $ git clone git://git.gnome.org/anjuta <br/>
-    $ git clone git://git.gnome.org/gdl <br/>
+    $ git clone git://git.gnome.org/anjuta
+    $ git clone git://git.gnome.org/gdl
   </div>
 
   <p>That only gives read access to the repository. If you have an account
@@ -57,8 +69,8 @@
     you instead need to check out the source with:</p>
   
   <div class="code">
-    $ git clone ssh://username git gnome org/git/anjuta <br/>
-    $ git clone ssh://username git gnome org/git/gdl <br/>
+    $ git clone ssh://username git gnome org/git/anjuta
+    $ git clone ssh://username git gnome org/git/gdl
   </div>
   
   <p>Now you will want to build and install.  Run:</p>
@@ -72,10 +84,10 @@
     package:</p>
   
   <div class="code">
-    $ ./configure<br/>
-    $ make<br/>
-    $ su [password]<br/>
-    # make install<br/>
+    $ ./configure
+    $ make
+    $ su [password]
+    # make install
   </div>
   <p>At the end of configure stage, you will see which plugins are being built
     and which aren't. If you see some plugins not built, it's because you are
@@ -92,6 +104,41 @@
     see this nice and simple <a href="http://live.gnome.org/Git/Developers";>git tutorial</a>
     for further instructions</p>
   
+  <a name="anjuta-website"/>
+  <h2>Maintaining Anjuta website</h2>
+  <p>
+    Anjuta website (this website) is maintained in GNOME websites git repository. If you want to help update or fix errors in the site, you can easily just clone the git repository and submit patches in our bugzilla.
+  </p>
+  <p>
+    Run the following commands to checkout and prepare gnomeweb-wml project for editing anjuta module.
+  </p>
+  <div class="code">
+    $ git clone git://git.gnome.org/gnomeweb-wml
+    $ cd gnomeweb-wml
+    $ ./autogen.sh
+    $ cd projects.gnome.org/anjuta
+    $ make
+  </div>
+  <p>
+    If you have gnome account, you can substitute above clone command with following one.
+  </p>
+  <div class="code">
+    $ git clone ssh://username git gnome org/gnomeweb-wml
+  </div>
+  <p>
+    The website pages are create by xsl transformation in above anjuta directory. The actual layout is controlled by <i>layout.xsl</i> file in the directory and html files are generated from corresponding <i>.page</i> files. You would be editing the <i>.pages</i> files and run <i>make</i> as usual to update html files.
+  </p>
+  <p>To preview your copy of website, install apache2 and just symlink this directory from your WWW directory. Following commands usually should do.
+  </p>
+
+  <div class="code">
+    $ sudo apt-get install apache2 (or equivalent for your distribution)
+    $ sudo ln -s [path to above git anjuta dir] /var/www/anjuta
+  </div>
+  <p>
+    You can then preview the site at url http://127.0.0.1/anjuta. Follow the <a href="http://live.gnome.org/Git/Developers";>same procedure</a> mentioned above to pull, commit and push (or create patches and submit to bugzilla).
+  </p>
+  <a name="anjuta-history"/>
   <h2>History</h2>
   <p>Anjuta project was started in <b>27th Dec 1997</b>. To learn more about its history
     visit the first <a href="http://web.archive.org/web/20010924065759/anjuta.sourceforge.net/";>archived anjuta website</a>
diff --git a/projects.gnome.org/anjuta/features.page b/projects.gnome.org/anjuta/features.page
index 6639963..e530dec 100644
--- a/projects.gnome.org/anjuta/features.page
+++ b/projects.gnome.org/anjuta/features.page
@@ -1,4 +1,28 @@
 <page name="Features">
+
+  <div class="table-of-contents">
+    <p class="table-of-contents-heading">Contents</p>
+      <ol>
+        <li><a href="#anjuta-scoop">The scoop on Anjuta DevStudio </a>
+        <ol>
+          <li><a href="#anjuta-user-interface">User interface</a></li>
+          <li><a href="#anjuta-plugins">Plugins</a></li>
+          <li><a href="#anjuta-file-manager">File manager</a></li>
+          <li><a href="#anjuta-project-manager">Project manager</a></li>
+          <li><a href="#anjuta-wizards">Project wizards</a></li>
+          <li><a href="#anjuta-editor">Source code editor</a></li>
+          <li><a href="#anjuta-symbols">Symbols view and navigation</a></li>
+          <li><a href="#anjuta-debugger">Integrated debugger</a></li>
+          <li><a href="#anjuta-glade">Integrated Glade user interface designer</a></li>
+          <li><a href="#anjuta-generator">Class generator and file wizard</a></li>
+          <li><a href="#anjuta-valgrind-profiler">Valgrind plugin and gprof plugin</a></li>
+          <li><a href="#anjuta-devhelp">Integrated Devhelp API help browser</a></li>
+        </ol>
+       </li>
+      </ol>
+  </div>
+  
+<a name="anjuta-scoop"/>
 <h1>The scoop on Anjuta DevStudio</h1>
 <p>
 Anjuta DevStudio has been designed to be simple to operate yet powerful enough
@@ -16,6 +40,7 @@ The following screenshot illustrates some of the things you will find in Anjuta.
 </p>
 
 
+<a name="anjuta-user-interface"/>
 <h2>User Interface</h2>
 <p>
 <a href="screenshots/anjuta-2.1.2-1.png"><img style="border: 0; padding: 10px" src="screenshots/anjuta-2.1.2-1-thumb.png" align="right"/></a>
@@ -28,6 +53,8 @@ views appear as icons on the left side of the main window. You can configure all
 either by typing when the cursor is over a menu item (the usual GNOME way) or through
 a dedicated shortcut configuration user interface.
 </p>
+
+<a name="anjuta-plugins"/>
 <h2>Plugins</h2>
 <p>
 Anjuta is very extensible with plugins. Almost all features in Anjuta are implemented using plugins which can be dynamicaly enabled or disabled. You can choose which plugins should be active for your projects and for the default mode (no-project mode). Like the user interface layout, the set of active plugins is also persistent for each project making it easy to work on projects with various levels of complexity.
@@ -39,6 +66,7 @@ Using plugins, you can extend Anjuta with your own features. As Anjuta is writte
 All plugins in Anjuta are easily replaceable with different plugins implementing similar features. This allows you, for example, to choose from multiple editors (so far, we have the Scintilla and GtkSourceView editors) or to implement a new one suiting your taste (vim/Emacs, anyone?). This applies to any plugin. If Anjuta finds that there are multiple plugins satisfying the same feature requirement, it will prompt the user to select one and will remember the selection.
 </p>
 
+<a name="anjuta-file-manager"/>
 <h2>File Manager</h2>
 <p>
 The integrated file manager plugin behaves more or less like your typical file manager in a tree view. It lists all directories and files in the current project (or a pre-configured directory if there is no project open). You can choose not to list hidden files and/or files that are ignored by the version control system.
@@ -50,6 +78,7 @@ The default action (double-clicking) on any file will open it, either within Anj
 In addition, the file manager context menu also lists actions associated with other plugins, such as build actions (associated with the build system plugin), CVS/Subversion actions (associated with version control system plugins) and project actions (associated with the project manager plugin). This allows you to conveniently perform all actions from within the file manager.
 </p>
 
+<a name="anjuta-project-manager"/>
 <h2>Project Manager</h2>
 <p>
 Anjuta has a powerful project manager plugin which can open pretty much any automake/autoconf based project on the planet. It might fail on some oddly configured projects, but as long as the project uses automake/autoconf in a typical way, it should work.
@@ -89,11 +118,13 @@ Just like the file manager, the project manager view also has convenience action
 files and targets.
 </p>
 
+<a name="anjuta-wizards"/>
 <h2>Project wizards</h2>
 <p>
 The project wizard plugin uses a powerful template processing engine called <a href="http://autogen.sourceforge.net/";>autogen</a>. All new projects are created from templates that are written in autogen syntax. The project wizard lets you create new projects from a selection of project templates. The selection includes simple generic, flat (no subdirectory), GTK+, GNOME, Java, Python projects and more. New templates can be easily downloaded and installed since each template is just a collection of text files.
 </p>
 
+<a name="anjuta-editor"/>
 <h2>Source Code Editor</h2>
 <p>
 There are two editors currently available in Anjuta; the Scintilla-based (classic) editor and the new GtkSourceView-based editor. Except for some minor differences, both are equally functional and can be used interchangeably. Depending on your taste in editing, you can choose either one. Editor features include:
@@ -136,7 +167,8 @@ There are two editors currently available in Anjuta; the Scintilla-based (classi
      
     <li> Change notifications: Anjuta notifies you when a file is modified outside Anjuta while it is open in Anjuta.</li>
 </ul>
-   
+
+<a name="anjuta-symbols"/>
 <h2>Symbols view and navigation</h2>
 <p>
 The symbol db plugin shows all symbols in your project organized by type. There are three views in the symbol browser: one showing the global symbol tree, another showing symbols in the current file and a third view for searching symbols. You can navigate to any symbol's definition or declaration.
@@ -144,6 +176,8 @@ The symbol db plugin shows all symbols in your project organized by type. There
 <p>
 When Anjuta is started for the first time, it also indexes symbols from all installed libraries for autocompletion and calltips. This provides an instant reference to library functions used in the project. The libraries that should be referenced can be selected from the symbol db preferences or will be read from the project configuration automatically.
 </p>
+
+<a name="anjuta-debugger"/>
 <h2>Integrated Debugger</h2>
 <p>
 Anjuta provides a full source-level debugger (currently backed by gdb, but there will be other debugger backends soon). The debugger provides everything that can be expected from a typical source debugger including breakpoints, watches, source navigation, stack traces, threads, a disassembly view, registers, local variables, and memory dumps. You can also set up breakpoints and watches without first having the debugger running. They are saved in your session so that the next debugging session will still have them.
@@ -152,21 +186,26 @@ Anjuta provides a full source-level debugger (currently backed by gdb, but there
 You can control program execution under the debugger in various ways: you can single step, step over, step out, continue execution, run to the cursor, pause the program, or attach to a running process. All programs in a project can be started in a terminal window and can be provided arguments. When a program links shared libraries within a project, the debugger starts the program correctly using libtool to ensure that non-installed libraries are picked up rather than installed ones.
 </p>
 
+<a name="anjuta-glade"/>
 <h2>Integrated Glade user interface designer</h2>
 <p>
 <a href="screenshots/anjuta-2.1.2-9.png"><img style="border: 0; padding: 10px" src="screenshots/anjuta-2.1.2-9-thumb.png" align="right"/></a>
 <a href="http://glade.gnome.org/";>Glade</a> is the GTK+/GNOME WYSIWYG graphical user interface designer which lets you create user interfaces (dialogs and windows) for your application visualy. Glade files can be directly edited within Anjuta. When a Glade file is opened or created, the Glade plugin is started and brings up the designer view, palettes, properties editor and widgets view. The project can have any number of Glade files and, conveniently, more than one can be opened simultaneously (however, only one can be edited at a time).
 </p>
+
+<a name="anjuta-generator"/>
 <h2>Class generator and file wizard</h2>
 <p>
 With the class generator plugin, you can create C++ and GObject classes easily and add them to your projects. Similarly, the file wizard can create templates for new source files.
 </p>
 
+<a name="anjuta-valgrind-profiler"/>
 <h2>Valgrind plugin and gprof profiler plugins</h2>
 <p>
 The integrated valgrind plugin can be used to profile programs for memory leaks and corruptions.
 </p>
 
+<a name="anjuta-devhelp"/>
 <h2>Integrated Devhelp API help browser</h2>
 <p>
 <a href="screenshots/anjuta-2.1.2-8.png"><img style="border: 0; padding: 10px" src="screenshots/anjuta-2.1.2-8-thumb.png" align="right"/></a>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]