-
Notifications
You must be signed in to change notification settings - Fork 53
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
Create command line tools to automate documentation #344
Comments
Also, there are the identifier lists in
|
@TristanCacqueray here is my first attempt at the recipe tree: |
- add `generate` subparser to the executable - create a generator for a Graphviz entity dependencies graph - part of #344 You can interactively test this with: ```bash $ cabal run swarm:swarm -- generate recipes \ | sed -n '/^digraph/,$p' > docs/recipes.dot $ xdot docs/recipes.dot ```
Generate table for [Commands Cheat Sheet](https://github.com/swarm-game/swarm/wiki/Commands-Cheat-Sheet) Wiki. - part of #344
We should figure out how to use vty terminal mocking or some other way to produce a text representation of the UI - this would be useful to draw recipes but also for testing and documentation. |
I think I will resume this next so that we can keep the whole Wiki up to date. Making the recipe graph more useful is a separate problem, that I will finish later. It involves:
|
How to render recipes:
Honestly I am not sure how to get just simple text. |
Good question. We should ask @jtdaugherty. |
@byorgey I created an upstream issue for it: I wonder if there are other Widgets we would like to print. However, I would like to close this issue and come back to the other improvements later. 🙂 |
- generate wiki for: - entities - recipes (table and added recipe graph image) - capabilities (only table) - properly parse command line argument for `generate cheatsheet` - closes #344
It would be nice to have either a separate executable or a new parameter to generate documentation.
Some ideas:
The text was updated successfully, but these errors were encountered: