Compare commits

...

5 Commits

12 changed files with 29 additions and 27 deletions

View File

@ -9,7 +9,7 @@ BUILDDIR = _build
# User-friendly check for sphinx-build # User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) 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://www.sphinx-doc.org/)
endif endif
# Internal variables. # Internal variables.

View File

@ -37,7 +37,7 @@ Our preferred way of contributing is through GitHub pull requests to
`Limnoria's repository`_. Please send your pull requests to the `testing` `Limnoria's repository`_. Please send your pull requests to the `testing`
branch. branch.
.. _Pro Git: http://progit.org/book/ .. _Pro Git: https://git-scm.com/book/
.. _Limnoria's repository: https://github.com/ProgVal/Limnoria/ .. _Limnoria's repository: https://github.com/ProgVal/Limnoria/
Where to start Where to start

View File

@ -169,6 +169,6 @@ Because I can extract everything with one click.
.. _GitHub: https://github.com/ .. _GitHub: https://github.com/
.. _Limnoria repository: https://github.com/ProgVal/Limnoria .. _Limnoria repository: https://github.com/ProgVal/Limnoria
.. _their homepage: http://git-scm.com/ .. _their homepage: https://git-scm.com/
.. _Windows: https://windows.github.com/ .. _Windows: https://windows.github.com/
.. _OS X: https://mac.github.com/ .. _OS X: https://mac.github.com/

View File

@ -122,7 +122,7 @@ homogeneous with Supybot naming style: `doPrivmsg`, `doPing`, and so on).
You will get the handler and the URI as arguments. The handler is a You will get the handler and the URI as arguments. The handler is a
`BaseHTTPRequestHandler`_, and the URI is a string. `BaseHTTPRequestHandler`_, and the URI is a string.
.. _BaseHTTPRequestHandler: http://docs.python.org/library/basehttpserver.html#BaseHTTPServer.BaseHTTPRequestHandler .. _BaseHTTPRequestHandler: https://docs.python.org/library/basehttpserver.html#BaseHTTPServer.BaseHTTPRequestHandler
Here is the code of the callback... pretty much simple, as ever:: Here is the code of the callback... pretty much simple, as ever::

View File

@ -157,5 +157,5 @@ This example comes from the Gribble Wiki:
https://sourceforge.net/p/gribble/wiki/Supybot.schedule/history https://sourceforge.net/p/gribble/wiki/Supybot.schedule/history
Copyright 2010, 2015, nanotube and quantumlemur Copyright 2010, 2015, nanotube and quantumlemur
licensed under the `Creative Commons Attribution ShareAlike 3.0 Unported license <http://creativecommons.org/licenses/by-sa/3.0/>`_ licensed under the `Creative Commons Attribution ShareAlike 3.0 Unported license <https://creativecommons.org/licenses/by-sa/3.0/>`_
and/or the `GNU Free Documentation License v 1.3 or later <http://www.gnu.org/licenses/fdl.html>`_ and/or the `GNU Free Documentation License v 1.3 or later <https://www.gnu.org/licenses/fdl.html>`_

View File

@ -43,10 +43,10 @@ operator. The format function uses the following string formatting characters.
Here are a few examples to help elaborate on the above descriptions:: Here are a few examples to help elaborate on the above descriptions::
>>> format("Error %q has been reported %n. For more information, see %u.", >>> format("Error %q has been reported %n. For more information, see %u.",
"AttributeError", (5, "time"), "http://supybot.com") "AttributeError", (5, "time"), "https://limnoria.net")
'Error "AttributeError" has been reported 5 times. For more information, 'Error "AttributeError" has been reported 5 times. For more information,
see <http://supybot.com>.' see <https://limnoria.net>.'
>>> i = 4 >>> i = 4
>>> format("There %b %n at this time. You are only allowed %n at any given >>> format("There %b %n at this time. You are only allowed %n at any given

View File

@ -1861,7 +1861,7 @@ msgstr ""
#: ../../use/install.rst:53 #: ../../use/install.rst:53
msgid "" msgid ""
"You may also install \"manually\" by downloading the source archive from " "You may also install \"manually\" by downloading the source archive from "
"http://python.org, and compiling it. That is outside the scope of this " "https://python.org, and compiling it. That is outside the scope of this "
"guide, however." "guide, however."
msgstr "" msgstr ""
@ -2002,7 +2002,7 @@ msgstr ""
msgid "" msgid ""
"The steps are essentially the same as those of the previous section, except " "The steps are essentially the same as those of the previous section, except "
"there are no repositories. Grab the latest python installer for OS X from " "there are no repositories. Grab the latest python installer for OS X from "
"http://python.org, and follow the rest of the steps." "https://python.org, and follow the rest of the steps."
msgstr "" msgstr ""
#: ../../use/install.rst:152 #: ../../use/install.rst:152
@ -2048,7 +2048,7 @@ msgstr ""
#: ../../use/install.rst:180 #: ../../use/install.rst:180
msgid "" msgid ""
"In order to install the latest Limnoria from the git repository, you need " "In order to install the latest Limnoria from the git repository, you need "
"git in your %PATH%. You can get it from http://git-scm.com/." "git in your %PATH%. You can get it from https://git-scm.com/."
msgstr "" msgstr ""
#: ../../use/install.rst:183 #: ../../use/install.rst:183

View File

@ -65,7 +65,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH. echo.may add the Sphinx directory to PATH.
echo. echo.
echo.If you don't have Sphinx installed, grab it from echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/ echo.https://www.sphinx-doc.org/
exit /b 1 exit /b 1
) )

View File

