Hi,

Please use literalinclude
http://www.sphinx-doc.org/en/stable/markup/code.html#includes

Best,

2017年6月18日(日) 8:22 Rares Vernica <[email protected]>:

> Hello,
>
> Is there an extension or a command that I can use to include the
> requirements.txt file in an RST file. Essentially, I would like to list the
> requirements of the project in the documentation, but I would rather have
> them included automatically instead of copying & pasting them.
>
> Thanks!
> Rares
>
> --
> 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 https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to