Skip to content
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

Update/fix README links #4889

Merged
merged 4 commits into from
Aug 7, 2019
Merged

Update/fix README links #4889

merged 4 commits into from
Aug 7, 2019

Conversation

conniey
Copy link
Member

@conniey conniey commented Aug 7, 2019

  • Updates links to source code to relative links. (This limits the breaking links if we decide we want to keep our libraries in some new folder.
  • Removes "en-us" from docs.microsoft.com links. This allows whatever locale the user has to be resolved (ie. mine is en-ca.)
  • Fixes broken Event Hubs README links.
  • Converts tabs to spaces

@conniey conniey self-assigned this Aug 7, 2019
@conniey conniey requested a review from srnagar August 7, 2019 19:39
@conniey conniey added the Client This issue points to a problem in the data-plane of the library. label Aug 7, 2019
.tenantId("<YOUR_TENANT_ID>")
.build();
.clientId("<YOUR_CLIENT_ID>")
.clientSecret("<YOUR_CLIENT_SECRET>")
Copy link
Member

Choose a reason for hiding this comment

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

Is there some rule for indentation we should follow for code in READMEs?
Or just estimate it?

Copy link
Member Author

Choose a reason for hiding this comment

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

This used to be a tab. It was converted to spaces.

Copy link
Member Author

Choose a reason for hiding this comment

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

There was no indentation change. 1 tab = 4 spaces in our .editorconfig settings.

Copy link
Member

Choose a reason for hiding this comment

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

oh GIthub shows it like this, like some extra space added here.
image

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahh, so before, they had one space, a tab character than then some spaces.

Copy link
Member

Choose a reason for hiding this comment

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

so, replacing tab with 4 spaces added extra space then ?

Copy link
Member Author

Choose a reason for hiding this comment

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

No. When you have a tab character, its rendered size depends on how large your tab size is. A tab size in our configuration is 4 spaces. So if you had a space then tab character, the tab character would only take up 3 spaces to fill in that first tab stop. If you had 0 spaces and pressed tab, it would take up the 4 spaces.

Copy link
Member

@g2vinay g2vinay left a comment

Choose a reason for hiding this comment

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

Changes look fine.
Would be good to verify relative links, post merge.

@conniey conniey merged commit 7e3d4a1 into Azure:master Aug 7, 2019
@conniey conniey deleted the fix-links branch August 7, 2019 20:43
@conniey
Copy link
Member Author

conniey commented Aug 7, 2019

@g2vinay Here's a blog post to convince you. In addition, IntellIiJ tries to render these relative links and will show warnings if it cannot be resolved. That's how I found these in the first place.

https://github.blog/2013-01-31-relative-links-in-markup-files/

conniey added a commit to conniey/azure-sdk-for-java that referenced this pull request Aug 7, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
pull bot referenced this pull request in AzureSDKAutomation/azure-sdk-for-java Aug 7, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
pull bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 7, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
pull bot pushed a commit to test-repo-tih/azure-sdk-for-java that referenced this pull request Aug 7, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 15, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 16, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 18, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-bot-test bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 23, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 24, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 24, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 24, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 24, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 25, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
openapi-sdkautomation bot pushed a commit to test-repo-billy/azure-sdk-for-java that referenced this pull request Aug 26, 2019
* Fixing link to storage and event hubs.

* Fix broken links to Event Hubs. Convert tabs to spaces.

* Use relative links to source code. Remove en-us from docs.microsoft.com URLs.

* Remove en-us from identity/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants