MangelMaxime / Nacara

https://mangelmaxime.github.io/Nacara/
Other
48 stars 7 forks source link

Rewrite Nacara to run on top of .NET #179

Closed MangelMaxime closed 1 year ago

MangelMaxime commented 2 years ago

Nacara running on top of JavaScript allows to benefit from amazing libraries for Markdown parsing + syntax highlighting for example.

However, the mechanism to register a extends Nacara are just not easy to do because of the mix of F# and JavaScript.

Moreover, the API generation requires the invocation of an external tools because we can't have the F# compiler service or F# formatting running on top of JavaScript.

MangelMaxime commented 2 years ago

Goal:

MangelMaxime commented 1 year ago

After giving it a try and re-thinking what gives value to Nacara I came up with the following conclusion:

What I want from Nacara, is to provide good looking documentation for F# project and have support for API generation. Nacara doesn't aim to create a new static site generator which can compete with projects like Hugo, Eleventy, Jekyll, etc.

When thinking like that I came up with the decision to create Nacara as a plugin on top of an existing site generator.

See https://github.com/MangelMaxime/Nacara/issues/197

I also decided to stop trying to implement it in .NET because I find it difficult to have a correct file watch and server implement using .NET (now I am delegating this work to another project and focus on solving the problem that matter the most to me).