Skip to content

Commit 7c9c70b

Browse files
committed
Merge tag '5.4.0' into rel
2 parents c2c7b0d + 9243958 commit 7c9c70b

25 files changed

+547
-58
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ addons:
1010
jobs:
1111
include:
1212
- python: 3.6
13-
env: TOXENV=py36,codecov TOX_POSARGS='' ES_VERSION=6.2.4 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
13+
env: TOXENV=py36,codecov TOX_POSARGS='' ES_VERSION=6.5.4 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
1414
- python: 3.6
1515
env: TOXENV=docs
1616
- python: 3.6

CHANGELOG.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
Version 5.4.0
2+
-------------
3+
4+
:Date: August 25, 2020
5+
6+
* `@stsewd <https://github.com/stsewd>`__: ES: match version used in production (`#7407 <https://github.com/readthedocs/readthedocs.org/pull/7407>`__)
7+
* `@davidfischer <https://github.com/davidfischer>`__: Advertising docs tweaks (`#7400 <https://github.com/readthedocs/readthedocs.org/pull/7400>`__)
8+
* `@stsewd <https://github.com/stsewd>`__: Docs: update readthedocs-sphinx-search (`#7399 <https://github.com/readthedocs/readthedocs.org/pull/7399>`__)
9+
* `@keewis <https://github.com/keewis>`__: document installing into a environment with pinned dependencies (`#7397 <https://github.com/readthedocs/readthedocs.org/pull/7397>`__)
10+
* `@pyup-bot <https://github.com/pyup-bot>`__: pyup: Scheduled weekly dependency update for week 32 (`#7377 <https://github.com/readthedocs/readthedocs.org/pull/7377>`__)
11+
* `@stsewd <https://github.com/stsewd>`__: Builds: store build commands in storage (`#7356 <https://github.com/readthedocs/readthedocs.org/pull/7356>`__)
12+
* `@stsewd <https://github.com/stsewd>`__: Guide: Cross-referencing with Sphinx (`#7326 <https://github.com/readthedocs/readthedocs.org/pull/7326>`__)
13+
114
Version 5.3.0
215
-------------
316

docs/advertising/advertising-details.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ Instead, we target based solely upon:
7171
targeting by state or by metro area (DMA specifically).
7272
* We geolocate a user's IP address to a country when a request is made.
7373

74-
Read the Docs uses GeoLite2 data created by `MaxMind <http://maxmind.com>`_.
75-
7674

7775
Where ads are shown
7876
-------------------
@@ -97,6 +95,14 @@ For more details, see the :ref:`Do Not Track section <privacy-policy:Do Not Trac
9795
of our privacy policy.
9896

9997

98+
Ad serving infrastructure
99+
-------------------------
100+
101+
Our `entire ad server <https://github.com/readthedocs/ethical-ad-server>`_ is open source,
102+
so you can inspect how we're doing things.
103+
We believe strongly in open source, and we practice what we preach.
104+
105+
100106
Analytics
101107
---------
102108

docs/advertising/ethical-advertising.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ They should run before your content,
7474
they should take over the page,
7575
the bigger, weirder, or flashier the better.
7676

77+
.. _fake ad clicks: https://en.wikipedia.org/wiki/Click_fraud
78+
.. _massive downsides: http://idlewords.com/talks/what_happens_next_will_amaze_you.htm
79+
7780
We opt out
7881
~~~~~~~~~~
7982

@@ -91,8 +94,6 @@ The ads won't flash or move.
9194
We run the ads we want to have on our site,
9295
in a way that makes us feel good.
9396

94-
.. _fake ad clicks: https://en.wikipedia.org/wiki/Click_fraud
95-
9697
Additional details
9798
------------------
9899

@@ -105,6 +106,8 @@ Additional details
105106
* Eric Holscher, one of our co-founders
106107
`talks a bit more <https://www.ericholscher.com/blog/2016/aug/31/funding-oss-marketing-money/>`_
107108
about funding open source this way on his blog.
109+
* After proving our ad model as a way to fund open source and building our ad serving infrastructure,
110+
we launched the `EthicalAds network <https://www.ethicalads.io>`_ to help other projects be sustainable.
108111

109112
.. _advertising FAQ: https://readthedocs.org/sustainability/advertising/faq/
110113

@@ -120,8 +123,6 @@ We hope that others will join us in this mission:
120123
vote with your dollars and support us in building the ad model we want to exist.
121124
`Get more information <https://readthedocs.org/sustainability/advertising/>`_ on what we offer.
122125

123-
.. _massive downsides: http://idlewords.com/talks/what_happens_next_will_amaze_you.htm
124-
125126

126127
Community Ads
127128
-------------

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def get_version():
110110
# Activate autosectionlabel plugin
111111
autosectionlabel_prefix_document = True
112112

113+
numfig = True
114+
113115
# sphinx-notfound-page
114116
# https://github.com/readthedocs/sphinx-notfound-page
115117
notfound_context = {

docs/faq.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,23 @@ using a Read the Docs :doc:`config-file/index`.
251251
.. _pip requirements file: https://pip.pypa.io/en/stable/user_guide.html#requirements-files
252252

253253

254+
I need to install a package in a environment with pinned versions
255+
-----------------------------------------------------------------
256+
257+
To ensure proper installation of a python package, the ``pip`` :ref:`install method <config-file/v2:python.install>` will automatically upgrade every dependency to its most recent version in case they aren't pinned by the package definition.
258+
If instead you'd like to pin your dependencies outside the package, you can add this line to your requirements or environment file (if you are using Conda).
259+
260+
In your ``requirements.txt`` file::
261+
262+
# path to the directory containing setup.py relative to the project root
263+
-e .
264+
265+
In your Conda environment file (``environment.yml``)::
266+
267+
# path to the directory containing setup.py relative to the environment file
268+
-e ..
269+
270+
254271
How can I avoid search results having a deprecated version of my docs?
255272
----------------------------------------------------------------------
256273

0 commit comments

Comments
 (0)