Skip to content

Commit 1b7912e

Browse files
committed
Merge branch 'master' into HEAD
2 parents c0dda3b + d196fc7 commit 1b7912e

File tree

93 files changed

+1571
-450
lines changed

Some content is hidden

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

93 files changed

+1571
-450
lines changed

.github/config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ProBot TODO bot
2+
# https://probot.github.io/apps/todo/
3+
4+
todo:
5+
autoAssign: false
6+
blobLines: 7
7+
caseSensitive: true
8+
keyword: "TODO"
9+

.github/no-response.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ProBot No Response Bot
2+
# https://probot.github.io/apps/no-response/
3+
4+
# Number of days of inactivity before an Issue is closed for lack of response
5+
daysUntilClose: 14
6+
7+
# Label requiring a response
8+
responseRequiredLabel: 'Needed: more information'
9+
10+
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
11+
closeComment: >
12+
This issue has been automatically closed because
13+
[there has been no response to our request for more information](https://docs.readthedocs.io/en/latest/contribute.html#initial-triage)
14+
from the original author. With only the information that is currently in the issue,
15+
we don't have enough information to take action.
16+
Please reach out if you have or find the answers we need so that we can investigate further.
17+
Thanks!

.github/stale.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# ProBot Stale Bot
2+
# https://probot.github.io/apps/stale/
3+
4+
# Number of days of inactivity before an issue becomes stale
5+
daysUntilStale: 45
6+
7+
# Number of days of inactivity before a stale issue is closed
8+
daysUntilClose: 7
9+
10+
# Issues with these labels will never be considered stale
11+
exemptLabels:
12+
- 'Accepted'
13+
- 'Needed: design decision'
14+
- 'Status: blocked'
15+
16+
# Label to use when marking an issue as stale
17+
staleLabel: 'Status: stale'
18+
19+
# Comment to post when marking an issue as stale. Set to `false` to disable
20+
markComment: >
21+
This issue has been automatically marked as stale because it has not had
22+
recent activity. It will be closed if no further activity occurs. Thank you
23+
for your contributions.
24+
25+
# Comment to post when closing a stale issue. Set to `false` to disable
26+
closeComment: false

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
.DS_Store
88
.cache
99
.coverage
10+
.coverage.*
1011
.idea
1112
.vagrant
1213
.vscode
@@ -22,7 +23,7 @@ celerybeat-schedule.*
2223
deploy/.vagrant
2324
dist/*
2425
local_settings.py
25-
locks/*
26+
locks/**
2627
logs/*
2728
media/dash
2829
media/epub

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ formats: all
33
sphinx:
44
configuration: docs/conf.py
55
python:
6-
requirements: requirements.txt
6+
requirements: requirements/local-docs-build.txt

CHANGELOG.rst

+53
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
Version 2.8.5
2+
-------------
3+
4+
:Date: January 15, 2019
5+
6+
* `@stsewd <http://github.com/stsewd>`__: Use the python path from virtualenv in Conda (`#5110 <https://github.com/rtfd/readthedocs.org/pull/5110>`__)
7+
* `@humitos <http://github.com/humitos>`__: Feature flag to use `readthedocs/build:testing` image (`#5109 <https://github.com/rtfd/readthedocs.org/pull/5109>`__)
8+
* `@stsewd <http://github.com/stsewd>`__: Use python from virtualenv's bin directory when executing commands (`#5107 <https://github.com/rtfd/readthedocs.org/pull/5107>`__)
9+
* `@humitos <http://github.com/humitos>`__: Do not build projects from banned users (`#5096 <https://github.com/rtfd/readthedocs.org/pull/5096>`__)
10+
* `@agjohnson <http://github.com/agjohnson>`__: Fix common pieces (`#5095 <https://github.com/rtfd/readthedocs.org/pull/5095>`__)
11+
* `@rainwoodman <http://github.com/rainwoodman>`__: Suppress progress bar of the conda command. (`#5094 <https://github.com/rtfd/readthedocs.org/pull/5094>`__)
12+
* `@humitos <http://github.com/humitos>`__: Remove unused suggestion block from 404 pages (`#5087 <https://github.com/rtfd/readthedocs.org/pull/5087>`__)
13+
* `@humitos <http://github.com/humitos>`__: Remove header nav (Login/Logout button) on 404 pages (`#5085 <https://github.com/rtfd/readthedocs.org/pull/5085>`__)
14+
* `@stsewd <http://github.com/stsewd>`__: Fix little typo (`#5084 <https://github.com/rtfd/readthedocs.org/pull/5084>`__)
15+
* `@agjohnson <http://github.com/agjohnson>`__: Split up deprecated view notification to GitHub and other webhook endpoints (`#5083 <https://github.com/rtfd/readthedocs.org/pull/5083>`__)
16+
* `@humitos <http://github.com/humitos>`__: Install ProBot (`#5082 <https://github.com/rtfd/readthedocs.org/pull/5082>`__)
17+
* `@stsewd <http://github.com/stsewd>`__: Update docs about contributing to docs (`#5077 <https://github.com/rtfd/readthedocs.org/pull/5077>`__)
18+
* `@humitos <http://github.com/humitos>`__: Declare and improve invoke tasks (`#5075 <https://github.com/rtfd/readthedocs.org/pull/5075>`__)
19+
* `@davidfischer <http://github.com/davidfischer>`__: Fire a signal for domain verification (eg. for SSL) (`#5071 <https://github.com/rtfd/readthedocs.org/pull/5071>`__)
20+
* `@agjohnson <http://github.com/agjohnson>`__: Update copy on notifications for github services deprecation (`#5067 <https://github.com/rtfd/readthedocs.org/pull/5067>`__)
21+
* `@humitos <http://github.com/humitos>`__: Upgrade all packages with pur (`#5059 <https://github.com/rtfd/readthedocs.org/pull/5059>`__)
22+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Reduce logging to sentry (`#5054 <https://github.com/rtfd/readthedocs.org/pull/5054>`__)
23+
* `@discdiver <http://github.com/discdiver>`__: fixed missing apostrophe for possessive "project's" (`#5052 <https://github.com/rtfd/readthedocs.org/pull/5052>`__)
24+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Template improvements in "gold/subscription_form.html" (`#5049 <https://github.com/rtfd/readthedocs.org/pull/5049>`__)
25+
* `@merwok <http://github.com/merwok>`__: Fix link in features page (`#5048 <https://github.com/rtfd/readthedocs.org/pull/5048>`__)
26+
* `@stsewd <http://github.com/stsewd>`__: Update webhook docs (`#5040 <https://github.com/rtfd/readthedocs.org/pull/5040>`__)
27+
* `@stsewd <http://github.com/stsewd>`__: Remove sphinx static and template dir (`#5039 <https://github.com/rtfd/readthedocs.org/pull/5039>`__)
28+
* `@stephenfin <http://github.com/stephenfin>`__: Add temporary method for disabling shallow cloning (#5031) (`#5036 <https://github.com/rtfd/readthedocs.org/pull/5036>`__)
29+
* `@stsewd <http://github.com/stsewd>`__: Raise exception in failed checkout (`#5035 <https://github.com/rtfd/readthedocs.org/pull/5035>`__)
30+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Change default_branch value from Version.slug to Version.identifier (`#5034 <https://github.com/rtfd/readthedocs.org/pull/5034>`__)
31+
* `@humitos <http://github.com/humitos>`__: Make wipe view not CSRF exempt (`#5025 <https://github.com/rtfd/readthedocs.org/pull/5025>`__)
32+
* `@humitos <http://github.com/humitos>`__: Convert an IRI path to URI before setting as NGINX header (`#5024 <https://github.com/rtfd/readthedocs.org/pull/5024>`__)
33+
* `@safwanrahman <http://github.com/safwanrahman>`__: index project asynchronously (`#5023 <https://github.com/rtfd/readthedocs.org/pull/5023>`__)
34+
* `@stsewd <http://github.com/stsewd>`__: Keep command output when it's killed (`#5015 <https://github.com/rtfd/readthedocs.org/pull/5015>`__)
35+
* `@stsewd <http://github.com/stsewd>`__: More hints for invalid submodules (`#5012 <https://github.com/rtfd/readthedocs.org/pull/5012>`__)
36+
* `@ericholscher <http://github.com/ericholscher>`__: Release 2.8.4 (`#5011 <https://github.com/rtfd/readthedocs.org/pull/5011>`__)
37+
* `@stsewd <http://github.com/stsewd>`__: Remove `auto` doctype (`#5010 <https://github.com/rtfd/readthedocs.org/pull/5010>`__)
38+
* `@davidfischer <http://github.com/davidfischer>`__: Tweak sidebar ad priority (`#5005 <https://github.com/rtfd/readthedocs.org/pull/5005>`__)
39+
* `@stsewd <http://github.com/stsewd>`__: Replace git status and git submodules status for gitpython (`#5002 <https://github.com/rtfd/readthedocs.org/pull/5002>`__)
40+
* `@davidfischer <http://github.com/davidfischer>`__: Backport jquery 2432 to Read the Docs (`#5001 <https://github.com/rtfd/readthedocs.org/pull/5001>`__)
41+
* `@stsewd <http://github.com/stsewd>`__: Refactor remove_dir (`#4994 <https://github.com/rtfd/readthedocs.org/pull/4994>`__)
42+
* `@humitos <http://github.com/humitos>`__: Skip builds when project is not active (`#4991 <https://github.com/rtfd/readthedocs.org/pull/4991>`__)
43+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Make $ unselectable in docs (`#4990 <https://github.com/rtfd/readthedocs.org/pull/4990>`__)
44+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Remove deprecated "models.permalink" (`#4975 <https://github.com/rtfd/readthedocs.org/pull/4975>`__)
45+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Add validation for tags of length greater than 100 characters (`#4967 <https://github.com/rtfd/readthedocs.org/pull/4967>`__)
46+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Add test case for send_notifications on VersionLockedError (`#4958 <https://github.com/rtfd/readthedocs.org/pull/4958>`__)
47+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Remove trailing slashes on svn checkout (`#4951 <https://github.com/rtfd/readthedocs.org/pull/4951>`__)
48+
* `@stsewd <http://github.com/stsewd>`__: Safe symlink on version deletion (`#4937 <https://github.com/rtfd/readthedocs.org/pull/4937>`__)
49+
* `@humitos <http://github.com/humitos>`__: CRUD for EnvironmentVariables from Project's admin (`#4899 <https://github.com/rtfd/readthedocs.org/pull/4899>`__)
50+
* `@humitos <http://github.com/humitos>`__: Notify users about the usage of deprecated webhooks (`#4898 <https://github.com/rtfd/readthedocs.org/pull/4898>`__)
51+
* `@dojutsu-user <http://github.com/dojutsu-user>`__: Disable django guardian warning (`#4892 <https://github.com/rtfd/readthedocs.org/pull/4892>`__)
52+
* `@humitos <http://github.com/humitos>`__: Handle 401, 403 and 404 status codes when hitting GitHub for webhook (`#4805 <https://github.com/rtfd/readthedocs.org/pull/4805>`__)
53+
154
Version 2.8.4
255
-------------
356

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ when you push to GitHub.
7878
License
7979
-------
8080

81-
`MIT`_ © 2010-2017 Read the Docs, Inc & contributors
81+
`MIT`_ © 2010-2019 Read the Docs, Inc & contributors
8282

8383
.. _MIT: LICENSE

common

docs/.rstcheck.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[rstcheck]
2-
ignore_directives=automodule,http:get,tabs,tab
2+
ignore_directives=automodule,http:get,tabs,tab,prompt
33
ignore_roles=djangosetting,setting
44
ignore_messages=(Duplicate implicit target name: ".*")|(Hyperlink target ".*" is not referenced)
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* CSS for sphinx-prompt */
2+
3+
pre.highlight {
4+
border: 1px solid #e1e4e5;
5+
overflow-x: auto;
6+
margin: 1px 0 24px 0;
7+
padding: 12px 12px;
8+
}
9+
10+
pre.highlight span.prompt1 {
11+
font-size: 12px;
12+
line-height: 1.4;
13+
}

docs/api/v2.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Project list
5353

5454
**Example request**:
5555

56-
.. sourcecode:: bash
56+
.. prompt:: bash $
5757

58-
$ curl https://readthedocs.org/api/v2/project/?slug=pip
58+
curl https://readthedocs.org/api/v2/project/?slug=pip
5959

6060
**Example response**:
6161

@@ -232,9 +232,9 @@ Build list
232232

233233
**Example request**:
234234

235-
.. sourcecode:: bash
235+
.. prompt:: bash $
236236

237-
$ curl https://readthedocs.org/api/v2/build/?project__slug=pip
237+
curl https://readthedocs.org/api/v2/build/?project__slug=pip
238238

239239
**Example response**:
240240

docs/builds.rst

+5
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,8 @@ The *Sphinx* and *Mkdocs* builders set the following RTD-specific environment va
225225
+-------------------------+--------------------------------------------------+----------------------+
226226
| ``READTHEDOCS_PROJECT`` | The RTD name of the project which is being built | ``myexampleproject`` |
227227
+-------------------------+--------------------------------------------------+----------------------+
228+
229+
.. tip::
230+
231+
In case extra environment variables are needed to the build process (like secrets, tokens, etc),
232+
you can add them going to **Admin > Environment Variables** in your project. See :doc:`guides/environment-variables`.

docs/commercial/sharing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sharing
44
.. note:: This feature only exists on our Business offering at `readthedocs.com <https://readthedocs.com/>`_.
55

66
You can share your project with users outside of your company.
7-
There are two way to do this:
7+
There are two ways to do this:
88

99
* by sending them a *secret link*,
1010
* by giving them a *password*.

docs/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'djangodocs',
2929
'doc_extensions',
3030
'sphinx_tabs.tabs',
31+
'sphinx-prompt',
3132
]
3233
templates_path = ['_templates']
3334