@ -105,11 +105,11 @@ I added an aka, but it doesn't work!
instance, if you're adding an aka to give you a link to your instance, if you're adding an aka to give you a link to your
homepage, you need to say:: homepage, you need to say::
aka add mylink "format concat http://my.host.com/ [urlquote $1]" aka add mylink "format concat https://example.com/ [urlquote $1]"
and not:: and not::
aka add mylink format concat http://my.host.com/ [urlquote $1] aka add mylink format concat https://example.com/ [urlquote $1]
The first version works; the second version will always return the The first version works; the second version will always return the
same url. same url.
@ -317,7 +317,7 @@ Then, follow the :ref:`install guide <use-install>`. In short, just run this::
sudo python3 -m pip install limnoria --upgrade sudo python3 -m pip install limnoria --upgrade
.. _blocks: http://freenode.net/faq.shtml#blockingmessages .. _blocks: https://libera.chat/guides/usermodes#main
.. _tsocks: http://tsocks.sourceforge.net .. _tsocks: http://tsocks.sourceforge.net
.. _issue tracker: https://github.com/ProgVal/Limnoria/issues .. _issue tracker: https://github.com/ProgVal/Limnoria/issues
.. _download it: http://python.org/download/ .. _download it: https://python.org/download/

View File

@ -110,14 +110,14 @@ they are available.
The remaining of this guide will assume you have Python 3. The remaining of this guide will assume you have Python 3.
.. _Python: http://www.python.org/ .. _Python: https://www.python.org/
Install Python Install Python
-------------- --------------
Python will usually come by installed by default in your distribution. If not, Python will usually come by installed by default in your distribution. If not,
grab the appropriate packages from the distribution's repository, or download grab the appropriate packages from the distribution's repository, or download
it from http://python.org. it from https://python.org.
If you're installing Python using your distribution's packages, you may need a If you're installing Python using your distribution's packages, you may need a
''python-dev'' or ''python-devel'' package installed, too. To see if this is ''python-dev'' or ''python-devel'' package installed, too. To see if this is
@ -131,7 +131,7 @@ If it works, you're good to go. Otherwise, install the ``python3-dev`` or
``python3-devel`` package and try again. ``python3-devel`` package and try again.
You may also install "manually" by downloading the source archive from You may also install "manually" by downloading the source archive from
http://python.org, and compiling it. That is outside the scope of this guide, https://python.org, and compiling it. That is outside the scope of this guide,
however. however.
Install Limnoria Install Limnoria
@ -143,7 +143,7 @@ way of installing Python software.
There are some :ref:`alternative install methods <alternative-install>` There are some :ref:`alternative install methods <alternative-install>`
at the bottom of this guide, if you don't want to use ``pip``. at the bottom of this guide, if you don't want to use ``pip``.
.. _pip: http://pip.readthedocs.org/en/latest/installing.html#install-pip .. _pip: https://pip.readthedocs.org/en/latest/installing.html#install-pip
Global installation (with root access) Global installation (with root access)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -219,7 +219,7 @@ And watch the magic!
For a tutorial on using and managing the bot from here on, see the `Supybook`_. For a tutorial on using and managing the bot from here on, see the `Supybook`_.
.. _Supybook: http://supybook.fealdia.org/ .. _Supybook: https://hoxu.github.io/supybook/
@ -241,5 +241,5 @@ can use one of these methods:
.. _ProgVal's build repo: https://builds.progval.net/limnoria/ .. _ProgVal's build repo: https://builds.progval.net/limnoria/
.. _Limnoria repository: https://github.com/ProgVal/Limnoria .. _Limnoria repository: https://github.com/ProgVal/Limnoria
.. _git: http://git-scm.com/ .. _git: https://git-scm.com/
.. _Limnoria's README.md: https://github.com/ProgVal/Limnoria/blob/testing/README.md#installing-from-cloned-repo .. _Limnoria's README.md: https://github.com/ProgVal/Limnoria/blob/testing/README.md#installing-from-cloned-repo

View File

@ -100,5 +100,5 @@ This guide has been mainly written by nanotube (Daniel Folkinshteyn), and
is licensed under the Creative Commons Attribution ShareAlike 3.0 Unported is licensed under the Creative Commons Attribution ShareAlike 3.0 Unported
license and/or the GNU Free Documentation License v 1.3 or later. license and/or the GNU Free Documentation License v 1.3 or later.
.. _Supybook: http://supybook.fealdia.org/ .. _Supybook: https://hoxu.github.io/supybook/

View File

@ -161,11 +161,13 @@ Again, if this is undesirable to you, you can do the following:
variables are, of course, always hidden from users by default). variables are, of course, always hidden from users by default).
* Prevent users from listing available plugins and commands: * Prevent users from listing available plugins and commands:
``defaultcapability add -misc.list``, ``defaultcapability add -misc.list``,
``defaultcapability add -misc.apropos``, and ``defaultcapability add -misc.apropos``,
``defaultcapability add -plugin`` ``defaultcapability add -plugin``, and
``defaultcapability add -status.commands``
* Hide the version from users: ``defaultcapability add -misc.version``, * Hide the version from users: ``defaultcapability add -misc.version``,
and also make sure it's not in ``supybot.user`` or and also make sure it's not in ``supybot.user``,
``supybot.plugins.Owner.quitMsg``. ``supybot.plugins.Owner.quitMsg`` or
``supybot.plugins.Channel.partMsg``.
* Hide capabilities users are missing to run a command: * Hide capabilities users are missing to run a command:
``supybot.reply.error.noCapability`` ``supybot.reply.error.noCapability``
* Replace errors with a generic reply: ``supybot.reply.error.detailed`` * Replace errors with a generic reply: ``supybot.reply.error.detailed``