iconify

iconify

This script should generate icons.json (e.g. iconify) from existing svgs so that icons are available for use with tools mermaid that load the svg from json.

Functions

Name Description
aliases Generate aliases and print to console.
create_alias For a short name, create its long alias.
create_aliases Create aliases $.aliases.
create_iconify_icon Create $.icons values.
create_iconify_json Create kubernetes.json, the iconify icon set.
create_icons Create $.icons.
create_name Create name from path.
load Load and process the svg file at path.
main Create kubernetes iconify json.
names Generate names and print to console.
pull Download the svgs from github using the API.
walk Iterate through directory content.

aliases

iconify.aliases(include=list())

Generate aliases and print to console.

create_alias

iconify.create_alias(name)

For a short name, create its long alias.

create_aliases

iconify.create_aliases(names)

Create aliases $.aliases.

create_iconify_icon

iconify.create_iconify_icon(path)

Create $.icons values.

create_iconify_json

iconify.create_iconify_json(include=set())

Create kubernetes.json, the iconify icon set.

create_icons

iconify.create_icons()

Create $.icons.

create_name

iconify.create_name(path)

Create name from path.

load

iconify.load(path)

Load and process the svg file at path.

main

iconify.main(include=list(), out=None)

Create kubernetes iconify json.

names

iconify.names()

Generate names and print to console.

pull

iconify.pull(gh_token=None)

Download the svgs from github using the API.

walk

iconify.walk(directory)

Iterate through directory content.