Skip to content

About

Converts Specify's schema to an HTML page

Resources

Stars

0 stars

Watchers

3 watching

Forks

Repository files navigation

schema_to_html

Converts Specify's schema to an HTML or TSV page

See result

Requirements

You need to have Python 3.8+, a checked out repository of Specify 6 and an installed copy of Specify 6

Configuration

Configuration options are described in ./config.py

Additionally, you might want to change the schema version number by editing ./html_templates/main.html

Generating output

Adjust the variables in config.py as needed, then run the script:

python main.py --output ./schema.html --format html

Supported formats are HTML and TSV

If TSV format is chosen, you can also optionally specify the language:

python main.py --output ./schema.tsv --format tsv --language en

The resulting HTML file (schema.html) would be saved in the same directory as main.py.

You will need to rerun main.py each time there is a schema change in Specify.

About

Converts Specify's schema to an HTML page

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages