On the TFS plugin we recently moved out docs to the github code repo as a
readme .

https://github.com/jenkinsci/tfs-plugin

And if you want to get more fancy you could easily create a documentation
site with the maven site plugin and writing the docs themselves in markdown
or asciidoc. E.g. check out my android-maven-plugin site.. all written in
asciidoc.

http://simpligility.github.io/android-maven-plugin/

You can go further and style it if you want as well. And of course you can
host it anywhere since its just a static site. In this case its just hosted
with github pages..

Manfred

On Wed, Mar 9, 2016 at 8:13 AM, Rafael Rezende <[email protected]>
wrote:

> We have a growing number of Jenkins plugins in our company's repository.
> They are all for specific purposes, reason why there is no plan to release
> them in public repository any time soon *(plus legal issues :-( shame)*.
> Anyway, we had plugin docs scattered all over our departments worldwide
> until we decided to provide a central confluence and a template plugin in
> which the URL is set to a generated page. We still don't have 100% of
> adoption, but the culture is growing...
>
> Another issue as to keep sync between the documentation and the plugin
> version. Confluence has this nasty thing of assigning a fix id to the *latest
> *version of the page. So, if you want to get a permanent id for the
> current page, you actually have to bump the page version once, get the
> fixed id from the history etc... Plus, there is no mapping between plugin
> version and the corresponding documentation for that release.
>
> For the reasons above, I was thinking about introducing the documentation
> in markdown format directly from the Jenkins plugin itself. That is, an
> extra doc folder in the plugin's source that will be part of the snapshot
> (tag, revision, release.. you name it). This way, there is a direct
> correlation between the source and the doc, devs feel motivated (or
> compelled) to update docs accordingly, and I can generate the pages
> automatically saving people the trouble of managing confluence pages.
>
> I'm suggesting it here because not long ago you established that plugins
> without documentation in your confluence are to be considered deprecated.
> So, maybe providing the template doc with the plugin (in your maven
> template skeleton, for example) might be the next step.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/3f43f737-27ea-4f3f-b9e4-e3a466cd0ae5%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/3f43f737-27ea-4f3f-b9e4-e3a466cd0ae5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CABffhO7J8BQCxx1saupxOBAVJuQpkxbdANbya%2BPGh13Fo9%2B7gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to