Run sphinx linkcheck in tox. Fixes for a bunch of fixes for such.

This commit is contained in:
Gustaf Hallberg 2015-10-21 21:32:21 +02:00
parent dc23798526
commit 8ebe9f59fd
14 changed files with 47 additions and 45 deletions

View File

@ -2053,7 +2053,7 @@ already have.
- Mopidy.js now works both from browsers and from Node.js environments. This
means that you now can make Mopidy clients in Node.js. Mopidy.js has been
published to the `npm registry <https://npmjs.org/package/mopidy>`_ for easy
published to the `npm registry <https://www.npmjs.com/package/mopidy>`_ for easy
installation in Node.js projects.
- Upgrade Mopidy.js' build system Grunt from 0.3 to 0.4.
@ -2809,9 +2809,9 @@ Please note that 0.6.0 requires some updated dependencies, as listed under
subsystems: player, playlist, options, and mixer. (Fixes: :issue:`32`)
- A new frontend :mod:`mopidy.frontends.mpris` have been added. It exposes
Mopidy through the `MPRIS interface <http://www.mpris.org/>`_ over D-Bus. In
Mopidy through the `MPRIS interface <http://specifications.freedesktop.org/mpris-spec/latest/>`_ over D-Bus. In
practice, this makes it possible to control Mopidy through the `Ubuntu Sound
Menu <https://wiki.ubuntu.com/SoundMenu>`_.
Menu <https://wiki.ubuntu.com/Sound#menu>`_.
**Changes**

View File

@ -59,7 +59,7 @@ MPD graphical clients
GMPC
----
`GMPC <http://gmpc.wikia.com>`_ is a graphical MPD client (GTK+) which works
`GMPC <http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client>`_ is a graphical MPD client (GTK+) which works
well with Mopidy.
.. image:: mpd-client-gmpc.png
@ -76,7 +76,7 @@ before it will catch up.
Sonata
------
`Sonata <http://sonata.berlios.de/>`_ is a graphical MPD client (GTK+).
`Sonata <https://github.com/multani/sonata>`_ is a graphical MPD client (GTK+).
It generally works well with Mopidy, except for search.
.. image:: mpd-client-sonata.png
@ -87,11 +87,7 @@ When you search in Sonata, it only sends the first to letters of the search
query to Mopidy, and then does the rest of the filtering itself on the client
side. Since Spotify has a collection of millions of tracks and they only return
the first 100 hits for any search query, searching for two-letter combinations
seldom returns any useful results. See :issue:`1` and the closed `Sonata bug`_
for details.
.. _Sonata bug: http://developer.berlios.de/feature/?func=detailfeature&feature_id=5038&group_id=7323
seldom returns any useful results. See :issue:`1` for details.
Theremin
--------
@ -171,5 +167,5 @@ projects are a real match made in heaven."
Partify
-------
`Partify <http://www.partify.us/>`_ is a web based MPD client focusing on
`Partify <http://partify.club/>`_ is a web based MPD client focusing on
making music playing collaborative and social.

View File

@ -4,7 +4,7 @@
MPRIS clients
*************
`MPRIS <http://www.mpris.org/>`_ is short for Media Player Remote Interfacing
`MPRIS <http://specifications.freedesktop.org/mpris-spec/latest/>`_ is short for Media Player Remote Interfacing
Specification. It's a spec that describes a standard D-Bus interface for making
media players available to other applications on the same system.
@ -19,7 +19,7 @@ implement the optional tracklist interface.
Ubuntu Sound Menu
=================
The `Ubuntu Sound Menu <https://wiki.ubuntu.com/SoundMenu>`_ is the default
The `Ubuntu Sound Menu <https://wiki.ubuntu.com/Sound#menu>`_ is the default
sound menu in Ubuntu since 10.10 or 11.04. By default, it only includes the
Rhytmbox music player, but many other players can integrate with the sound
menu, including the official Spotify player and Mopidy.

View File

@ -4,11 +4,11 @@
UPnP clients
************
`UPnP <http://en.wikipedia.org/wiki/Universal_Plug_and_Play>`_ is a set of
`UPnP <https://en.wikipedia.org/wiki/Universal_Plug_and_Play>`_ is a set of
specifications for media sharing, playing, remote control, etc, across a home
network. The specs are supported by a lot of consumer devices (like
smartphones, TVs, Xbox, and PlayStation) that are often labeled as being `DLNA
<http://en.wikipedia.org/wiki/DLNA>`_ compatible or certified.
<https://en.wikipedia.org/wiki/DLNA>`_ compatible or certified.
The DLNA guidelines and UPnP specifications defines several device roles, of
which Mopidy may play two:
@ -149,4 +149,4 @@ Other clients
For a long list of UPnP clients for all possible platforms, see Wikipedia's
`List of UPnP AV media servers and clients
<http://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients>`_.
<https://en.wikipedia.org/wiki/List_of_UPnP_AV_media_servers_and_clients>`_.

