Fifth Report: The three Cheese modes – Photo – Video – Burst.

After adding the index.page, it is a good idea to have multiple pages in the document.         So, I did three things that are usually use to do the documentation with mallard.

Step 1: Add other pages to the document by creating a new page files.

[yulys@yulys ~]$ cd cheese-docs/
[yulys@yulys cheese-docs]$ git branch
* master
[yulys@yulys cheese-docs]$ yelp-new task photo-mode "Photo Mode"
[yulys@yulys cheese-docs]$ yelp-new task video-mode "Video Mode"
[yulys@yulys cheese-docs]$ yelp-new task burst-mode "Burst Mode"

With the yelp-new tool we don’t have to worry about the type of page, it is automatically set it:

<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="photo-mode">

Step 2: Edit the pages with the written you have, add the files and push them.

Note:   Don’t forget to link the xref, in this case: the files are related with the index.page

<link type=”guide” xref=”index”/>

[yulys@yulys cheese-docs]$ gedit photo-mode.page
[yulys@yulys cheese-docs]$ gedit video-mode.page
[yulys@yulys cheese-docs]$ gedit burst-mode.page
[yulys@yulys cheese-docs]$ git checkout
[yulys@yulys cheese-docs]$ git add photo-mode.page
[yulys@yulys cheese-docs]$ git add video-mode.page
[yulys@yulys cheese-docs]$ git add burst-mode.page
[yulys@yulys cheese-docs]$ git commit -a
[master 501eb02] Three basic files of Cheese are added to start the documentation.
 3 files changed, 97 insertions(+), 0 deletions(-)
 create mode 100644 burst-mode.page
 create mode 100644 photo-mode.page
 create mode 100644 video-mode.page
[yulys@yulys cheese-docs]$ git push origin master
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.56 KiB, done.
Total 5 (delta 2), reused 0 (delta 0)
=> Syncing Gitorious... [OK]
To git@gitorious.org:cheese-docs/cheese-docs.git
   f36ec63..501eb02  master -> master
[yulys@yulys cheese-docs]$

Step 3: I’ve completed the pages related with the Photo mode.

[yulys@yulys cheese-docs]$ yelp-new task take-photo "Take a Photo"
[yulys@yulys cheese-docs]$ yelp-new task view-photo "View a Photo"
[yulys@yulys cheese-docs]$ yelp-new task save-photo "Save a Photo"
[yulys@yulys cheese-docs]$ yelp-new task delete-photo "Delete a Photo"
[yulys@yulys cheese-docs]$ yelp-new task photo-account "Photo Account"
[yulys@yulys cheese-docs]$ yelp-new task resolution-photo "Resolution Photo"
[yulys@yulys cheese-docs]$ gedit take-photo.page
[yulys@yulys cheese-docs]$ gedit view-photo.page 
[yulys@yulys cheese-docs]$ gedit save-photo.page 
[yulys@yulys cheese-docs]$ gedit delete-photo.page 
[yulys@yulys cheese-docs]$ gedit photo-account.page 
[yulys@yulys cheese-docs]$ gedit resolution-photo.page 
[yulys@yulys cheese-docs]$ git checkout
[yulys@yulys cheese-docs]$ git add take-photo.page
[yulys@yulys cheese-docs]$ git add view-photo.page
[yulys@yulys cheese-docs]$ git add save-photo.page
[yulys@yulys cheese-docs]$ git add delete-photo.page
[yulys@yulys cheese-docs]$ git add photo-account.page
[yulys@yulys cheese-docs]$ git add resolution-photo.page
[yulys@yulys cheese-docs]$ git checkout
A	delete-photo.page
A	photo-account.page
A	resolution-photo.page
A	save-photo.page
A	take-photo.page
A	view-photo.page
[yulys@yulys cheese-docs]$ git commit -a
[master 5410c6d] Adding six files for the photo mode. Please check them.
 6 files changed, 205 insertions(+), 0 deletions(-)
 create mode 100644 delete-photo.page
 create mode 100644 photo-account.page
 create mode 100644 resolution-photo.page
 create mode 100644 save-photo.page
 create mode 100644 take-photo.page
 create mode 100644 view-photo.page
[yulys@yulys cheese-docs]$ git push origin master
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 3.27 KiB, done.
Total 8 (delta 4), reused 0 (delta 0)
=> Syncing Gitorious... [OK]
To git@gitorious.org:cheese-docs/cheese-docs.git
   ca2999c..5410c6d  master -> master

I hope to finish all the video, burst and common problems stuff this weekend🙂

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. HPC researcher, a simple mortal, like you!
This entry was posted in GNOME and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s