Skip to content

Commit 1187fc0

Browse files
committed
Merge branch 'master' into revert-7429-revert-7408-update-es-dep
2 parents 77fe431 + 046c4bd commit 1187fc0

Some content is hidden

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

76 files changed

+1983
-294
lines changed

CHANGELOG.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
Version 5.5.1
2+
-------------
3+
4+
:Date: September 28, 2020
5+
6+
* `@stsewd <https://github.com/stsewd>`__: Domain: fix form (`#7502 <https://github.com/readthedocs/readthedocs.org/pull/7502>`__)
7+
* `@stsewd <https://github.com/stsewd>`__: Builders: little refactor (`#7500 <https://github.com/readthedocs/readthedocs.org/pull/7500>`__)
8+
* `@ericholscher <https://github.com/ericholscher>`__: Add proper div names on our ad placements (`#7493 <https://github.com/readthedocs/readthedocs.org/pull/7493>`__)
9+
* `@saadmk11 <https://github.com/saadmk11>`__: APIv3 Version list slug filter added (`#7372 <https://github.com/readthedocs/readthedocs.org/pull/7372>`__)
10+
* `@humitos <https://github.com/humitos>`__: Use "-j auto" on sphinx-build command to build in parallel (`#7128 <https://github.com/readthedocs/readthedocs.org/pull/7128>`__)
11+
12+
Version 5.5.0
13+
-------------
14+
15+
:Date: September 22, 2020
16+
17+
* `@stsewd <https://github.com/stsewd>`__: Don't install pygments (`#7490 <https://github.com/readthedocs/readthedocs.org/pull/7490>`__)
18+
* `@humitos <https://github.com/humitos>`__: Limit concurrency per-organization (`#7489 <https://github.com/readthedocs/readthedocs.org/pull/7489>`__)
19+
* `@pyup-bot <https://github.com/pyup-bot>`__: pyup: Scheduled weekly dependency update for week 37 (`#7482 <https://github.com/readthedocs/readthedocs.org/pull/7482>`__)
20+
* `@humitos <https://github.com/humitos>`__: Use `permissions` (project and group) for `RemoteRepository.admin` on GitLab (`#7479 <https://github.com/readthedocs/readthedocs.org/pull/7479>`__)
21+
22+
Version 5.4.3
23+
-------------
24+
25+
:Date: September 15, 2020
26+
27+
* `@stsewd <https://github.com/stsewd>`__: Domain: inherit from TimeStampedModel (`#7476 <https://github.com/readthedocs/readthedocs.org/pull/7476>`__)
28+
* `@stsewd <https://github.com/stsewd>`__: Truncate output at the start for large commands (`#7473 <https://github.com/readthedocs/readthedocs.org/pull/7473>`__)
29+
* `@stsewd <https://github.com/stsewd>`__: Add dependency explicitly (dateutil) (`#7415 <https://github.com/readthedocs/readthedocs.org/pull/7415>`__)
30+
* `@stsewd <https://github.com/stsewd>`__: Domains: add ssl_status field (`#7398 <https://github.com/readthedocs/readthedocs.org/pull/7398>`__)
31+
* `@stsewd <https://github.com/stsewd>`__: Search: allow ignoring files from indexing (`#7308 <https://github.com/readthedocs/readthedocs.org/pull/7308>`__)
32+
* `@stsewd <https://github.com/stsewd>`__: Search: SSS integration guide (`#7232 <https://github.com/readthedocs/readthedocs.org/pull/7232>`__)
33+
34+
Version 5.4.2
35+
-------------
36+
37+
:Date: September 09, 2020
38+
39+
* `@humitos <https://github.com/humitos>`__: Show "Connected Services" form errors to the user (`#7469 <https://github.com/readthedocs/readthedocs.org/pull/7469>`__)
40+
* `@humitos <https://github.com/humitos>`__: Allow to extend OrganizationTeamBasicForm from -corporate (`#7467 <https://github.com/readthedocs/readthedocs.org/pull/7467>`__)
41+
* `@pyup-bot <https://github.com/pyup-bot>`__: pyup: Scheduled weekly dependency update for week 36 (`#7465 <https://github.com/readthedocs/readthedocs.org/pull/7465>`__)
42+
* `@AvdN <https://github.com/AvdN>`__: correct invalid YAML (`#7458 <https://github.com/readthedocs/readthedocs.org/pull/7458>`__)
43+
* `@stsewd <https://github.com/stsewd>`__: Remote repository: filter by account before deleting (`#7454 <https://github.com/readthedocs/readthedocs.org/pull/7454>`__)
44+
* `@humitos <https://github.com/humitos>`__: Truncate the beggining of the commands' output (`#7449 <https://github.com/readthedocs/readthedocs.org/pull/7449>`__)
45+
* `@davidfischer <https://github.com/davidfischer>`__: Update links to advertising (`#7443 <https://github.com/readthedocs/readthedocs.org/pull/7443>`__)
46+
* `@stsewd <https://github.com/stsewd>`__: Revert "Don't retry on POST" (`#7442 <https://github.com/readthedocs/readthedocs.org/pull/7442>`__)
47+
* `@stsewd <https://github.com/stsewd>`__: Organizations: move signals (`#7441 <https://github.com/readthedocs/readthedocs.org/pull/7441>`__)
48+
* `@stsewd <https://github.com/stsewd>`__: Organizations: move forms (`#7438 <https://github.com/readthedocs/readthedocs.org/pull/7438>`__)
49+
* `@humitos <https://github.com/humitos>`__: Grab the correct name of RemoteOrganization to use in the query (`#7430 <https://github.com/readthedocs/readthedocs.org/pull/7430>`__)
50+
* `@stsewd <https://github.com/stsewd>`__: Revert "ES: update dependencies" (`#7429 <https://github.com/readthedocs/readthedocs.org/pull/7429>`__)
51+
* `@pyup-bot <https://github.com/pyup-bot>`__: pyup: Scheduled weekly dependency update for week 35 (`#7423 <https://github.com/readthedocs/readthedocs.org/pull/7423>`__)
52+
* `@humitos <https://github.com/humitos>`__: Mark a build as DUPLICATED (same version) only it's close in time (`#7420 <https://github.com/readthedocs/readthedocs.org/pull/7420>`__)
53+
154
Version 5.4.1
255
-------------
356

