Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated build file to rewrite docs in pages as well.

  • Loading branch information...
commit 0fd2d36a22724500eb6c6c961ec0aac9fb1a5890 1 parent 291c042
Mark Walters authored March 06, 2011
3  .gitignore
... ...
@@ -1,3 +1,6 @@
  1
+#Mac
  2
+.DS_Store
  3
+
1 4
 #Flash Builder
2 5
 .actionScriptProperties
3 6
 .flexProperties
4  README.md
Source Rendered
@@ -11,11 +11,9 @@ The Adobe Flash Platform and Facebook Platform provide the ideal solution for bu
11 11
 - Reach people: Reach millions of Facebook users through social distribution.
12 12
 
13 13
 ##Getting Started
14  
-For tutorials, articles, and videos on using the new API, visit the [Facebook](http://www.adobe.com/devnet/facebook/) page on the Adobe Developer Center. You can also see the [docs](http://facebook-actionscript-api.googlecode.com/svn/release/current/docs/index.html) for the most recent and stable build.
  14
+For tutorials, articles, and videos on using the new API, visit the [Facebook page](http://www.adobe.com/devnet/facebook/) on the Adobe Developer Center. You can also see the [docs](http://yourpalmark.github.com/facebook-actionscript-api/docs/) for the most recent and stable build.
15 15
 
16 16
 ##Project History
17 17
 The API was originally developed by [Jason Crist](http://pbking.com/) and authored under the direction of [Terralever](http://terralever.com/), an online marketing firm with strength in Flash-based media. Although Adobe has taken over day-to-day management of the project, Jason still maintains a consulting role. Under the direction of Adobe, the highly experienced team of Flash and Flex experts from [gskinner.com](http://www.gskinner.com/) have developed and architected the latest iteration of the API. [Mark Walters](http://yourpalmark.com/) transferred the project over to github to update and allow others to easily branch and contribute to the project.
18 18
 
19  
-If you are looking for the deprecated code and samples, see the 'tag/version2' directory in the repository or search for files with the 'Deprecated' tag in the downloads section.
20  
-
21 19
 For questions and inquiries about this library, please contact Mark Walters via email at <mark@yourpalmark.com>. Submit bug reports, patches, or feature requests via the issue tracker.
2  build/build.properties
@@ -42,6 +42,8 @@ libs.dir = ${basedir}/libs
42 42
 bin.dir = ${basedir}/bin
43 43
 bin-release.dir = ${basedir}/bin-release
44 44
 docs.dir = ${basedir}/docs
  45
+pages.dir = ${basedir}/../${ant.project.name}-pages
  46
+pages.docs.dir = ${pages.dir}/docs
45 47
 
46 48
 
47 49
 # -----------------------------------------------------------------
16  build/build.xml
@@ -54,7 +54,7 @@
54 54
 	</target>
55 55
 	
56 56
 	<!-- Clean and re-generate the documentation -->
57  
-	<target name="docs" depends="clean-docs,compile-docs" />
  57
+	<target name="docs" depends="clean-docs,compile-docs,copy-docs" />
58 58
 	
59 59
 	<!-- Clean the documentation -->
60 60
 	<target name="clean-docs">
@@ -82,6 +82,20 @@
82 82
 		</exec>
83 83
 	</target>
84 84
 	
  85
+	<!-- Copy the documentation to the pages directory if it exists -->
  86
+	<target name="copy-docs">
  87
+		<if>
  88
+			<available file="${pages.dir}" type="dir" />
  89
+			<then>
  90
+				<delete dir="${pages.docs.dir}" includeemptydirs="true" failonerror="true" />
  91
+				<mkdir dir="${pages.docs.dir}" />
  92
+				<copy todir="${pages.docs.dir}">
  93
+					<fileset dir="${docs.dir}"/>
  94
+				</copy>
  95
+			</then>
  96
+		</if>
  97
+	</target>
  98
+	
85 99
 	<!-- Package project for distribution -->
86 100
 	<target name="release" depends="component,docs">
87 101
 		<mkdir dir="${bin-release.dir}" />

0 notes on commit 0fd2d36

Please sign in to comment.
Something went wrong with that request. Please try again.