bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Add stardoc #56

Closed rzhw closed 3 years ago

rzhw commented 3 years ago

stardoc relies on feeding in a bzl or bzl_library that cover the rules to be documented.

Because the rules in this case depend on skylib and rules_nodejs, they should be added as deps to their associated bzl_library. They previously were not.

However, rules_nodejs is distributed with bzl_library references replaced with dummy references. A patch is needed to reverse this change to make the bzl_library dep work, and in turn allow stardoc to work as expected.

stardoc's output markdown can then be include()d into a docsite. Example output: docs.pdf (pdf exported from Xcode from md), doc.md.zip (zip of md)

Fixes #34