Fixed warnings in documentation build

This commit is contained in:
Gina Häußge 2015-03-02 16:03:37 +01:00
parent 8da9f55b05
commit 18b2b7dfe8
4 changed files with 15 additions and 15 deletions

View file

@ -65,7 +65,7 @@ Profile list
- :ref:`Profile <sec-api-slicing-datamodel-profile>`
- Information about a profile stored in the system.
.. _sec-api-slicing-datamodel-update:
.. _sec-api-printerprofiles-datamodel-update:
Add or update request
---------------------
@ -84,7 +84,7 @@ Add or update request
- Information about the profile being added/updated. For adding new profiles, all fields must be populated. For updating
and existing profile, only the values to be overwritten need to be supplied.
.. _sec-api-slicing-datamodel-profile:
.. _sec-api-printerprofiles-datamodel-profile:
Profile
-------

View file

@ -1,7 +1,7 @@
.. _sec-development-interface-filemanager:
``octoprint.filemanager``
-------------------------
octoprint.filemanager
---------------------
.. automodule:: octoprint.filemanager
:members:
@ -9,8 +9,8 @@
.. _sec-development-interface-filemanager-analysis:
``octoprint.filemanager.analysis``
----------------------------------
octoprint.filemanager.analysis
------------------------------
.. automodule:: octoprint.filemanager.analysis
:members:
@ -18,8 +18,8 @@
.. _sec-development-interface-filemanager-destinations:
``octoprint.filemanager.destinations``
--------------------------------------
octoprint.filemanager.destinations
----------------------------------
.. automodule:: octoprint.filemanager.destinations
:members:
@ -27,8 +27,8 @@
.. _sec-development-interface-filemanager-storage:
``octoprint.filemanager.storage``
---------------------------------
octoprint.filemanager.storage
-----------------------------
.. automodule:: octoprint.filemanager.storage
:members: StorageInterface, LocalFileStorage

View file

@ -1,7 +1,7 @@
.. _sec-development-interface-plugin:
.. _sec-development-interface-printer:
``octoprint.printer``
---------------------
octoprint.printer
-----------------
.. automodule:: octoprint.printer
:members: Printer

View file

@ -182,7 +182,7 @@ def get_class(name):
def get_exception_string():
"""
Retrieves the exception info of the last raised exception and returns it as a string formatted as
``<exception type>: <exception message> @ <source file>:<function name>:<line number>'.
``<exception type>: <exception message> @ <source file>:<function name>:<line number>``.
Returns:
string: The formatted exception information.
@ -195,7 +195,7 @@ def get_exception_string():
def get_free_bytes(path):
"""
Retrieves the number of free bytes on the partition ``path`` is located at and returns it. Works on both Windows and
*nix.
Unix/Linux.
Taken from http://stackoverflow.com/a/2372171/2028598