I'm writing the WORG patch and I've been looking through the Worg docs, but
I can't figure out how to get the link ID for a section. I want to provide
a link to the new Git hooks section in the org manual (for example, one of
the existing links in CONTRIBUTE.org is
https://orgmode.org/worg/org-contribute.html#org069b83a). Is there a way to
build the WORG sources into HTML so that I can look at what the section ID
is?

Thanks,

Derek

On Sun, Nov 16, 2025 at 7:55 AM Derek Chen-Becker <[email protected]>
wrote:

>
>
> On Sun, Nov 16, 2025 at 2:30 AM Ihor Radchenko <[email protected]>
> wrote:
>
>> For people who contribute regularly, the hooks might be of use though.
>> So, opt-in sounds like a better idea.
>>
>> However, if it is opt-in, the hooks should certainly be documented in
>> org-contribute.org on WORG. A simple dedicated target that needs to be
>> built manually will do.
>>
>
> Agreed, let me rename the target to `githooks' to make it more clear and
> update the documentation in WORG. I'll keep a `cleangithooks' target for
> cleanup for convenience.
>
>
>> Long Urls should be exempt. Example:
>> https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2732be62368f586b36fd9cb894d124ff521f64dd
>> You can see that message IDs can get pretty long and there is no
>> practical reason to reject commit messages like in this commit - such
>> long URL cannot be wrapped.
>>
>
> OK,. makes sense. Let me see what I can do.
>
> Cheers,
>
> Derek
>
> --
> +---------------------------------------------------------------+
> | Derek Chen-Becker                                             |
> | GPG Key available at https://keybase.io/dchenbecker and       |
> | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org |
> | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7  7F42 AFC5 AFEE 96E4 6ACC  |
> +---------------------------------------------------------------+
>
>

-- 
+---------------------------------------------------------------+
| Derek Chen-Becker                                             |
| GPG Key available at https://keybase.io/dchenbecker and       |
| https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org |
| Fngrprnt: EB8A 6480 F0A3 C8EB C1E7  7F42 AFC5 AFEE 96E4 6ACC  |
+---------------------------------------------------------------+

Reply via email to