common-workflow-language / common-workflow-language/schema_salad
schema-salad-tool HTML generation
- Dominant language
- Python
- Stars
- 86
- Forks
- 64
- Avg merge
- 19h 24m
- Merged PRs (30d)
- 19
Description
According to documentation, HTML doc can be generated by
`
schema-salad-tool schema.yaml > schema.html
`
but `schema-salad-tool` only validates when run with only schema file argument.
So shouldn't the example use `schema-salad-doc` tool?
Also, am getting the following error when running `schema-salad-tool --print-doc schema.xml`
```
/usr/local/bin/schema-salad-tool Current version: 7.1.20210611090601
Traceback (most recent call last):
File "/usr/local/bin/schema-salad-tool", line 33, in
sys.exit(load_entry_point('schema-salad==7.1.20210611090601', 'console_scripts', 'schema-salad-tool')())
File "/usr/local/lib/python3.9/site-packages/schema_salad-7.1.20210611090601-py3.9.egg/schema_salad/main.py", line 252, in main
File "/usr/local/lib/python3.9/site-packages/schema_salad-7.1.20210611090601-py3.9.egg/schema_salad/makedoc.py", line 738, in makedoc
AttributeError: 'Namespace' object has no attribute 'brandstyle'
```
I'm on a Mac using python3 and installed schema salad with
```
$ git clone
$ cd
$ python3 setup.py install
```
Contributor guide
Assessment
This issue has not been assessed yet.