Initialize open publishing repository: https://github.com/Azure/azure-docs-sdk-java of branch live
This commit is contained in:
Коммит
fa5ab21432
|
@ -0,0 +1,9 @@
|
||||||
|
log/
|
||||||
|
obj/
|
||||||
|
_site/
|
||||||
|
.optemp/
|
||||||
|
_themes/
|
||||||
|
_themes.MSDN.Modern/
|
||||||
|
_themes.VS.Modern/
|
||||||
|
|
||||||
|
.openpublishing.buildcore.ps1
|
|
@ -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": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
# [Index](index.md)
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
# Index test file for Open Publishing
|
Загрузка…
Ссылка в новой задаче