diff --git a/docs/api/printerprofiles.rst b/docs/api/printerprofiles.rst index 215d201b..b529b9d2 100644 --- a/docs/api/printerprofiles.rst +++ b/docs/api/printerprofiles.rst @@ -65,7 +65,7 @@ Profile list - :ref:`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 ------- diff --git a/docs/development/interface/filemanager.rst b/docs/development/interface/filemanager.rst index fd856844..28a0af7b 100644 --- a/docs/development/interface/filemanager.rst +++ b/docs/development/interface/filemanager.rst @@ -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 diff --git a/docs/development/interface/printer.rst b/docs/development/interface/printer.rst index 7d6ed019..79559cd6 100644 --- a/docs/development/interface/printer.rst +++ b/docs/development/interface/printer.rst @@ -1,7 +1,7 @@ -.. _sec-development-interface-plugin: +.. _sec-development-interface-printer: -``octoprint.printer`` ---------------------- +octoprint.printer +----------------- .. automodule:: octoprint.printer :members: Printer diff --git a/src/octoprint/util/__init__.py b/src/octoprint/util/__init__.py index 981eb1d6..4371b9d5 100644 --- a/src/octoprint/util/__init__.py +++ b/src/octoprint/util/__init__.py @@ -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 - ``: @ ::'. + ``: @ ::``. 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