Hello Matt,
thanks for quick response!

Does it mean that the file I want to create reference has to be located at 
public URL where RST source file will be published? However I have this 
file located only at GitHub.

Jan

Dne úterý 7. července 2020 9:32:55 UTC+2 Matt from Documatt napsal(a):
>
> Hello Jan,
> you can use relative URI reference like `Some_file <../some_file.txt>`_. 
> Important is only to keep in mind that it is not relative to the RST source 
> file (docs/documentation.rst), but to the public URL where RST source 
> will be published.
>
> For example, if docs/tutorial.rst ends up as mysite.com/docs/tutorial.html, 
> a  reference `Some_file <../some_file.txt>`_ will point to 
> mysite.com/some_file.txt.
>
> Matt
> https://blog.documatt.com
>
>
> On Tue, Jul 7, 2020 at 9:15 AM Jan Valošek <[email protected] 
> <javascript:>> wrote:
>
>> I would like to create symbolic link inside sphinx doc (inside 
>> https://github.com/my_repo/docs/documentation.rst file) pointing to file 
>> in same GitHub repo (e.g. https://github.com/my_repo/some_file.txt). 
>> Something like this:
>>
>> `Some_file <https://github.com/my_repo/some_file.txt>`_
>>
>> However, example above is absolute link. I would like to create relative 
>> link; something like this:
>>
>> `Some_file <../some_file.txt>`_
>>
>> Is it possible?
>>
>> Thank you,
>> JV
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sphinx-users/51373cde-a797-4595-9436-6260e0c25d78o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sphinx-users/51373cde-a797-4595-9436-6260e0c25d78o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/58ac6dd5-ac81-4448-ac20-c83d19ec2073o%40googlegroups.com.

Reply via email to