-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Docs: Relabel and move explanation and how-tos around OAuth (Diátaxis) #9834
Merged
benjaoming
merged 20 commits into
readthedocs:diataxis/main
from
benjaoming:diataxis/relabel-connected-accounts
Jan 13, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e477553
WIP: Refactor explanation/howto revolving around OAuth
benjaoming 8df0f34
Merge branch 'diataxis/main' of github.com:readthedocs/readthedocs.or…
benjaoming 3194bac
Make it more clear to some users that they don't need to do anything …
benjaoming b09010d
Tested GitLab and Bitbucket, we need to add one permission to the list
benjaoming e8be1db
Adds a seealso:: back from howto to explanation
benjaoming 4feccfd
Apply suggestions from code review @ericholscher
benjaoming ab8aaaa
read the dots - list entries end with a period
benjaoming 2c1c278
Adds more explanation about how OAuth works and organizes permissions…
benjaoming 76825b5
Merge branch 'diataxis/relabel-connected-accounts' of github.com:benj…
benjaoming 8efb8d1
Add link to OAuth, remove redundant seealso
benjaoming 995edbc
Update how-to guide and use place-holders for screenshots
benjaoming 1020f08
Clarify ambiguous sign-up text
benjaoming f07de58
Add subsection about disconnecting a service
benjaoming ad99ed2
Add screenshots to howto
benjaoming fcee665
pre-commit is lit :fire:
benjaoming 6e17ca2
Move to Explanation TOC section
benjaoming 1b1adb4
Merge branch 'diataxis/main' of github.com:readthedocs/readthedocs.or…
benjaoming 561fc91
Apply suggestions from code review @ericholscher
benjaoming 4d1f205
Merge branch 'diataxis/relabel-connected-accounts' of github.com:benj…
benjaoming fd274d3
Apply the new substitution for Git providers
benjaoming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
How to connect your Read the Docs account to your Git provider | ||
============================================================== | ||
|
||
In this how to article, | ||
you are shown the steps to connect an account on |git_providers_or| with your Read the Docs account. | ||
This is relevant if you have signed up for Read the Docs with your email | ||
or if you have signed up using a Git provider account and want to connect additional providers. | ||
|
||
If you are going to import repositories from |git_providers_or|, | ||
you should connect your Read the Docs account to your Git provider first. | ||
|
||
.. note:: | ||
|
||
If you signed up or logged in to Read the Docs with your |git_providers_or| credentials, | ||
you're all done. Your account is connected ✅️. | ||
You only need this how-to if you want to connect additional Git providers. | ||
|
||
|
||
Adding a connection | ||
------------------- | ||
|
||
To connect your Read the Docs account with a Git provider, | ||
go to the main login menu: :guilabel:`<Username dropdown>` > :guilabel:`Settings` > :guilabel:`Connected Services`. | ||
|
||
From here, you'll be able to connect to your |git_providers_or| | ||
account. This process will ask you to authorize an integration with Read the Docs. | ||
|
||
.. figure:: /img/oauth_github_dialog.png | ||
:width: 300px | ||
:align: center | ||
:alt: Screenshot of example OAuth dialog on GitHub | ||
|
||
An example of how your OAuth dialog on GitHub may look. | ||
|
||
After approving the request, | ||
you will be taken back to Read the Docs. | ||
You will now see the account appear in the list of connected services. | ||
|
||
.. figure:: /img/screenshot_connected_services.png | ||
:width: 600px | ||
:align: center | ||
:alt: Screenshot of Read the Docs "Connected Services" page with multiple services connected | ||
|
||
Connected Services [#f1]_ [#f2]_ shows the list of Git providers that | ||
|
||
Now your connection is ready and you will be able to import and configure Git repositories with just a few clicks. | ||
|
||
.. seealso:: | ||
|
||
:doc:`/connected-accounts` | ||
Learn about what a connected account with your Git provider is used for | ||
and the permissions required for connecting accounts. | ||
|
||
Removing a connection | ||
--------------------- | ||
|
||
You may at any time delete the connection from Read the Docs. | ||
Delete the connection makes Read the Docs forget the immediate access, | ||
but you should also disable our OAuth Application from your Git provider. | ||
|
||
* On GitHub, navigate to `Authorized OAuth Apps`_. | ||
* On Bitbucket, navigate to `Application Authorizations`_. | ||
* On GitLab, navigat to `Applications`_ | ||
|
||
.. _Authorized OAuth Apps: https://github.com/settings/applications | ||
.. _Application Authorizations: https://bitbucket.org/account/settings/app-authorizations/ | ||
.. _Applications: https://gitlab.com/-/profile/applications | ||
|
||
.. [#f1] `Connected Services on readthedocs.org <https://readthedocs.org/accounts/social/connections/>`_ | ||
.. [#f2] `Connected Services on readthedocs.com <https://readthedocs.com/accounts/social/connections/>`_ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love Donald Docs as a test user 😆