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

Doc bugs: what is the syntax for bowler test?, obsolete or future-functionality documentation, and a doc info request #136

Open
sten0 opened this issue Dec 20, 2020 · 1 comment

Comments

@sten0
Copy link

sten0 commented Dec 20, 2020

Hi,

I'm packaging Bowler for Debian, and while working on the man page I wasn't able to find documentation for bowler test. Is it:

test [path | module] [-- options]

or something else? https://pybowler.io/docs/api-commands is missing this info too.

Other than that, I also found what appears to be either obsolete or yet-to-be-written functionality documented here: https://github.com/facebookincubator/Bowler/blame/master/bowler/README.md#L46

In Debian we have a policy of providing as complete documentation as possible so that a user can put the software on a disk, disappear to a desert island, install it there, and have the all information at hand that is necessary to learn to use the software proficiently without internet access. At this time, the documentation appears to require Github-specific tooling. Do you know where I can find that tooling? If for some reason that tooling is not permissively licensed enough to meet the Debian Free Software Guidelines, or flexible enough, would you be willing to accept a PR demonstrates full and careful conversion to sphinxdoc? I understand this would require changes to the website's config, which is why I'm offering to help out (probably in January). Why sphinxdoc? It's a great format for conversion to HTML, PDF, man, info, and even EPUB, and it has some nice automatic features. I think you'd like the tooling :-)

Here's a practical and to-the-point intro article: https://medium.com/@andreas.007/automate-documentation-in-python-925c38eae69f
And some of the available themes: https://sphinx-themes.org

The HTML output is also supports fancy JS features, but by January I'll be limited to the ones that are already in Debian (we're going into a feature freeze then, so no new packages, and all packages and docs must be buildable without internet access).

Thank you for your work on Bowler!
Nicholas

@sten0
Copy link
Author

sten0 commented Dec 21, 2020

Update: regarding bowler test I found "test codemod" appears to be the syntax, and found https://github.com/facebook/codemod, but I haven't been able to figure out what the connection between the two is. Is bowler test just a convenience interface for codemod? Can codemod be used to extend Bowler Query programs to do codemod operations at the same time?

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

No branches or pull requests

1 participant