Skip to content

Commit 090b1b4

Browse files
authored
Merge pull request #1 from MicrosoftDocs/master
update from upstream
2 parents 3e71166 + 2324648 commit 090b1b4

File tree

11,512 files changed

+141948
-372357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,512 files changed

+141948
-372357
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ _themes.MSDN.Modern/
77
_themes.VS.Modern/
88

99
.openpublishing.buildcore.ps1
10+
11+
# Documentation build
12+
/docs/vcppdocs

.localization-config

Lines changed: 0 additions & 34 deletions
This file was deleted.

.openpublishing.publish.config.json

Lines changed: 56 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,56 @@
1-
{
2-
"build_entry_point": "docs",
3-
"need_generate_pdf": false,
4-
"need_generate_intellisense": false,
5-
"docsets_to_publish": [
6-
{
7-
"docset_name": "vcppdocs",
8-
"build_source_folder": "docs",
9-
"build_output_subfolder": "vcppdocs",
10-
"locale": "en-us",
11-
"version": 0,
12-
"open_to_public_contributors": true,
13-
"type_mapping": {
14-
"Conceptual": "Content",
15-
"ManagedReference": "Content",
16-
"RestApi": "Content"
17-
},
18-
"template_folder": "_themes"
19-
}
20-
],
21-
"notification_subscribers": [],
22-
"branches_to_filter": [],
23-
"skip_source_output_uploading": false,
24-
"git_repository_url_open_to_public_contributors": "https://github.com/Microsoft/cpp-docs",
25-
"git_repository_branch_open_to_public_contributors": "master",
26-
"dependent_repositories": [
27-
{
28-
"path_to_root": "_themes",
29-
"url": "https://github.com/Microsoft/templates.docs.msft",
30-
"branch": "master",
31-
"branch_mapping": {}
32-
}
33-
],
34-
"need_generate_pdf_url_template": false,
35-
"enable_incremental_build": true
36-
}
1+
{
2+
"build_entry_point": "docs",
3+
"need_generate_pdf": false,
4+
"need_generate_intellisense": false,
5+
"branch_target_mapping": {
6+
"live": [
7+
"Publish",
8+
"Pdf"
9+
],
10+
"master": [
11+
"Publish",
12+
"Pdf"
13+
]
14+
},
15+
"Targets": {
16+
"Pdf": {
17+
"template_folder": "_themes.pdf"
18+
}
19+
},
20+
"docsets_to_publish": [
21+
{
22+
"docset_name": "vcppdocs",
23+
"build_source_folder": "docs",
24+
"build_output_subfolder": "vcppdocs",
25+
"locale": "en-us",
26+
"version": 0,
27+
"open_to_public_contributors": true,
28+
"type_mapping": {
29+
"Conceptual": "Content",
30+
"ManagedReference": "Content",
31+
"RestApi": "Content"
32+
},
33+
"template_folder": "_themes"
34+
}
35+
],
36+
"notification_subscribers": [],
37+
"branches_to_filter": [],
38+
"skip_source_output_uploading": false,
39+
"git_repository_url_open_to_public_contributors": "https://github.com/Microsoft/cpp-docs",
40+
"git_repository_branch_open_to_public_contributors": "master",
41+
"dependent_repositories": [
42+
{
43+
"path_to_root": "_themes",
44+
"url": "https://github.com/Microsoft/templates.docs.msft",
45+
"branch": "master",
46+
"branch_mapping": {}
47+
},
48+
{
49+
"path_to_root": "_themes.pdf",
50+
"url": "https://github.com/Microsoft/templates.docs.msft.pdf",
51+
"branch": "master"
52+
}
53+
],
54+
"need_generate_pdf_url_template": true,
55+
"enable_incremental_build": true
56+
}

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"files.associations": {}
2+
"files.associations": {
3+
"random": "cpp"
4+
},
5+
6+
"git.ignoreLimitWarning": true
37
}

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The content inside the **docs** folder is organized into sections that are organ
1919

