~protesilaos/denote

Exclude Info indices from the HTML version of the ToC v1 APPLIED

Eshel Yaron: 1
 Exclude Info indices from the HTML version of the ToC

 1 files changed, 1 insertions(+), 0 deletions(-)
Protesilaos Stavrou <info@protesilaos.com> writes:
Next
Good day Eshel!

I had to revert this change because it affected the Info manual:

    commit 74231ccbe9cb98bb7158c5ee4cdf647b125dc422
    Author: Protesilaos Stavrou <info@protesilaos.com>
    Date:   Wed Oct 12 05:18:36 2022 +0300

        Revert "Exclude Info indices from the HTML version of the ToC"

        This reverts commit cfd2d429546e9ae2d112eeb988b47bf30444e794.

        I thought it only affected the HTML output, but it also applies to the
        Info manual.  Given that the indices are for the latter, this change
        has to be reverted.  Maybe there is way to limit this effect to the
        HTML output only.

     README.org | 1 -
     1 file changed, 1 deletion(-)

If there is a way to have better control over what is exported and
where, I am happy to apply it.

All the best,
Prot
Protesilaos Stavrou <info@protesilaos.com> writes:
Next
Hello Eshel!
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~protesilaos/denote/patches/36028/mbox | git am -3
Learn more about email & git

[PATCH] Exclude Info indices from the HTML version of the ToC Export this patch

Currently the HTML version of the manual at
https://protesilaos.com/emacs/denote lists in its table of contents
links to the Indices header and its subheaders, but these are not
present in the HTML version of the manual.

Set the UNNUMBERED property of the Indices header to "notoc" to
exclude the entire subtree from the ToC during export to HTML.
---
 README.org | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.org b/README.org
index 4ef6e75..322b7b6 100644
--- a/README.org
+++ b/README.org
@@ -3685,6 +3685,7 @@ to permit their use in free software.
* Indices
:PROPERTIES:
:CUSTOM_ID: h:dd530040-de9d-4f2b-8dfd-d8b8f14c058e
:UNNUMBERED: notoc
:END:

** Function index
-- 
2.37.3
Thank you, Eshel!

Installed and pushed.  I also made the update to the website.  Waiting
for the changes to propagate.

All the best,
Prot