-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggest] lentic can use org-publish to generate html #23
Comments
Nice to see you using lentic. I've just changed the lentic-doc functionality, so that I can do publishing of an arbitrary package (currently, aimed at m-buffer which I thought was the only package other than lentic using lentic to document itself). I could easily add support for using org-publish. I'm confused in this case though -- why is recursion valueable for you? |
my package chinese-pyim use lentic-doc too, in my opinion , recursion very import, i can use [[ file:sample.org]] instead #+include sample.org |
org-publish can auto convert sample.org to sample.html |
The example:
org-puglish can auto convert lentic-mode.org to lentic-mode.html, and the above become a link. |
Okay -- so you mean "export everything" rather than recursively? The lentic-doc package currently checks for a variable with name "feature-doc" -- so "lentic-doc" or "m-buffer-doc". The logic for handling this iff it's a string, treat it as the name of the "main" org file, iff t then just use the orgified file of the package (so lentic.org or m-buffer.org). I could also add -- iff it's a list, treat it as an org-project-alist and publish (as you have done). Or most generically of all, iff it's a function call it. Would these work for you? I have to say, though, I prefer my solution! Using org-info.js over a single document is, to me, more convenient than putting "See also" links in. |
Good idea! |
I use lentic with different way, my interesting is like this:
the below is my example, works very well:
|
It makes sense -- in fact, I do the same thing. I will try and add the org-publish support (or will accept a PR). |
I think we can use org-publish in lentic, which can recursive generate html, the below is my example code:
The text was updated successfully, but these errors were encountered: