forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into humitos/allow-extend-domain-create
- Loading branch information
Showing
43 changed files
with
1,516 additions
and
321 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Comment: GPGTools - http://gpgtools.org | ||
|
||
mQINBFqNz1ABEADvgtp3LT1pV5wuTyBPaKrbWBFj10eKyQ15wfgyc2RR6Ix5QnBo | ||
6BcJ4fpgBhSwlngsrm0WU5kI/jH7ySwzbDpYCRiLvGJx+pEYLuBBOSm6r5M1N+FV | ||
xq3ShT4mHXhwPS1mKf9Xe+KlMdYa2e5TlBEr+TxGAmFFrOLjPxw6IDHgP3MVidr2 | ||
iHA2PAATl6H9ZYvNzLkI2sP7h0V1/ADd43YpAK4yk6gdVjype5ez8lmoxDKNabMt | ||
dSfdOup8zy/fbC5KlxqrT9hHBkYfQWDLWXWcDW111q+ZvncujCrpONaY86bcQ3nn | ||
QgkeWCwj254vvqsrygEU93reC2onWaROUKoLlX1/1m2k2X3qze/hJRFZaljXVPKH | ||
jV/5q88EbjSUDgY5v9mdX8jhJAukx9HkOFdkMSh3RBgu1r+UPnCNd9K4T2nN0LBL | ||
c9NTG0HW7Di5ivEVq74SqDIeiVeOrfY/B6pRuUm/kNPcvZ+ZQPeN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ms0a0ul3cHqQh2XiuGc1bfDuGyNe/nE5/uvgpjxg0hvvBH/5xuiaMkf+gZ | ||
nJjF2ZcXm6a17MCuAcw/siox1/PeXn0At/wzOWD9qONg+BI/QUynzcSMg/coBe7V | ||
hUX1LU02n6laBwuQ6Q0KoD6CP43seYv3JaPyVP7+IkhtH/RDm8q3vs0qLpEBrJIb | ||
vBYBXLtyoGHxTkWueou0Ur1j2lLUMqnQkq5NAsckSfHtZEdPDy6T3NHMfVRmnXnW | ||
m/GM3BDE7DFe5BBYb+vJS4/JHNDoSpk+jNezaf3hdx9+fh2DIoL84fs1FRRAl3Od | ||
6LWPAt3twOQLS0KsQh0GSIZ+zdJf3xvlZ4ixAaPB4iAF8bXYzvsODN3LRQIGhet2 | ||
NzjD41f5IrAlG/qFiC6s/YLj1DWanLw2nTzSi4x3v0Gc4DEXPebB3KvaNEmqoKGP | ||
5aXa9IPbvzEVCX82qjeqCPYAsYVOBQnFEAcnkrQ76363oJTeTHxK7kgewS2YCVyy | ||
7wVinR8eyrs+3AWrZ5Op817HgxGvAVDGOEK+1OX9g1wt+IdxX00s85/T+Zk9RF6H | ||
wtRaD9li | ||
=LjIC | ||
-----END PGP PUBLIC KEY BLOCK----- |
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 |
---|---|---|
|
@@ -2,30 +2,42 @@ Sharing | |
------- | ||
|
||
.. note:: | ||
This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`_. | ||
|
||
You can share your project with users outside of your company. | ||
There are two ways to do this: | ||
This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`__. | ||
|
||
You can share your project with users outside of your company: | ||
|
||
* by sending them a *secret link*, | ||
* by giving them a *password*. | ||
|
||
These methods will allow them to view a specific project inside your company. | ||
|
||
Additionally, you can use a HTTP Authorization Header. | ||
This is useful to have access from a script. | ||
|
||
Enabling | ||
~~~~~~~~ | ||
|
||
* Go into your *Project Admin* page and to the *Sharing* menu. | ||
* Under the *Share with someone new* heading, select the way you prefer (secret link or password), add an expiration date and a *Description* so you remember who you're sharing it with. | ||
* Under the *Share with someone new* heading, select the way you prefer (secret link, password, or HTTP header token), | ||
add an expiration date and a *Description* so you remember who you're sharing it with. | ||
* Click *Share!* to create. | ||
* Get the info needed to share your documentation with other users: | ||
|
||
* If you have selected secret link, copy the link that is generated | ||
* In case of password, copy the link and password | ||
* For HTTP header token, you need to pass the ``Authorization`` header in your HTTP request. | ||
|
||
* Give that information to the person who you want to give access. | ||
|
||
.. note:: You can always revoke access in the same panel. | ||
.. note:: | ||
|
||
You can always revoke access in the same panel. | ||
|
||
.. note:: | ||
|
||
Sharing using a password and a HTTP header token are currently in beta. | ||
If you want access to these features, email us to [email protected]. | ||
|
||
Effects | ||
~~~~~~~ | ||
|
@@ -40,6 +52,17 @@ Password | |
******** | ||
|
||
Once the person you send the link to clicks on the link, they will see | ||
a *Authorization required* page asking them for the password you | ||
an *Authorization required* page asking them for the password you | ||
generated. When the user enters the password, they will have access to | ||
view your project. | ||
|
||
HTTP Authorization Header | ||
************************* | ||
|
||
You need to send the ``Authorization`` header with the token on each HTTP request. | ||
The header has the form ``Authorization: Token <ACCESS_TOKEN>``. | ||
For example: | ||
|
||
.. prompt:: bash $ | ||
|
||
curl -H "Authorization: Token 19okmz5k0i6yk17jp70jlnv91v" https://docs.example.com/en/latest/example.html |
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
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,52 @@ | ||
Autobuild Documentation for Pull Requests | ||
========================================= | ||
|
||
Read the Docs allows autobuilding documentation for pull/merge requests for GitHub or GitLab projects. | ||
This feature is currently available under a :doc:`Feature Flag </guides/feature-flags>`. | ||
So, you can enable this feature by sending us an `email <mailto:[email protected]>`__ including your project URL. | ||
|
||
Features | ||
======== | ||
|
||
- **Build on Pull/Merge Request Event:** We create an external version and trigger a build for that version | ||
when we receive pull/merge request open event from the webhook. | ||
We also trigger a new build when a new commit has been pushed to the Pull/Merge Request. | ||
|
||
- **Warning Banner for Pull/Merge Request Documentation:** While building documentation for pull/merge requests | ||
we add a warning banner at the top of those documentations to let the users know that | ||
this documentation was generated from pull/merge requests and is not the main documentation for the project. | ||
|
||
- **Send Build Status Notification:** We send build status reports to the status API of the provider (e.g. GitHub, GitLab). | ||
When a build is triggered for a pull/merge request we send build pending notification with the build URL | ||
and after the build has finished we send success notification if the build succeeded without any error | ||
or failure notification if the build failed. | ||
|
||
.. figure:: ../_static/images/guides/github-build-status-reporting.gif | ||
:align: center | ||
:alt: GitHub Build Status Reporting for Pull Requests. | ||
:figwidth: 80% | ||
:target: ../_static/images/guides/github-build-status-reporting.gif | ||
|
||
GitHub Build Status Reporting for Pull Requests | ||
|
||
Troubleshooting | ||
=============== | ||
|
||
After the feature is enabled on your project if everything does not work as expected, | ||
some common causes might be: | ||
|
||
#. Project repository should be from GitHub or GitLab. This feature is only available for GitHub or GitLab. | ||
|
||
#. Social Account (GitHub, Gitlab) is not connected with Read the Docs account. | ||
If your project repository provider is GitHub or GitLab you need to make sure | ||
that you Read the Docs account is connected with that providers social account. | ||
You can check this by going to your `profile settings`_. | ||
|
||
#. Webhook is not properly setup. You need to make sure your webhook is properly setup | ||
to handle events. You can setup or ``re-sync`` the webhook from you projects admin dashboard. | ||
Learn more about setting up webhooks from our :doc:`Webhook Documentation </webhooks>`. | ||
|
||
If you have tried all the above troubleshooting and still getting issues, | ||
please let us know by sending us an `email <mailto:[email protected]>`__. | ||
|
||
.. _profile settings: https://readthedocs.org/accounts/social/connections/ |
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
Oops, something went wrong.