From 1c20c61605d6fe3b7e03a52e6819298937975951 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Sat, 10 Mar 2018 21:22:19 +0000 Subject: [PATCH] docs: Convert all URLs that support https:// Excluded: graphml XML namespaces, links to e.g. Fabric homepage Fixes #128 --- ansible_mitogen/services.py | 2 +- docs/Makefile | 2 +- docs/_templates/layout.html | 4 ++-- docs/ansible.rst | 4 ++-- mitogen/__init__.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ansible_mitogen/services.py b/ansible_mitogen/services.py index 005f2d7a..6e1db4a0 100644 --- a/ansible_mitogen/services.py +++ b/ansible_mitogen/services.py @@ -37,7 +37,7 @@ class ContextService(mitogen.service.Service): configuration, creating a matching connection if it does not exist. For connection methods and their parameters, refer to: - http://mitogen.readthedocs.io/en/latest/api.html#context-factories + https://mitogen.readthedocs.io/en/latest/api.html#context-factories This concentrates all SSH connections in the top-level process, which may become a bottleneck. There are multiple ways to fix that: diff --git a/docs/Makefile b/docs/Makefile index 6b218559..7956a100 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -12,7 +12,7 @@ BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://sphinx-doc.org/) endif # Internal variables. diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index c1d37a7c..c15e1bdf 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -9,14 +9,14 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u=(("https:" == document.location.protocol) ? "https" : "http") + "://37.187.23.96/tr/"; + var u="https://k1.botanicus.net/tr/"; _paq.push(['setTrackerUrl', u+'ep']); _paq.push(['setSiteId', 6]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.defer=true; g.async=true; g.src=u+'js'; s.parentNode.insertBefore(g,s); })(); - + {% endblock %} diff --git a/docs/ansible.rst b/docs/ansible.rst index a4b75e34..35e55bf9 100644 --- a/docs/ansible.rst +++ b/docs/ansible.rst @@ -86,7 +86,7 @@ Installation 1. Verify Ansible 2.4 and Python 2.7 are listed in the output of ``ansible --version`` -2. Download and extract http://github.com/dw/mitogen/archive/master.zip +2. Download and extract https://github.com/dw/mitogen/archive/master.zip 3. Modify ``ansible.cfg``: .. code-block:: dosini @@ -114,7 +114,7 @@ High Risk the first playbook step will simply run unnecessarily slowly. * `Asynchronous Actions And Polling - `_ has received + `_ has received minimal testing. * For now only **built-in Python command modules work**, however almost all diff --git a/mitogen/__init__.py b/mitogen/__init__.py index 6b760e32..61a06346 100644 --- a/mitogen/__init__.py +++ b/mitogen/__init__.py @@ -94,7 +94,7 @@ def main(log_level='INFO'): @mitogen.main() def main(router): z = router.ssh(hostname='k3') - print z.call(get_url, 'http://www.google.com/') + print z.call(get_url, 'https://www.google.com/') """