Replies: 2 comments 1 reply
-
ok it seems that u want to use a snippet (defined in code) as an include. does that seem correct? if so i can make a change to enable it |
Beta Was this translation helpful? Give feedback.
0 replies
-
then u could define the snippet as
and use it with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking to do better in terms of keeping the documentation on my project up to date :).
I have an open source expression parsing/evaluating library and the general documentation covering the runtime use of it has fallen down the pecking order so I wanted to try and automate something.
The library itself is:
https://github.com/bijington/expressive
I try to provide complete XML documentation but currently that only really covers a developers use of it. The main part that I would like to automate is in somehow converting pages like this:
https://github.com/bijington/expressive/wiki/Date
to a page that could map back to the version of the library being used. This is where your library seems to possibly offer what I need however I am currently stuck trying to figure out how I can write snippets that are not actually compilable but would ideally be stored either inside the class (matching example to the wiki link above https://github.com/bijington/expressive/blob/main/Source/Expressive/Functions/Conversion/DateFunction.cs) I have implemented or at least nearby.
I have created a very basic branch/PR to try to show my lack of understanding here: bijington/expressive#105
TL-DR
I guess my initial question would be is it possible write snippets that are not code themselves?
Beta Was this translation helpful? Give feedback.
All reactions