docs/advertising/ethical-advertising.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ as our way of saying thanks to the open source community.
1919
We talk a bit below about :ref:`our worldview on advertising <advertising/ethical-advertising:Our Worldview>`,
2020
if you want to know more.
2121

22-
.. important::
22+
.. admonition:: Are you a marketer?
23+
24+
We built a `whole business <https://www.ethicalads.io/?ref=rtd-docs>`_
25+
around privacy-focused advertising.
26+
If you're trying to reach developers, we have a network of hand-approved sites (including Read the Docs)
27+
where your ads are shown.
2328

24-
**Are you a marketer?**
25-
`Learn more <https://readthedocs.org/sustainability/advertising/>`_ about how you can connect with the millions of developers who Read the Docs each month.
2629

2730
Feedback
2831
--------
@@ -107,9 +110,10 @@ Additional details
107110
`talks a bit more <https://www.ericholscher.com/blog/2016/aug/31/funding-oss-marketing-money/>`_
108111
about funding open source this way on his blog.
109112
* 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.
113+
we launched the `EthicalAds network <https://www.ethicalads.io?ref=rtd-docs>`_
114+
to help other projects be sustainable.
111115

112-
.. _advertising FAQ: https://readthedocs.org/sustainability/advertising/faq/
116+
.. _advertising FAQ: https://www.ethicalads.io/advertisers/faq/?ref=rtd-docs
113117

