diff --git a/akka-docs-dev/_sphinx/exts/includecode2.py b/akka-docs-dev/_sphinx/exts/includecode2.py index 01394cc929..9e6a12dc09 100644 --- a/akka-docs-dev/_sphinx/exts/includecode2.py +++ b/akka-docs-dev/_sphinx/exts/includecode2.py @@ -48,7 +48,7 @@ class IncludeCode2(Directive): lines = f.readlines() f.close() except (IOError, OSError): - return [document.reporter.warning( + return [document.reporter.error( 'Include file %r not found or reading it failed' % fn, line=self.lineno)] except UnicodeError: @@ -98,8 +98,7 @@ class IncludeCode2(Directive): text = ''.join(res) if text == "": - # in includecode2 it indeed is a warning, an empty code block will be inserted - return [document.reporter.warning('Snippet "' + snippet + '" not found!', line=self.lineno)] + return [document.reporter.error('Snippet "' + snippet + '" not found!', line=self.lineno)] retnode = nodes.literal_block(text, text, source=fn) document.settings.env.note_dependency(rel_fn) diff --git a/akka-docs-dev/rst/java/stream-io.rst b/akka-docs-dev/rst/java/stream-io.rst index 743c2b5be8..24715b03fa 100644 --- a/akka-docs-dev/rst/java/stream-io.rst +++ b/akka-docs-dev/rst/java/stream-io.rst @@ -96,7 +96,7 @@ logic in Flows and attaching those to :class:`StreamIO` in order to implement yo In this example both client and server may need to close the stream based on a parsed command - ``BYE`` in the case of the server, and ``q`` in the case of the client. This is implemented by using a custom :class:`PushStage` -(see :ref:`stream-using-push-pull-stage-java`) which completes the stream once it encounters such command. +which completes the stream once it encounters such command. Streaming File IO =================