Open protolambda opened 5 years ago
Also, for a future PR, I'm looking to improve the manual builder; the current builder flattens the manual structure and breaks all relative links in the markdown (it doesn't even change .md
to .html
). I'm thinking of creating a second manual-builder class that will implement this, and then we can compare/merge/replace the builders later.
Hey, ESdoc has been of great use so far, but some of the html generation was not customizable enough for me. So I changed the builder system a bit:
HtmlBasePlugin
, and left a proxy to it. It works the same as previously, but people can extend the Plugin class ofesdoc-publish-html-plugin
now to add their own builders.exec
function signature. Constructors can be different, but I kept the default set of builders consistent (builders are added by providing a creator-function, which wraps instantiation).DocBuilder
class in two: a base builder class namedBuilder
that's very general, andDocBuilder
. The oldDocBuilder
class is way too large for my liking, it's better to layer functionality.Features:
See the new
esdoc-publish-html-plugin
README.md
for details about the configuration format.