Skip to content

Update docfx to add image support #2040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dsc/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"manager": "carmonm",
"ms.devlang": "powershell",
"ms.tgt_pltfr": "windows",
"ms.author": "sewhee"
"ms.author": "migreene",
"author": "mgreenegit"
},
"resource": [
{
Expand Down
30 changes: 15 additions & 15 deletions reference/docfx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"build": {
"content": [
{
"content": [{
"files": [
"bread-pscore/toc.yml"
]
Expand Down Expand Up @@ -196,18 +195,19 @@
"dest": "module"
}
],
"resource": [
{
"files": [
"**/*.png",
"**/*.jpg"
],
"exclude": [
"**/obj/**",
"**/includes/**"
]
}
],
"resource": [{
"files": [
"**/images/**/*.png",
"**/images/**/*.jpg",
"**/images/**/*.jpeg",
"**/images/**/*.gif",
"**/images/**/*.svg"
],
"exclude": [
"**/obj/**",
"**/includes/**"
]
}],
"versions": {
"powershell-3.0": {
"dest": "powershell-3.0"
Expand Down Expand Up @@ -245,4 +245,4 @@
"template": [],
"dest": "pscore-reference"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ For traditional Windows PowerShell workloads, see [Installing Windows PowerShell
- The **Extensions** view will open on the Side Bar. Select the PowerShell extension from Microsoft.
You will see something like below:

![VSCode](./vscode.png)
![VSCode](../../images/vscode.png)

- Click the **Install** button on the PowerShell extension from Microsoft.
- After the install, you will see the **Install** button turns to **Reload**.
Expand Down
4 changes: 3 additions & 1 deletion reference/docs-conceptual/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"resource": [
{
"files": [
"**/images/**"
"**/images/**",
"**/*.png",
"**/*.jpg"
],
"exclude": ["**/obj/**"]
}
Expand Down