common-workflow-language / common-workflow-language/schema_salad

schema-salad-tool HTML generation

Offen
#405 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
86
Forks
64
Ø Merge
19 Std. 24 Min.
Gemergte PRs (30 T.)
19

Beschreibung

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
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.