@@ -82,3 +83,7 @@
8283

8384
# Activate autosectionlabel plugin
8485
autosectionlabel_prefix_document = True
86+
87+
88+
def setup(app):
89+
app.add_stylesheet('css/sphinx_prompt_css.css')

docs/contribute.rst

+14-8
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,26 @@ install `pre-commit`_ and it will automatically run different linting tools
4949
and `yapf`_) to check your changes before you commit them. `pre-commit` will let
5050
you know if there were any problems that is wasn't able to fix automatically.
5151

52-
To run the `pre-commit` command and check your changes::
52+
To run the `pre-commit` command and check your changes:
5353

54-
$ pip install -U pre-commit
55-
$ git add <your-modified-files>
56-
$ pre-commit run
54+
.. prompt:: bash $
5755

58-
or to run against a specific file::
56+
pip install -U pre-commit
57+
git add <your-modified-files>
58+
pre-commit run
5959

60-
$ pre-commit run --files <file.py>
60+
or to run against a specific file:
61+
62+
.. prompt:: bash $
63+
64+
pre-commit run --files <file.py>
6165

6266
`pre-commit` can also be run as a git pre-commit hook. You can set this up
63-
with::
67+
with:
68+
69+
.. prompt:: bash $
6470

65-
$ pre-commit install
71+
pre-commit install
6672

6773
After this installation, the next time you run `git commit` the `pre-commit run`
6874
command will be run immediately and will inform you of the changes and errors.

docs/custom_installs/elasticsearch.rst

+47-25
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ Installing Java
1212
Elasticsearch requires Java 8 or later. Use `Oracle official documentation <http://www.oracle.com/technetwork/java/javase/downloads/index.html>`_.
1313
or opensource distribution like `OpenJDK <http://openjdk.java.net/install/>`_.
1414

15-
After installing java, verify the installation by,::
15+
After installing java, verify the installation by,:
1616

17-
$ java -version
17+
.. prompt:: bash $
18+
19+
java -version
1820

1921
The result should be something like this::
2022

@@ -31,52 +33,68 @@ Elasticsearch can be downloaded directly from elastic.co. For Ubuntu, it's best
3133
RTD currently uses elasticsearch 1.x which can be easily downloaded and installed from `elastic.co
3234
<https://www.elastic.co/downloads/past-releases/elasticsearch-1-3-8/>`_.
3335

34-
Install the downloaded package by following command::
36+
Install the downloaded package by following command:
37+
38+
.. prompt:: bash $
3539

36-
$ sudo apt install .{path-to-downloaded-file}/elasticsearch-1.3.8.deb
40+
sudo apt install .{path-to-downloaded-file}/elasticsearch-1.3.8.deb
3741

