This commit is contained in:
ansyral 2016-07-22 08:20:10 +00:00
Коммит fa5ab21432
6 изменённых файлов: 98 добавлений и 0 удалений

9
.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1,9 @@
log/
obj/
_site/
.optemp/
_themes/
_themes.MSDN.Modern/
_themes.VS.Modern/
.openpublishing.buildcore.ps1

17
.openpublishing.build.ps1 Normal file
Просмотреть файл

@ -0,0 +1,17 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1 Download buildcore script to local
echo "download build core script to local with source url: $buildCorePowershellUrl"
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
# Step-2: Run build core
echo "run build core script with parameters: $parameters"
& "$buildCorePowershellDestination" "$parameters"
exit $LASTEXITCODE

Просмотреть файл

@ -0,0 +1,33 @@
{
"build_entry_point": "docs",
"need_generate_pdf": false,
"need_generate_intellisense": false,
"docsets_to_publish": [
{
"docset_name": "AzureJava",
"build_source_folder": ".",
"build_output_subfolder": "azure/sdk/java",
"locale": "en-us",
"version": 0,
"open_to_public_contributors": true,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs",
"template_folder": "_themes"
}
],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
]
}

1
TOC.md Normal file
Просмотреть файл

@ -0,0 +1 @@
# [Index](index.md)

37
docfx.json Normal file
Просмотреть файл

@ -0,0 +1,37 @@
{
"build": {
"content": [
{
"files": [
"**/*.md"
],
"exclude": [
"**/obj/**",
"azure/sdk/java/**",
"**/includes/**"
]
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"azure/sdk/java/**",
"**/includes/**"
]
}
],
"overwrite": [],
"externalReference": [],
"globalMetadata": {},
"fileMetadata": {},
"template": [
null
],
"dest": "azure/sdk/java"
}
}

1
index.md Normal file
Просмотреть файл

@ -0,0 +1 @@
# Index test file for Open Publishing