-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using the nuget sandcastle packages, the documentation wouldn't build remarks or code examples. Also, if you did not have the full sandcastle installed, VS wouldnt see it and wouldn't build it anyway, so there was not much of a real reason to have it in the solution. This removed it from the solution, added a batch script in the root that will build the documentation and grab the nuget packages if people want to build the xml docs. However normal builds will not anymore. Fixes Appveyor yml Bad formatting Changes AppVeyor to release mode Appveyor should now build nupkg after documentation Should now properly publish nupkg Makes AppVeyor configuration build documentation This fixes the issue where nugets would get packed before the post build script runs. This also means that if the user runs the build in appveyor mode it will download the nuget packages and build the docs. Updates after target name
- Loading branch information
Showing
11 changed files
with
130 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ bld/ | |
[Bb]in/ | ||
[Oo]bj/ | ||
[Oo]utput/ | ||
sbpackages/ | ||
|
||
# Visual Studio 2015 cache/options directory | ||
.vs/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nuget install EWSoftware.SHFB -Version 2015.10.10.0 -o sbpackages | ||
nuget install EWSoftware.SHFB.NETFramework -Version 4.6 -o sbpackages | ||
|
||
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild" Sandcastle\SandcastleLocalBuildsOnly.shfbproj /property:Configuration=Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="EWSoftware.SHFB" version="2015.10.10.0" targetFramework="net45" /> | ||
<package id="EWSoftware.SHFB.NETFramework" version="4.6" targetFramework="net45" /> | ||
<package id="NUnit" version="2.6.4" targetFramework="net45" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- The configuration and platform will be used to determine which assemblies to include from solution and | ||
project documentation sources --> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>5647e833-22c8-4b86-b211-6a68b39155de</ProjectGuid> | ||
<SHFBSchemaVersion>2015.6.5.0</SHFBSchemaVersion> | ||
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual Studio adds them anyway --> | ||
<AssemblyName>Sandcastle</AssemblyName> | ||
<RootNamespace>Sandcastle</RootNamespace> | ||
<Name>Sandcastle</Name> | ||
<!-- SHFB properties --> | ||
<FrameworkVersion>.NET Framework 4.5</FrameworkVersion> | ||
<OutputPath>Help\</OutputPath> | ||
<HtmlHelpName>Sandcastle</HtmlHelpName> | ||
<Language>en-US</Language> | ||
<TransformComponentArguments> | ||
<Argument Key="logoFile" Value="Help.png" xmlns="" /> | ||
<Argument Key="logoHeight" Value="" xmlns="" /> | ||
<Argument Key="logoWidth" Value="" xmlns="" /> | ||
<Argument Key="logoAltText" Value="" xmlns="" /> | ||
<Argument Key="logoPlacement" Value="left" xmlns="" /> | ||
<Argument Key="logoAlignment" Value="left" xmlns="" /> | ||
<Argument Key="maxVersionParts" Value="" xmlns="" /> | ||
</TransformComponentArguments> | ||
<DocumentationSources> | ||
<DocumentationSource sourceFile="..\NetworkTablesCore\NetworkTablesCore.csproj" xmlns="" /> | ||
</DocumentationSources> | ||
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity> | ||
<HelpFileFormat>Website</HelpFileFormat> | ||
<IndentHtml>False</IndentHtml> | ||
<KeepLogFile>True</KeepLogFile> | ||
<DisableCodeBlockComponent>False</DisableCodeBlockComponent> | ||
<CleanIntermediates>True</CleanIntermediates> | ||
<ComponentConfigurations> | ||
<ComponentConfig id="API Token Resolution" enabled="True"> | ||
<component id="API Token Resolution">{@TokenFiles} | ||
<replace elements="/*//token" item="string(.)" /></component> | ||
</ComponentConfig> | ||
<ComponentConfig id="IntelliSense Component" enabled="True"><component id="IntelliSense Component"><!-- Output options (optional) | ||
Attributes: | ||
Include namespaces (false by default) | ||
Namespaces comments filename ("Namespaces" if not specified or empty) | ||
Output folder (current folder if not specified or empty) --><output includeNamespaces="false" namespacesFile="Namespaces" folder="{@OutputFolder}" /></component></ComponentConfig></ComponentConfigurations> | ||
<PlugInConfigurations> | ||
<PlugInConfig id="IntelliSense Only" enabled="True" xmlns=""> | ||
<configuration /> | ||
</PlugInConfig> | ||
</PlugInConfigurations> | ||
<ComponentPath>..\sbpackages\EWSoftware.SHFB.NETFramework.4.6\tools\Data\.NETFramework\</ComponentPath> | ||
</PropertyGroup> | ||
<!-- There are no properties for these groups. AnyCPU needs to appear in order for Visual Studio to perform | ||
the build. The others are optional common platform types that may appear. --> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' "> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' "> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<!-- NOTE: Update the version number in the path (YYYY.M.D.R) to match the package version --> | ||
<SHFBROOT Condition=" '$(SHFBROOT)' == '' ">$(MSBuildThisFileDirectory)..\sbpackages\EWSoftware.SHFB.2015.10.10.0\Tools\</SHFBROOT> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Folder Include="Content" /> | ||
<Folder Include="Content\VersionHistory" /> | ||
<Folder Include="icons" /> | ||
<Folder Include="media" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Content\VersionHistory\v1.0.0.0.aml" /> | ||
<None Include="Content\VersionHistory\VersionHistory.aml" /> | ||
<None Include="Content\Welcome.aml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ContentLayout Include="ContentLayout.content" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="icons\Help.png" /> | ||
</ItemGroup> | ||
<!-- Import the SHFB build targets --> | ||
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" /> | ||
<!-- The pre-build and post-build event properties must appear *after* the targets file import in order to be | ||
evaluated correctly. --> | ||
<PropertyGroup> | ||
<PreBuildEvent> | ||
</PreBuildEvent> | ||
<PostBuildEvent>xcopy Help\NetworkTables.xml ..\NetworkTablesCore\Output /y</PostBuildEvent> | ||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!--?xml version="1.0" encoding="utf-8"?--> | ||
|
||
<Project toolsversion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Target Name="BuildDocs" AfterTargets="Build" Condition="'$(Configuration)' == 'AppVeyor' "> | ||
<Message text="Building Documentation" importance="high"></Message> | ||
<Exec Command="BuildDocumentation.bat"/> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters