Better use the directives include or literalinclude.

.. literalinclude:: ../gits/vcloud-management-tools/lib/application.rb
   :language: ruby


2014-02-24 11:27 GMT+01:00 Azul Inho <[email protected]>:

>
> Hey,
>
> I'm pretty new to rstext/sphinx, I am having some trouble getting content
> from an external non-rst text file into a .rst document.
>
> this is the contents of the my .rst file:
>
> "
> The code executed by this job is listed below:
>
> .. raw:: text
>    :file: ../gits/vcloud-management-tools/lib/application.rb
> "
>
> sphinx-build doesn't give me any errors, but when no content is generated
> from that 'raw' directive.
> Any clue where I am getting this wrong?
>
> -azul
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to