114118
Join us
115119
-------
@@ -121,7 +125,7 @@ We hope that others will join us in this mission:
121125
`talk to your marketing folks <https://www.ericholscher.com/blog/2016/aug/31/funding-oss-marketing-money/>`_ about using advertising that respects your privacy.
122126
* **If you're a marketer**,
123127
vote with your dollars and support us in building the ad model we want to exist.
124-
`Get more information <https://readthedocs.org/sustainability/advertising/>`_ on what we offer.
128+
`Get more information <https://www.ethicalads.io/advertisers/?ref=rtd-docs>`_ on what we offer.
125129

126130

127131
Community Ads

docs/api/v3.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,10 @@ Versions listing
412412

413413
:query boolean active: return only active versions
414414
:query boolean built: return only built versions
415+
:query string privacy_level: return versions with specific privacy level (``public`` or ``private``)
416+
:query string slug: return versions with matching slug
417+
:query string type: return versions with specific type (``branch`` or ``tag``)
418+
:query string verbose_name: return versions with matching version name
415419

416420

417421
Version detail

docs/config-file/v2.rst

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ Settings for more control over :doc:`/server-side-search`.
468468
ranking:
469469
api/v1/*: -1
470470
api/v2/*: 4
471+
ignore:
472+
- 404.html
471473
472474
search.ranking
473475
``````````````
@@ -490,20 +492,23 @@ Pages with a rank closer to -10 will appear further down the list of results,
490492
and pages with a rank closer to 10 will appear higher in the list of results.
491493
Note that 0 means *normal rank*, not *no rank*.
492494

495+
If you are looking to completely ignore a page,
496+
check :ref:`config-file/v2:search.ignore`.
497+
493498
.. code-block:: yaml
494499
495500
version: 2
496501
497502
search:
498503
ranking:
499504
# Match a single file
500-
tutorial.hml: 2
505+
tutorial.html: 2
501506
502507
# Match all files under the api/v1 directory
503508
api/v1/*: -5
504509
505510
# Match all files that end with tutorial.html
506-
*/tutorial.html: 3
511+
'*/tutorial.html': 3
507512
508513
.. note::
509514

@@ -514,6 +519,43 @@ Note that 0 means *normal rank*, not *no rank*.
514519
Is better to decrease the rank of pages you want to deprecate,
515520
rather than increasing the rank of the other pages.
516521

522+
search.ignore
523+
`````````````
524+
525+
Don't index files matching a pattern.
526+
This is, you won't see search results from these files.
527+
528+
:Type: ``list`` of patterns
529+
:Default: ``['search.html', 'search/index.html', '404.html', '404/index.html']``
530+
531+
Patterns are matched against the final html pages produced by the build
532+
(you should try to match `index.html`, not `docs/index.rst`).
533+
Patterns can include some special characters:
534+
535+
- ``*`` matches everything
536+
- ``?`` matches any single character
537+
- ``[seq]`` matches any character in ``seq``
538+
539+
.. code-block:: yaml
540+
541+
version: 2
542+
543+
search:
544+
ignore:
545+
# Ignore a single file
546+
- 404.html
547+
548+
# Ignore all files under the search/ directory
549+
- search/*
550+
551+
# Ignore all files that end with ref.html
552+
- '*/ref.html'
553+
554+
.. note::
555+
556+
Since Read the Docs fallbacks to the original search engine when no results are found,
557+
you may still see search results from ignored pages.
558+
517559
Schema
518560
------
519561

docs/development/index.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ for your own :doc:`custom installation </custom_installs/index>`.
88
.. toctree::
99
:maxdepth: 1
1010

11-
standards
12-
search
1311
architecture
14-
tests
12+
buildenvironments
13+
design
14+
design/index
1515
docs
1616
front-end
17-
design/index
18-
buildenvironments
19-
settings
20-
install
2117
i18n
18+
install
2219
issue-labels
23-
design
2420
RTD Theme <https://sphinx-rtd-theme.readthedocs.io/en/latest/>
21+
search
22+
search-integration
23+
settings
24+
standards
25+
tests

0 commit comments

Comments
 (0)