mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Update *.readthedocs.org => *.readthedocs.io.
ReadTheDocs has moved their hosting of user project websites to the new readthedocs.io domain.
This commit is contained in:
		@@ -476,8 +476,8 @@ restart if it crashes, and `upgrade-zulip` will take care of running
 | 
				
			|||||||
migrations and then cleanly restaring the server for you).
 | 
					migrations and then cleanly restaring the server for you).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[django-runserver]: https://docs.djangoproject.com/en/1.8/ref/django-admin/#runserver-port-or-address-port
 | 
					[django-runserver]: https://docs.djangoproject.com/en/1.8/ref/django-admin/#runserver-port-or-address-port
 | 
				
			||||||
[new-feature-tutorial]: http://zulip.readthedocs.org/en/latest/new-feature-tutorial.html
 | 
					[new-feature-tutorial]: http://zulip.readthedocs.io/en/latest/new-feature-tutorial.html
 | 
				
			||||||
[testing-docs]: http://zulip.readthedocs.org/en/latest/testing.html
 | 
					[testing-docs]: http://zulip.readthedocs.io/en/latest/testing.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Running the test suite
 | 
					Running the test suite
 | 
				
			||||||
======================
 | 
					======================
 | 
				
			||||||
@@ -485,7 +485,7 @@ Running the test suite
 | 
				
			|||||||
For more details, especially on how to write tests, check out the
 | 
					For more details, especially on how to write tests, check out the
 | 
				
			||||||
[detailed testing docs][tdocs].
 | 
					[detailed testing docs][tdocs].
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[tdocs]: http://zulip.readthedocs.org/en/latest/testing.html
 | 
					[tdocs]: http://zulip.readthedocs.io/en/latest/testing.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To run all the tests, do this:
 | 
					To run all the tests, do this:
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,10 +70,10 @@ repositories.
 | 
				
			|||||||
contributing!
 | 
					contributing!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[cla]: https://opensource.dropbox.com/cla/
 | 
					[cla]: https://opensource.dropbox.com/cla/
 | 
				
			||||||
[doc]: https://zulip.readthedocs.org/
 | 
					[doc]: https://zulip.readthedocs.io/
 | 
				
			||||||
[doc-commit-style]: http://zulip.readthedocs.org/en/latest/code-style.html#commit-messages
 | 
					[doc-commit-style]: http://zulip.readthedocs.io/en/latest/code-style.html#commit-messages
 | 
				
			||||||
[doc-dirstruct]: http://zulip.readthedocs.org/en/latest/directory-structure.html
 | 
					[doc-dirstruct]: http://zulip.readthedocs.io/en/latest/directory-structure.html
 | 
				
			||||||
[doc-newfeat]: http://zulip.readthedocs.org/en/latest/new-feature-tutorial.html
 | 
					[doc-newfeat]: http://zulip.readthedocs.io/en/latest/new-feature-tutorial.html
 | 
				
			||||||
[doc-test]: https://github.com/zulip/zulip/blob/master/README.dev.md#running-the-test-suite
 | 
					[doc-test]: https://github.com/zulip/zulip/blob/master/README.dev.md#running-the-test-suite
 | 
				
			||||||
[gg-devel]: https://groups.google.com/forum/#!forum/zulip-devel
 | 
					[gg-devel]: https://groups.google.com/forum/#!forum/zulip-devel
 | 
				
			||||||
[gh-issues]: https://github.com/zulip/zulip/issues
 | 
					[gh-issues]: https://github.com/zulip/zulip/issues
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -59,7 +59,7 @@ These instructions should be followed as root.
 | 
				
			|||||||
  installation process.  You can get a free properly signed
 | 
					  installation process.  You can get a free properly signed
 | 
				
			||||||
  certificate from the new [Letsencrypt](https://letsencrypt.org/)
 | 
					  certificate from the new [Letsencrypt](https://letsencrypt.org/)
 | 
				
			||||||
  service, by following their [nginx
 | 
					  service, by following their [nginx
 | 
				
			||||||
  instructions](https://letsencrypt.readthedocs.org/en/latest/using.html#nginx).
 | 
					  instructions](https://letsencrypt.readthedocs.io/en/latest/using.html#nginx).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  When you do get an actual certificate, you will need to install as
 | 
					  When you do get an actual certificate, you will need to install as
 | 
				
			||||||
  /etc/ssl/certs/zulip.combined-chain.crt the full certificate
 | 
					  /etc/ssl/certs/zulip.combined-chain.crt the full certificate
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@ def get_user_profile_by_email(email):
 | 
				
			|||||||
You can learn more about it at:
 | 
					You can learn more about it at:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* [Python 2 type annotation syntax in PEP 484](https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code)
 | 
					* [Python 2 type annotation syntax in PEP 484](https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code)
 | 
				
			||||||
* [Using mypy with Python 2 code](http://mypy.readthedocs.org/en/latest/python2.html)
 | 
					* [Using mypy with Python 2 code](http://mypy.readthedocs.io/en/latest/python2.html)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The mypy type checker is run automatically as part of Zulip's Travis
 | 
					The mypy type checker is run automatically as part of Zulip's Travis
 | 
				
			||||||
CI testing process.
 | 
					CI testing process.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,7 +31,7 @@
 | 
				
			|||||||
    sure to note its username and API key.</p>
 | 
					    sure to note its username and API key.</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <p>If an integration you want isn't available yet, you
 | 
					    <p>If an integration you want isn't available yet, you
 | 
				
			||||||
    can <a href="http://zulip.readthedocs.org/en/latest/integration-guide.html">contribute
 | 
					    can <a href="http://zulip.readthedocs.io/en/latest/integration-guide.html">contribute
 | 
				
			||||||
    an integration</a>
 | 
					    an integration</a>
 | 
				
			||||||
    or <a href="https://github.com/zulip/zulip/issues/new">open an
 | 
					    or <a href="https://github.com/zulip/zulip/issues/new">open an
 | 
				
			||||||
    issue on GitHub</a> and tag it with the "integrations" label (so
 | 
					    issue on GitHub</a> and tag it with the "integrations" label (so
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,7 +154,7 @@ calling _adapter_disconnect, ignoring" % (e,))
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class TornadoQueueClient(SimpleQueueClient):
 | 
					class TornadoQueueClient(SimpleQueueClient):
 | 
				
			||||||
    # Based on:
 | 
					    # Based on:
 | 
				
			||||||
    # https://pika.readthedocs.org/en/0.9.8/examples/asynchronous_consumer_example.html
 | 
					    # https://pika.readthedocs.io/en/0.9.8/examples/asynchronous_consumer_example.html
 | 
				
			||||||
    def __init__(self):
 | 
					    def __init__(self):
 | 
				
			||||||
        super(TornadoQueueClient, self).__init__()
 | 
					        super(TornadoQueueClient, self).__init__()
 | 
				
			||||||
        self._on_open_cbs = [] # type: List[Callable[[], None]]
 | 
					        self._on_open_cbs = [] # type: List[Callable[[], None]]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user