8000 update sample links by BillWagner · Pull Request #1 · dotnet/dotnet-api-docs · GitHub
[go: up one dir, main page]

Skip to content

update sample links #1

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

Closed
wants to merge 4,542 commits into from
Closed

update sample links #1

wants to merge 4,542 commits into from

Conversation

BillWagner
Copy link
Member

Partial fix for dotnet/docs#4821

mairaw and others added 30 commits February 21, 2018 08:32
* add two options explanation

* fixed heading
* Maximum size of file to be compressed

Added information about maximum file size that can be compressed, and exception that is thrown when limit is reached

* Respond to feedback

* respond to editing feedback.

* replace xref syntax with cref syntax

* fixed link format

* fix links 

include the type with int.Maxvalue
Replace an incorrect cref with xref.

* make sure the additions are in both overloads.
Remove unused variable creating confusion: GeometryDrawing myGeometryDrawing = new GeometryDrawing();
* Addressed customer feedback about ControlBox property

* Incorporated review comments
* Fixed example Snippet and clarified it.

* Renamed "Local" to "LocalFunction"

From my previous commit, pointed out by @pkulikov, I forgot to rename the later mentions of the "Local" function in the paragraph after the code snippet.
…4298)

* Replaced fwlink in concepts/async except index.md

* Fix link error

* Test uwp fwlink replace

* replace fwlink in concepts/async/index.md

* text xref with uwp links

* uwp/api links -> xref links
* Revised for API Browser, .NET implementations

* Incorporated review comments

* Corrected System.Object for F#
* fix broken links and review topic

* feedback

* feedback
* replace wrong example

* removed examples
* fix broken links

* Revised  link

Revised Working with Visual Studio For Docker Tools link
* Replaced fwlinks in csharp\programming-guide folder

* Implemented review feedback
One of the comments provided was a desire to link this document to the actual specification, so I add that.
The section title was missing
The title looked awful in the live site and I think this new one is simpler
To be more concise and understandable.
pkulikov and others added 7 commits March 26, 2018 16:44
* checkin source from wiwki

This commit addes the following:
1. Import syntax visualizer doc from roslyn-wiki: https://github.com/dotnet/roslyn/wiki/Syntax%20Visualizer
2. Add images.
3. provide include for installation instructions.
4. update index and TOC.

* review and update

The existing text was written when the SDK was in preview mode. All screenshots have been updated. The text was updated for product names, formatted, and reviewed.

* proofread and update

* respond to feedback.

* respond to feedback

* fix install notes

* respond to feedback.
* Added include, slightly simplified installation guide

* Addressed review comments

* Added information on VIsual Studio Installer

* Addressed review comments
@BillWagner BillWagner requested a review from mairaw March 29, 2018 21:27
Copy link
Contributor
@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Links are broken because we also removed a folder. See my comment. Thanks!

@@ -116,7 +116,7 @@ Time values are measured in 100-nanosecond units called ticks. A particular date
> [!NOTE]
> If you are working with a ticks value that you want to convert to some other time interval, such as minutes or seconds, you should use the <xref:System.TimeSpan.TicksPerDay?displayProperty=nameWithType>, <xref:System.TimeSpan.TicksPerHour?displayProperty=nameWithType>, <xref:System.TimeSpan.TicksPerMinute?displayProperty=nameWithType>, <xref:System.TimeSpan.TicksPerSecond?displayProperty=nameWithType>, or <xref:System.TimeSpan.TicksPerMillisecond?displayProperty=nameWithType> constant to perform the conversion. For example, to add the number of seconds represented by a specified number of ticks to the <xref:System.DateTime.Second%2A> component of a <xref:System.DateTime> value, you can use the expression `dateValue.Second + nTicks/Timespan.TicksPerSecond`.

You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/docs/tree/master/samples/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/docs/tree/master/samples/snippets/csharp/System.DateTime/) from the docs repository on GitHub.
You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/samples/tree/master/samples/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/samples/tree/master/samples/snippets/csharp/System.DateTime/) from the docs repository on GitHub.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also need to remove the inner samples from the URLs. e.g.
https://github.com/dotnet/samples/tree/master/snippets/visualbasic/System.DateTime/

Copy link
Contributor
@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Links working now. Thx!

@mairaw
Copy link
Contributor
mairaw commented Mar 30, 2018

@BillWagner ugh. now we can see what's going to happen when we rewrite history on dotnet/docs with open PRs. Need to think what to do there.

@BillWagner
Copy link
Member Author

@mairaw I have a thought on a process to resolve these after rewriting history. I'll play around with some experiments this morning.

Partial fix for dotnet/docs#4821

The samples repo moved all the samples out of a "samples" repo.
@BillWagner BillWagner force-pushed the fix-code-sample-links branch from ccfe1aa to 957643f Compare March 30, 2018 13:12
@BillWagner BillWagner mentioned this pull request Mar 30, 2018
@BillWagner
Copy link
Member Author

The changes for this PR have been moved to PR #2.

To make this PR, I first squashed the 2 commits in PR #1. (Not necessary, but saved a bit of time)

Then, I made a new branch, and cherry-picked the commit from PR 1. The proved much easier than merging or re-basing after rewriting history on the master branch.

@BillWagner BillWagner closed this Mar 30, 2018
@mairaw mairaw deleted the fix-code-sample-links branch March 31, 2018 00:50
sdmaclea pushed a commit to sdmaclea/dotnet-api-docs that referenced this pull request Jun 6, 2019
* Define basic process

* Update per feedback
Passionschadmichaelsheda added a commit to Passionschadmichaelsheda/dotnet-api-docs that referenced this pull request Aug 9, 2021
 singer in the Rockin Roll.Hall of Fame Chad Michael Sheds
ryalanms added a commit to ryalanms/dotnet-api-docs that referenced this pull request Sep 13, 2021
ryalanms added a commit to ryalanms/dotnet-api-docs that referenced this pull request Sep 13, 2021
@masoudahg00 masoudahg00 mentioned this pull request Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0