diff --git a/documentation/api/Api.markdown b/documentation/api/Api.markdown index 14110056..b54f56ec 100644 --- a/documentation/api/Api.markdown +++ b/documentation/api/Api.markdown @@ -37,12 +37,12 @@ Every API endpoint returns a JSON response in a [standard envelope][Envelope]. 1. [POST /tag/:id/update.json][PostTag] Modify meta data for a user's tag. -[Envelope]: api/Envelope.markdown -[GetHelloWorld]: api/GetHelloWorld.markdown -[GetPhotos]: api/GetPhotos.markdown -[GetPhoto]: api/GetPhoto.markdown -[GetTags]: api/GetTags.markdown -[PostPhotoUpload]: api/PostPhotoUpload.markdown -[PostTag]: api/PostTag.markdown -[authentication]: api/Authentication.markdown +[Envelope]: Envelope.markdown +[GetHelloWorld]: GetHelloWorld.markdown +[GetPhotos]: GetPhotos.markdown +[GetPhoto]: GetPhoto.markdown +[GetTags]: GetTags.markdown +[PostPhotoUpload]: PostPhotoUpload.markdown +[PostTag]: PostTag.markdown +[authentication]: Authentication.markdown [oauth1.0a]: http://oauth.net/core/1.0a/ diff --git a/documentation/api/GetHelloWorld.markdown b/documentation/api/GetHelloWorld.markdown index 712a27b2..7ea38c82 100644 --- a/documentation/api/GetHelloWorld.markdown +++ b/documentation/api/GetHelloWorld.markdown @@ -74,7 +74,7 @@ The response is in a standard [response envelope][Envelope]. } } -[Envelope]: api/Envelope.markdown +[Envelope]: Envelope.markdown [purpose]: #purpose [endpoint]: #endpoint [parameters]: #parameters diff --git a/documentation/api/GetPhoto.markdown b/documentation/api/GetPhoto.markdown index 08236253..258bc7da 100644 --- a/documentation/api/GetPhoto.markdown +++ b/documentation/api/GetPhoto.markdown @@ -100,8 +100,8 @@ The response is in a standard [response envelope][Envelope]. } } -[Envelope]: api/Envelope.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown +[Envelope]: Envelope.markdown +[Photo]: ../schemas/Photo.markdown [purpose]: #purpose [endpoint]: #endpoint [parameters]: #parameters @@ -110,5 +110,5 @@ The response is in a standard [response envelope][Envelope]. [example-php]: #example-php [response]: #response [sample]: #sample -[photogeneration]: faq/PhotoGeneration.markdown -[ReturnSizes]: faq/ReturnSizes.markdown +[photogeneration]: ../faq/PhotoGeneration.markdown +[ReturnSizes]: ../faq/ReturnSizes.markdown diff --git a/documentation/api/GetPhotos.markdown b/documentation/api/GetPhotos.markdown index d4e9aa27..32733a1c 100644 --- a/documentation/api/GetPhotos.markdown +++ b/documentation/api/GetPhotos.markdown @@ -133,7 +133,7 @@ The response is in a standard [response envelope][Envelope]. ] } -[Envelope]: ../api/Envelope.markdown +[Envelope]: Envelope.markdown [Photo]: ../schemas/Photo.markdown [purpose]: #purpose [endpoint]: #endpoint diff --git a/documentation/api/GetTags.markdown b/documentation/api/GetTags.markdown index 73a6a9a4..226a8b7c 100644 --- a/documentation/api/GetTags.markdown +++ b/documentation/api/GetTags.markdown @@ -94,8 +94,8 @@ The response is in a standard [response envelope][Envelope]. ] } -[Envelope]: api/Envelope.markdown -[Tag]: schemas/Tag.markdown +[Envelope]: Envelope.markdown +[Tag]: ../schemas/Tag.markdown [purpose]: #purpose [endpoint]: #endpoint [parameters]: #parameters diff --git a/documentation/api/PostPhotoUpload.markdown b/documentation/api/PostPhotoUpload.markdown index e07830ae..db4fc93e 100644 --- a/documentation/api/PostPhotoUpload.markdown +++ b/documentation/api/PostPhotoUpload.markdown @@ -123,8 +123,8 @@ The response is in a standard [response envelope][Envelope]. } } -[Envelope]: api/Envelope.markdown -[Photo]: schemas/Photo.markdown +[Envelope]: Envelope.markdown +[Photo]: ../schemas/Photo.markdown [purpose]: #purpose [endpoint]: #endpoint [parameters]: #parameters diff --git a/documentation/faq/Faq.markdown b/documentation/faq/Faq.markdown index a8da2544..03cfece8 100644 --- a/documentation/faq/Faq.markdown +++ b/documentation/faq/Faq.markdown @@ -63,5 +63,5 @@ You can set up the OpenPhoto software using [any of the guides][guides]. We are aiming to have it ready by the end of November (2011). -[guides]: guides/Readme.markdown +[guides]: ../guides/Guides.markdown diff --git a/documentation/faq/PhotoGeneration.markdown b/documentation/faq/PhotoGeneration.markdown index 4cb9e63f..fd23f08f 100644 --- a/documentation/faq/PhotoGeneration.markdown +++ b/documentation/faq/PhotoGeneration.markdown @@ -108,6 +108,6 @@ Additional options include `CR` and `BW`. `CR` tells the API to crop the photo t For more information on the `returnSizes` parameter see our [documentation on returnSizes][ReturnSizes]. -[GetPhotos]: api/GetPhotos.markdown -[GetPhoto]: api/GetPhoto.markdown -[ReturnSizes]: faq/ReturnSizes.markdown +[GetPhotos]: ../api/GetPhotos.markdown +[GetPhoto]: ../api/GetPhoto.markdown +[ReturnSizes]: ../faq/ReturnSizes.markdown diff --git a/documentation/faq/ReturnSizes.markdown b/documentation/faq/ReturnSizes.markdown index cc937722..863dd382 100644 --- a/documentation/faq/ReturnSizes.markdown +++ b/documentation/faq/ReturnSizes.markdown @@ -36,6 +36,6 @@ Adding `xCR` means that the photo will be exactly _200px_ by _200px_ and cropped ### Accessing the paths in the response The name of the URL attribute in the response is, by convention, `pathWxH` where `WxH` is the value passed in to returnSizes. -[GetPhoto]: api/GetPhoto.markdown -[GetPhotos]: api/GetPhotos.markdown -[photogeneration]: faq/PhotoGeneration.markdown +[GetPhoto]: ../api/GetPhoto.markdown +[GetPhotos]: ../api/GetPhotos.markdown +[photogeneration]: ../faq/PhotoGeneration.markdown diff --git a/documentation/guides/Guides.markdown b/documentation/guides/Guides.markdown index c2612ea2..2e010102 100644 --- a/documentation/guides/Guides.markdown +++ b/documentation/guides/Guides.markdown @@ -8,8 +8,8 @@ OpenPhoto / Guides 1. [Installation on Ubuntu with Cherokee][guideinstallubuntucherokee] 1. [Installation via Amazon EC2 OpenPhoto AMI][guideinstallamazonec2] -[guideinstallubuntuapache]: guides/InstallationUbuntuApache.markdown -[guideinstallosxmacports]: guides/InstallationOSXMacports.markdown -[guideinstallsuse]: guides/InstallationSUSE.markdown -[guideinstallubuntucherokee]: guides/InstallationUbuntuCherokee.markdown -[guideinstallamazonec2]: guides/InstallationUsingOpenPhotoEC2-AMI.markdown +[guideinstallubuntuapache]: InstallationUbuntuApache.markdown +[guideinstallosxmacports]: InstallationOSXMacports.markdown +[guideinstallsuse]: InstallationSUSE.markdown +[guideinstallubuntucherokee]: InstallationUbuntuCherokee.markdown +[guideinstallamazonec2]: InstallationUsingOpenPhotoEC2-AMI.markdown diff --git a/documentation/guides/InstallationUsingOpenPhotoEC2-AMI.markdown b/documentation/guides/InstallationUsingOpenPhotoEC2-AMI.markdown index b7a1fe0c..d8f2d334 100644 --- a/documentation/guides/InstallationUsingOpenPhotoEC2-AMI.markdown +++ b/documentation/guides/InstallationUsingOpenPhotoEC2-AMI.markdown @@ -54,7 +54,3 @@ Verify the apache user has write access to the /home/ubuntu/openphoto/src/config ls -ld ./configs drwxr-xr-x 3 www-data www-data 4096 2011-08-20 02:37 configs - - - - diff --git a/documentation/schemas/Action.markdown b/documentation/schemas/Action.markdown index d903956b..16f7316e 100644 --- a/documentation/schemas/Action.markdown +++ b/documentation/schemas/Action.markdown @@ -50,6 +50,6 @@ This includes comments and favorites and could include other social actions in t * status, Binary value if the action is active or not -[User]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/User.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown -[Action]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Action.markdown +[User]: User.markdown +[Photo]: Photo.markdown +[Action]: Action.markdown diff --git a/documentation/schemas/Group.markdown b/documentation/schemas/Group.markdown index cbcebade..3a6c0493 100644 --- a/documentation/schemas/Group.markdown +++ b/documentation/schemas/Group.markdown @@ -29,7 +29,7 @@ A Group consists of an `id`, `name` and array of `email addresses`. * name, the name of the group * members: a set of email addresses who belong to this group -[User]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/User.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown -[Action]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Action.markdown +[User]: User.markdown +[Photo]: Photo.markdown +[Action]: Action.markdown diff --git a/documentation/schemas/Photo.markdown b/documentation/schemas/Photo.markdown index 0bc93250..a110ee97 100644 --- a/documentation/schemas/Photo.markdown +++ b/documentation/schemas/Photo.markdown @@ -102,6 +102,6 @@ This includes EXIF information from the photo, tags and URLs to all versions of * pathBase, The URL of the base version of the photo, used for photo generation * pathWxH, A pseudo key which represents any resized version of a photo and it's URL -[User]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/User.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown -[Action]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Action.markdown +[User]: User.markdown +[Photo]: Photo.markdown +[Action]: Action.markdown diff --git a/documentation/schemas/Schemas.markdown b/documentation/schemas/Schemas.markdown index a0a8d6a4..b8c4ecc8 100644 --- a/documentation/schemas/Schemas.markdown +++ b/documentation/schemas/Schemas.markdown @@ -23,13 +23,15 @@ Since a [Photo][Photo] object has a predictable set of properties it means that ### Available schemas 1. [User][User] - Settings for a user. +1. [Credential][Credential] - Properties for a user's OAuth credential. 1. [Photo][Photo] - Properties for a single photo. 1. [Action][Action] - Comments and favorites on a photo. 1. [Tag][Tag] - Meta information for tags. ---------------------------------------- -[User]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/User.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown -[Action]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Action.markdown -[Tag]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Tag.markdown +[User]: User.markdown +[Credential]: Credential.markdown +[Photo]: Photo.markdown +[Action]: Action.markdown +[Tag]: Tag.markdown diff --git a/documentation/schemas/User.markdown b/documentation/schemas/User.markdown index d0cbec4e..a70095ce 100644 --- a/documentation/schemas/User.markdown +++ b/documentation/schemas/User.markdown @@ -27,6 +27,6 @@ This includes the last uploaded [Photo][Photo] and [Action][Action] id. * lastPhotoId, most recent photo id * lastActionId, most recent action id -[User]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/User.markdown -[Photo]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Photo.markdown -[Action]: https://github.com/openphoto/frontend/blob/master/documentation/schemas/Action.markdown +[User]: User.markdown +[Photo]: Photo.markdown +[Action]: Action.markdown