3842
Custom setup
3943
------------
4044

41-
You need the icu plugin::
45+
You need the icu plugin:
46+
47+
.. prompt:: bash $
4248

43-
$ elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.3.0
49+
elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.3.0
4450

4551
Running Elasticsearch from command line
4652
---------------------------------------
4753

48-
Elasticsearch is not started automatically after installation. How to start and stop Elasticsearch depends on whether your system uses SysV init or systemd (used by newer distributions). You can tell which is being used by running this command::
54+
Elasticsearch is not started automatically after installation. How to start and stop Elasticsearch depends on whether your system uses SysV init or systemd (used by newer distributions). You can tell which is being used by running this command:
4955

50-
$ ps -p 1
56+
.. prompt:: bash $
57+
58+
ps -p 1
5159

5260
**Running Elasticsearch with SysV init**
5361

54-
Use the ``update-rc.d command`` to configure Elasticsearch to start automatically when the system boots up::
62+
Use the ``update-rc.d command`` to configure Elasticsearch to start automatically when the system boots up:
63+
64+
.. prompt:: bash $
65+
66+
sudo update-rc.d elasticsearch defaults 95 10
5567

56-
$ sudo update-rc.d elasticsearch defaults 95 10
68+
Elasticsearch can be started and stopped using the service command:
5769