View File

@ -21,7 +21,7 @@ Code style
bar = 'I am a bytestring, but was it intentional?'
- Follow :pep:`8` unless otherwise noted. `flake8
<http://pypi.python.org/pypi/flake8>`_ should be used to check your code
<https://pypi.python.org/pypi/flake8>`_ should be used to check your code
against the guidelines.
- Use four spaces for indentation, *never* tabs.

View File

@ -167,7 +167,16 @@ extlinks = {
# -- Options for intersphinx extension ----------------------------------------
intersphinx_mapping = {
'python': ('http://docs.python.org/2', None),
'pykka': ('http://www.pykka.org/en/latest/', None),
'python': ('https://docs.python.org/2', None),
'pykka': ('https://www.pykka.org/en/latest/', None),
'tornado': ('http://www.tornadoweb.org/en/stable/', None),
}
# -- Options for linkcheck builder -------------------------------------------
linkcheck_ignore = [ #Some sites work in browser but linkcheck fails.
r'http://localhost:\d+/',
r'http://wiki.commonjs.org',
r'http://vk.com',
r'http://$']
linkcheck_anchors = False #This breaks on links that use # for other stuff

View File

@ -195,7 +195,7 @@ Logging configuration
to use for that logger, one of ``black``, ``red``, ``green``, ``yellow``,
``blue``, ``magenta``, ``cyan`` or ``white``.
.. _the Python logging docs: http://docs.python.org/2/library/logging.config.html
.. _the Python logging docs: https://docs.python.org/2/library/logging.config.html
.. _proxy-config:

View File

@ -300,7 +300,7 @@ the given module, ``mopidy`` in this example, are covered by the test suite::
.. note::
Up to date test coverage statistics can also be viewed online at
`coveralls.io <https://coveralls.io/r/mopidy/mopidy>`_.
`coveralls.io <https://coveralls.io/github/mopidy/mopidy>`_.
If we want to speed up the test suite, we can even get a list of the ten
slowest tests::
@ -322,7 +322,7 @@ CI, and the build status will be visible in the GitHub pull request interface,
making it easier to evaluate the quality of pull requests.
For each successful build, Travis submits code coverage data to `coveralls.io
<https://coveralls.io/r/mopidy/mopidy>`_. If you're out of work, coveralls might
<https://coveralls.io/github/mopidy/mopidy>`_. If you're out of work, coveralls might
help you find areas in the code which could need better test coverage.
@ -392,7 +392,7 @@ OS::
open _build/html/index.html # OS X
The documentation at https://docs.mopidy.com/ is hosted by `Read the Docs
<https://www.readhtedocs.org/>`_, which automatically updates the documentation
<https://readthedocs.org/>`_, which automatically updates the documentation
when a change is pushed to the ``mopidy/mopidy`` repo at GitHub.

View File

@ -54,7 +54,7 @@ Mopidy-Dirble
https://github.com/mopidy/mopidy-dirble
Provides a backend for browsing the Internet radio channels from the `Dirble
<http://dirble.com/>`_ directory.
<https://dirble.com/>`_ directory.
Mopidy-dLeyna
@ -63,7 +63,7 @@ Mopidy-dLeyna
https://github.com/tkem/mopidy-dleyna
Provides a backend for playing music from Digital Media Servers using
the `dLeyna <http://01.org/dleyna>`_ D-Bus interface.
the `dLeyna <https://01.org/dleyna>`_ D-Bus interface.
Mopidy-File
===========
@ -76,13 +76,13 @@ Mopidy-Grooveshark
https://github.com/camilonova/mopidy-grooveshark
Provides a backend for playing music from `Grooveshark
<http://grooveshark.com/>`_.
<http://grooveshark.im/>`_.
Mopidy-GMusic
=============
https://github.com/hechtus/mopidy-gmusic
https://github.com/mopidy/mopidy-gmusic
Provides a backend for playing music from `Google Play Music
<https://play.google.com/music/>`_.
@ -153,13 +153,13 @@ https://github.com/tkem/mopidy-podcast
Extension for browsing RSS feeds of podcasts and stream the episodes.
Mopidy-Podcast-gpodder.net
Mopidy-Podcast-gpodder
==========================
https://github.com/tkem/mopidy-podcast-gpodder
Extension for Mopidy-Podcast that lets you search and browse podcasts from the
`gpodder.net <https://gpodder.net/>`_ web site.
`gpodder <http://gpodder.org/>`_ web site.
Mopidy-Podcast-iTunes
@ -177,7 +177,7 @@ Mopidy-radio-de
https://github.com/hechtus/mopidy-radio-de
Extension for listening to Internet radio stations and podcasts listed at
`radio.de <http://www.radio.de/>`_, `rad.io <http://www.rad.io/>`_,
`radio.de <http://www.radio.de/>`_, `radio.net <http://www.radio.net/>`_,
`radio.fr <http://www.radio.fr/>`_, and `radio.at <http://www.radio.at/>`_.
@ -196,7 +196,7 @@ Mopidy-SoundCloud
https://github.com/mopidy/mopidy-soundcloud
Provides a backend for playing music from the `SoundCloud
<http://www.soundcloud.com/>`_ service.
<https://soundcloud.com/>`_ service.
Mopidy-Spotify
@ -204,7 +204,7 @@ Mopidy-Spotify
https://github.com/mopidy/mopidy-spotify
Extension for playing music from the `Spotify <http://www.spotify.com/>`_ music
Extension for playing music from the `Spotify <https://www.spotify.com/>`_ music
streaming service.
@ -214,7 +214,7 @@ Mopidy-Spotify-Tunigo
https://github.com/trygveaa/mopidy-spotify-tunigo
Extension for providing the browse feature of `Spotify
<http://www.spotify.com/>`_. This lets you browse playlists, genres and new
<https://www.spotify.com/>`_. This lets you browse playlists, genres and new
releases.
@ -239,7 +239,7 @@ Mopidy-TuneIn
https://github.com/kingosticks/mopidy-tunein
Provides a backend for playing music from the `TuneIn
<http://www.tunein.com/>`_ online radio service.
<http://tunein.com/>`_ online radio service.
Mopidy-VKontakte
@ -254,7 +254,7 @@ Provides a backend for playing music from the `VKontakte social network
Mopidy-YouTube
==============
https://github.com/dz0ny/mopidy-youtube
https://github.com/mopidy/mopidy-youtube
Provides a backend for playing music from the `YouTube
<http://www.youtube.com/>`_ service.
<https://www.youtube.com/>`_ service.

View File

@ -118,7 +118,7 @@ To install, run::
Mopidy-MusicBox-Webclient
=========================
https://github.com/woutervanwijk/Mopidy-MusicBox-Webclient
https://github.com/pimusicbox/Mopidy-MusicBox-Webclient
The first web client for Mopidy, made with jQuery Mobile by Wouter van Wijk.
Also the web client used for Wouter's popular `Pi Musicbox
@ -153,7 +153,7 @@ To install, run::
Mopidy-WebSettings
==================
https://github.com/woutervanwijk/mopidy-websettings
https://github.com/pimusicbox/mopidy-websettings
A web extension for changing settings. Used by the Pi MusicBox distribution
for Raspberry Pi, but also usable for other projects.

View File

@ -214,7 +214,7 @@ file::
include mopidy_soundspot/ext.conf
For details on the ``MANIFEST.in`` file format, check out the `distutils docs
<http://docs.python.org/2/distutils/sourcedist.html#manifest-template>`_.
<https://docs.python.org/2/distutils/sourcedist.html#manifest-template>`_.
`check-manifest <https://pypi.python.org/pypi/check-manifest>`_ is a very
useful tool to check your ``MANIFEST.in`` file for completeness.

View File

@ -4,7 +4,7 @@
Raspberry Pi: Mopidy on a credit card
*************************************
Mopidy runs nicely on a `Raspberry Pi <http://www.raspberrypi.org/>`_. As of
Mopidy runs nicely on a `Raspberry Pi <https://www.raspberrypi.org/>`_. As of
January 2013, Mopidy will run with Spotify support on both the armel
(soft-float) and armhf (hard-float) architectures, which includes the Raspbian
distribution.
@ -28,7 +28,7 @@ If you don't know which one to select, go for the armhf variant, as it'll give
you a lot better performance.
#. Download the latest "wheezy" disk image from
http://www.raspberrypi.org/downloads/. This was last tested with the images
https://www.raspberrypi.org/downloads/. This was last tested with the images
from 2013-05-25 for armhf and 2013-05-29 for armel.
#. Flash the OS image to your SD card. See

View File

@ -51,9 +51,5 @@ Init scripts
<https://www.archlinux.org/packages/community/any/mopidy/>`__ comes with a systemd init
script.
- A blog post by Benjamin Guillet explains how to `Daemonize Mopidy and Launch
It at Login on OS X
<http://www.benjaminguillet.com/blog/2013/08/16/launch-mopidy-at-login-on-os-x/>`_.
- Issue :issue:`266` contains a bunch of init scripts for Mopidy, including
Upstart init scripts.

View File

@ -33,6 +33,7 @@ deps =
deps = -r{toxinidir}/docs/requirements.txt
changedir = docs
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
sphinx-build -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
deps =