[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linking source files on worg (was: Re: [PATCH worg v2] ob-doc-gnuplot.or
From: |
Max Nikulin |
Subject: |
Linking source files on worg (was: Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.) |
Date: |
Thu, 12 Dec 2024 11:18:36 +0700 |
User-agent: |
Mozilla Thunderbird |
On 11/12/2024 02:25, Ihor Radchenko wrote:
Ideally, we want to use a simple [[./file.org]] links. But it is
actually tricky because of `org-html-link-org-files-as-html'.
So, direct http link has to do for now.
I would say e.g. [[org-src:file.org]] while simple [[file:file.org]] is
for the *exported* page.
I am unsure how many external sites have links to
https://orgmode.org/worg/sources/* and whether it should be handled by a
nginx redirection rule.
Max Nikulin writes:
I recall a discussion whether a link to source file should be added to
every worg page.
Do you have a link to that discussion?
<https://list.orgmode.org/87wncxztzb.fsf@gmail.com/>
Tim Cross. Re: Serving .org files for worg (was: Re: Library of babel
help) 2022-06-30 21:48 UTC
My main issue is that having to know you can change the suffix from
.html to .org in order to get the source is insufficient. It won't be
obvious to many users and will only make some sense to experienced org
users. I think the link should be obvious and I think the server
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
configuration should be set so that accessing the .org url gives a
sensible result (i.e. prefer opening it as plain text to offering to
download).
Accordingly to
<https://emacs.stackexchange.com/questions/19905/where-can-i-find-the-org-source-code-for-orgmode-org-manual-installation-html>
buttons to obtain .org files were there in the past
See at the bottom
<https://web.archive.org/web/20151218202033/http://orgmode.org/worg/index.html>