On Jul 2, 12:00 am, RyanGT <ryanli...@gmail.com> wrote: > I am trying to use Sphinx to document a python project I am working > on. I am fairly experienced with docutils, but this is my first > attempt with Sphinx. I want to use is at a sort of journal for my > research and I think it is going to be great. > > I am currently having one significant issue. When I try to link to a > file in the current directory like this: > > - Here is a link to the curve-fitting file: > `<stribeck_curve_fitting.py>`_ > > the python file doesn't get copied to the _build/html directory, so > the link is broken. How do I set things up to automatically copy the > linked python files to the _build/html directory? >
I think http://sphinx.pocoo.org/markup/inline.html?highlight=download#download should solve your problem. > Thanks, > > Ryan -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.