Skip to content

Conversation

@matsl
Copy link
Collaborator

@matsl matsl commented Oct 29, 2025

What

Test case works for regular WikiWords and with sections.
Needs further work with tests and possibly refactoring.

Sharing for feedback.

I have today experimented with your hywiki folder. All files except one can be
exported with out any runtime error. The BB.org files causes an error which I
will look into.

I have not doubled checked all links but to my surprise I found rather few
proper links in the material. So not sure how I can use it to create more
types of tests from it. (Except for the BB.org file that is.)

Further updates.

I was able to find what input causes the error and also found two cases where
the generated output does not match the expected output. This is for plain
WikiWord generation, i.e. no sections involved.

It is documented in a test case in the mentioned PR.

Next step is to figure out what is happening and fix it.

Test case works for regular WikiWords and with sections.
Needs further work with tests and possibly refactoring.
@matsl matsl force-pushed the export_hywiki_with_use_of_org_ids branch from fb19f7c to 6de7c5b Compare October 29, 2025 23:01
Test is constructed to work by verifying what is produced. Comments
point to what is the expected result when the code is fixed.

There is one test that causes a crash. It is for simplicity commented
out.
@rswgnu rswgnu changed the title First stab att publishing with org ids First stab at publishing with org ids Nov 2, 2025
@rswgnu
Copy link
Owner

rswgnu commented Nov 2, 2025

Please add a description of anything not yet working with the HyWiki html export command.

hywiki.el Outdated
(hywiki-word-read)))

(defun hywiki--org-link-html-format (path-stem suffix desc info)
"Format a HTML link using org ids."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 'an html' not 'a HTML'. Only function argument names should be all caps in doc strings.

@matsl matsl marked this pull request as ready for review November 2, 2025 16:16
@matsl matsl merged commit 4319223 into master Nov 2, 2025
4 checks passed
@matsl matsl deleted the export_hywiki_with_use_of_org_ids branch November 2, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants