Import publisher data from various sources and generate publisher pages for the Ubooquity Comixology Theme.
- Comixology
- Node >= 8
- Yarn >= 1.3
Install the dependencies:
yarn
Import all sources:
yarn generate
Import a single source:
yarn generate --importers=comixology
Import multiple sources:
yarn generate --importers=importer1,importer2
- add an entry to the publishers/publishers.json
- ensure it conforms to the publisher format
- yarn generate-pages
- name - Name of the publisher
- url (optional) - Url to publisher page, there for quick validation of generated pages
- logo - Url of the publisher logo to be downloaded
- banner - Url of the publisher banner to be downloaded
- backgroundColor - color that shows behind issues
- textColor - color for issue names
- imprints - list of publishers to be used as imprints
- bannerSpacing - On comixology sometimes they pull content closer to the banner depending on what the banner looks like. This is here to help replicate that on a manual basis if need be. 0 is normal positioning. A negative number will pull the content closer to the banner. A positive number would push the content further from the banner.