Skip to content

Commit

Permalink
Merge pull request #2 from kai-zeng/doc
Browse files Browse the repository at this point in the history
Auto generate documentation on Linux
  • Loading branch information
skaarthik committed Jan 8, 2016
2 parents a09368c + 23f4688 commit bb9caae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ solution: csharp/SparkCLR.sln
sudo: required
dist: trusty
before_install:
- sudo apt-get install xsltproc
- nuget install NUnit.Runners -Version 3.0.0 -OutputDirectory testrunner
# install maven 3.3.3
- wget http://archive.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
Expand Down
6 changes: 5 additions & 1 deletion csharp/Adapter/Microsoft.Spark.CSharp/Adapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
<XslTransformation
XslInputPath="..\documentation\DocFormatter.xsl"
XmlInputPaths="..\documentation\Microsoft.Spark.CSharp.Adapter.Doc.XML"
OutputPaths="..\documentation\SparkCLR_API_Documentation.md" />
OutputPaths="..\documentation\SparkCLR_API_Documentation.md"
Condition="'$(OS)' == 'Windows_NT'" />
<Exec
Command="xsltproc -o ../documentation/SparkCLR_API_Documentation.md ../documentation/DocFormatter.xsl ../documentation/Microsoft.Spark.CSharp.Adapter.Doc.XML"
Condition="'$(OS)' != 'Windows_NT'" />
</Target>
</Project>
1 change: 1 addition & 0 deletions linux-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Maven 3.3.3 or above.
* Mono 4.2 stable or above. The download and installation instructions for Mono are available in [http://www.mono-project.com/download/#download-lin](http://www.mono-project.com/download/#download-lin).
* NuGet.
* XSLTPROC

The following environment variables should be set properly:

Expand Down

0 comments on commit bb9caae

Please sign in to comment.