mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix some warnings from sphinx
This commit is contained in:
parent
36ff1b15b8
commit
44fe5e7793
@ -308,7 +308,7 @@ How do I use calibre with my iPad/iPhone/iPod touch?
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The easiest way to transfer books wirelessly to your Apple device (iPad/iPhone/iPod)
|
The easiest way to transfer books wirelessly to your Apple device (iPad/iPhone/iPod)
|
||||||
is to use the `Calibre Companion <https://calibrecompanion.co?utm_source=Calibre&utm_medium=Website&utm_campaign=Main&utm_term=FAQ&utm_content=IOS>`_ iOS app.
|
is to use the `Calibre Companion <https://calibrecompanion.co?utm_source=Calibre&utm_medium=Website&utm_campaign=Main&utm_term=FAQ&utm_content=IOS>`__ iOS app.
|
||||||
This app allows calibre to connect to your Apple device wirelessly, just as though you
|
This app allows calibre to connect to your Apple device wirelessly, just as though you
|
||||||
plugged in the device with a USB cable. You can browse files on the device
|
plugged in the device with a USB cable. You can browse files on the device
|
||||||
in calibre and use the :guilabel:`Send to device` button to transfer files to
|
in calibre and use the :guilabel:`Send to device` button to transfer files to
|
||||||
@ -385,7 +385,7 @@ Over the air
|
|||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The easiest way to transfer books wirelessly to your Android device is to use
|
The easiest way to transfer books wirelessly to your Android device is to use
|
||||||
the `Calibre Companion <https://calibrecompanion.co?utm_source=Calibre&utm_medium=Website&utm_campaign=Main&utm_term=FAQ&utm_content=Android>`_ Android app.
|
the `Calibre Companion <https://calibrecompanion.co?utm_source=Calibre&utm_medium=Website&utm_campaign=Main&utm_term=FAQ&utm_content=Android>`__ Android app.
|
||||||
This app allows calibre to connect to your Android device wirelessly, just as though you
|
This app allows calibre to connect to your Android device wirelessly, just as though you
|
||||||
plugged in the device with a USB cable. You can browse files on the device
|
plugged in the device with a USB cable. You can browse files on the device
|
||||||
in calibre and use the :guilabel:`Send to device` button to transfer files to
|
in calibre and use the :guilabel:`Send to device` button to transfer files to
|
||||||
|
@ -226,7 +226,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
#: }
|
#: }
|
||||||
#:
|
#:
|
||||||
#: All keys are optional. For a full explanation of the search criteria, see
|
#: All keys are optional. For a full explanation of the search criteria, see
|
||||||
#: `Beautiful Soup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree>`_
|
#: `Beautiful Soup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching-the-tree>`__
|
||||||
#: A common example::
|
#: A common example::
|
||||||
#:
|
#:
|
||||||
#: remove_tags = [dict(name='div', class_='advert')]
|
#: remove_tags = [dict(name='div', class_='advert')]
|
||||||
@ -571,7 +571,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
an ad page, return the HTML of the real page. Otherwise return
|
an ad page, return the HTML of the real page. Otherwise return
|
||||||
None.
|
None.
|
||||||
|
|
||||||
`soup`: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_
|
`soup`: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__
|
||||||
instance containing the downloaded :term:`HTML`.
|
instance containing the downloaded :term:`HTML`.
|
||||||
'''
|
'''
|
||||||
return None
|
return None
|
||||||
@ -613,7 +613,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
It can be used to do arbitrarily powerful pre-processing on the :term:`HTML`.
|
It can be used to do arbitrarily powerful pre-processing on the :term:`HTML`.
|
||||||
It should return `soup` after processing it.
|
It should return `soup` after processing it.
|
||||||
|
|
||||||
`soup`: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_
|
`soup`: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__
|
||||||
instance containing the downloaded :term:`HTML`.
|
instance containing the downloaded :term:`HTML`.
|
||||||
'''
|
'''
|
||||||
return soup
|
return soup
|
||||||
@ -625,7 +625,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
It can be used to do arbitrarily powerful post-processing on the :term:`HTML`.
|
It can be used to do arbitrarily powerful post-processing on the :term:`HTML`.
|
||||||
It should return `soup` after processing it.
|
It should return `soup` after processing it.
|
||||||
|
|
||||||
:param soup: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`_ instance containing the downloaded :term:`HTML`.
|
:param soup: A `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc/>`__ instance containing the downloaded :term:`HTML`.
|
||||||
:param first_fetch: True if this is the first page of an article.
|
:param first_fetch: True if this is the first page of an article.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@ -660,7 +660,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
def index_to_soup(self, url_or_raw, raw=False, as_tree=False, save_raw=None):
|
def index_to_soup(self, url_or_raw, raw=False, as_tree=False, save_raw=None):
|
||||||
'''
|
'''
|
||||||
Convenience method that takes an URL to the index page and returns
|
Convenience method that takes an URL to the index page and returns
|
||||||
a `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`_
|
a `BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/bs4/doc>`__
|
||||||
of it.
|
of it.
|
||||||
|
|
||||||
`url_or_raw`: Either a URL or the downloaded index page as a string
|
`url_or_raw`: Either a URL or the downloaded index page as a string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user