Skip to content
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

Documentation strategy for this repo going forward. #146

Open
hsyed opened this issue Sep 16, 2018 · 4 comments
Open

Documentation strategy for this repo going forward. #146

hsyed opened this issue Sep 16, 2018 · 4 comments

Comments

@hsyed
Copy link
Contributor

hsyed commented Sep 16, 2018

Skydoc had a lot of problems and was becoming a major hinderance for this repo so it has been removed. A new documentation tool is in the works. I don't have any details for this but I think I will use it once it is available.

A lot of the internal and public elements of the rules are already documented but it is outdated. I suspect the new tool will work out of the box. However, this won't be the whole solution, design docs , usage tutorials and faqs cant all be inlined and extracted from the rules.

The go rules use rst for hand written documentation. I really like this approach. I have since discovered asciidoc it is functionally equivalent to rst as a better markdown but it is easier to work with (richer intellij plugin, simpler patterns and supported by github).

I wonder what output formats the new Skydoc tool will support. It would be nice to be able to weave the extracted documentation into technical documentation that is written in markdown / rst / asciidoc. It is quite valuable to have the rule contracts documented and browse-able via github without having to go to a separate website.

I'll make a start on some asciidoc -- but I need feedback on how heavily I should invest in it as I don't know what is on the horizon. The kotlin rules need a lot of documentation for users and developers alike so it's important to get to a stable documentation strategy. If you are working on bazel core, the new tool or have any insights please give your feedback.

@hsyed
Copy link
Contributor Author

hsyed commented Sep 16, 2018

cc @laurentlb

@laurentlb
Copy link
Contributor

cc @c-parsons

@pauldraper
Copy link

The new Stardoc tool is much better than the old one.

It supports both Markdown and HTML.

I'm sure you can get superior documentation by hand, but the new Stardoc is at least reasonable.

@bradb423
Copy link
Contributor

Hi there,

Is there anything still outstanding in this issue in order for it to be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants