It is possible to have a docname that includes the file's extension? I'd 
like something like this:

In conf.py, source_suffix = ['.rst', '.txt']

In index.rst, a sentence like This is a link to :doc:`test.rst`, while this 
is a link to :doc:`test.txt`.

Two files named test.rst and test.txt.

Currently, the :doc: directives produce an error; the correct form is 
:doc:`test`, which only allows me to link to test.rst, but not test.txt.

Likewise, a :toctree: entry always links to test.rst, even if I specify the 
filename test.txt.

Any thoughts/help/ideas would be appreciated! I'm using Sphinx 1.7.9, 
Python 3.7, Windows 10.

Thanks,

Bryan

-- 
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