58-
Elasticsearch can be started and stopped using the service command::
70+
.. prompt:: bash $
5971

60-
$ sudo -i service elasticsearch start
61-
$ sudo -i service elasticsearch stop
72+
sudo -i service elasticsearch start
73+
sudo -i service elasticsearch stop
6274

6375
If Elasticsearch fails to start for any reason, it will print the reason for failure to STDOUT. Log files can be found in /var/log/elasticsearch/.
6476

6577
**Running Elasticsearch with systemd**
6678

67-
To configure Elasticsearch to start automatically when the system boots up, run the following commands::
79+
To configure Elasticsearch to start automatically when the system boots up, run the following commands:
6880

69-
$ sudo /bin/systemctl daemon-reload
70-
$ sudo /bin/systemctl enable elasticsearch.service
81+
.. prompt:: bash $
7182

72-
Elasticsearch can be started and stopped as follows::
83+
sudo /bin/systemctl daemon-reload
84+
sudo /bin/systemctl enable elasticsearch.service
7385

74-
$ sudo systemctl start elasticsearch.service
75-
$ sudo systemctl stop elasticsearch.service
86+
Elasticsearch can be started and stopped as follows:
7687

77-
To verify run::
88+
.. prompt:: bash $
7889

79-
$ curl http://localhost:9200
90+
sudo systemctl start elasticsearch.service
91+
sudo systemctl stop elasticsearch.service
92+
93+
To verify run:
94+
95+
.. prompt:: bash $
96+
97+
curl http://localhost:9200
8098

8199

82100
You should get something like::
@@ -97,12 +115,16 @@ You should get something like::
97115
Index the data available at RTD database
98116
----------------------------------------
99117

100-
You need to create the indexes::
118+
You need to create the indexes:
119+
120+
.. prompt:: bash $
121+
122+
python manage.py provision_elasticsearch
101123

102-
$ python manage.py provision_elasticsearch
124+
In order to search through the RTD database, you need to index it into the elasticsearch index:
103125

104-
In order to search through the RTD database, you need to index it into the elasticsearch index::
126+
.. prompt:: bash $
105127

106-
$ python manage.py reindex_elasticsearch
128+
python manage.py reindex_elasticsearch
107129

108130
You are ready to go!

0 commit comments

Comments
 (0)