2020
You can skip this first step for small changes.
2121

22-
**Step 2:** Fork the `Microsoft/cpp-docs` repo.
22+
**Step 2:** Fork the `MicrosoftDocs/cpp-docs` repo.
2323

2424
**Step 3:** Create a `branch` for your article.
2525

@@ -42,7 +42,7 @@ Be sure to follow the proper Markdown syntax. See the [style guide](./styleguide
4242
/media
4343
wstring-conversion.png
4444

45-
**Step 5:** Submit a Pull Request (PR) from your branch to `Microsoft/cpp-docs/master`.
45+
**Step 5:** Submit a Pull Request (PR) from your branch to `MicrosoftDocs/cpp-docs/master`.
4646

4747
If your PR is addressing an existing issue, add the `Fixes #Issue_Number` keyword to the commit message or PR description, so the issue can be automatically closed when the PR is merged. For more information, see [Closing issues via commit messages](https://help.github.com/articles/closing-issues-via-commit-messages/).
4848

@@ -52,7 +52,7 @@ The Visual Studio team will review your PR and let you know if the change looks
5252

5353
The maintainers will merge your PR into the master branch once feedback has been applied and your change looks good.
5454

55-
On a certain cadence, we push all commits from master branch into the live branch and then you'll be able to see your contribution live at https://docs.microsoft.com/cpp-docs/.
55+
On a certain cadence, we push all commits from master branch into the live branch and then you'll be able to see your contribution live at https://docs.microsoft.com/en-us/cpp/.
5656

5757
## DOs and DON'Ts
5858

@@ -70,7 +70,7 @@ Below is a short list of guiding rules that you should keep in mind when you are
7070
7171
## Building the docs
7272

73-
The documentation is written in [GitHub Flavored Markdown](https://help.github.com/categories/writing-on-github/) and built using [DocFX](http://dotnet.github.io/docfx/) and other internal publishing/building tools. It is hosted at [docs.microsoft.com](https://docs.microsoft.com/dotnet).
73+
The documentation is written in [GitHub Flavored Markdown](https://help.github.com/categories/writing-on-github/) and built using [DocFX](http://dotnet.github.io/docfx/) and other internal publishing/building tools. It is hosted at [docs.microsoft.com](https://docs.microsoft.com/).
7474

7575
If you want to build the docs locally, you need to install [DocFX](https://dotnet.github.io/docfx/); latest versions are the best.
7676

@@ -80,16 +80,16 @@ If you are comfortable with other ways listed on the link above, feel free to us
8080

8181
**Note:** Currently DocFX requires the .NET Framework on Windows or Mono (for Linux or macOS). We hope to port it to .NET Core in the future.
8282

83-
You can build and preview the resulting site locally using a built-in web server. Navigate to the core-docs folder on your machine and type the following command:
83+
You can build and preview the resulting site locally using a built-in web server. Navigate to the `cpp-docs\docs` folder on your machine and type the following command:
8484

8585
```
8686
docfx -t default --serve
8787
```
8888

89-
This starts the local preview on [localhost:8080](http://localhost:8080). You can then view the changes by going to `http://localhost:8080/[path]`, such as http://localhost:8080/articles/welcome.html.
89+
This starts the local preview on [localhost:8080](http://localhost:8080). You can then view the changes by going to `http://localhost:8080/[path]`, such as http://localhost:8080/cpp/visual-cpp-in-visual-studio.html.
9090

9191
**Note:** the local preview currently doesn't contain any themes at the moment so the look and feel won't be the same as in the documentation site. We're working towards fixing that experience.
9292

9393
# Contributing to samples
9494

95-
For now, include required sample code as inline code blocks in your article. The repo has a codesnippets folder, but this is not ready for public contributions.
95+
For now, include required sample code as inline code blocks in your article. The repo has a codesnippets folder, but this is not ready for public contributions.

0 commit comments

Comments
 (0)