An open API service indexing awesome lists of open source software.

https://github.com/lottiefiles/lottie-docs

Documentation for the lottie file format
https://github.com/lottiefiles/lottie-docs

documentation lottie lottie-animation lottie-web schema

Last synced: 5 months ago
JSON representation

Documentation for the lottie file format

Awesome Lists containing this project

README

          

Lottie Documentation
====================

This repository contains both human-readable and machine-readable documentation about the Lottie format

The documentation is available online at https://lottiefiles.github.io/lottie-docs/

License
-------

CC-BY 4.0

Setting Up
----------

This project uses `mkdocs` to generate the HTML pages from the documentation,
and `pip` to install dependencies.

It's recommended you install dependencies on some kind of virtual environment.

Once you have your environment, you can run

pip install requirements.txt

or

make install_dependencies

Building the Docs
-----------------

You can use

make

To build the static HTML.

During development, you might want to use

make docs_serve

Which spins up a local server to host the docs and automatically reloads when done

Finding Unknown Features
------------------------

You can run `./tools/unknown_features.js` and pass file names as arguments
and it will print a summary of unknown features in the given files.

Note that it requires modern versions of node and the compiled schema.

Example with setup:

# Build the schema
make lottie.schema.json

# Install newer node on python virtualenv
pip install nodeenv
nodeenv -p

# Run on several files
./tools/unknown_features.js /my/lotties/*.json