0.0.100 • Published 5 months ago

gatsby-plugin-noodl v0.0.100

Weekly downloads
-
License
0BSD
Repository
-
Last release
5 months ago

gatsby-plugin-noodl

Installation

npm install --save gatsby-plugin-noodl

Usage

Enter this into your gatsby-config.js inside plugins:

module.exports = {
  plugins: ['gatsby-plugin-noodl'],
}

Alternatively you can provide options to the plugin by passing them into the options property:

module.exports = {
  siteMetadata: {
    siteTitle: '',
  },
  plugins: [
    {
      resolve: 'gatsby-plugin-noodl',
      // Default options
      options: {
        assets: './src/resources/assets',
        buildSource: 'remote',
        config: 'www',
        deviceType: 'web',
        ecosEnv: 'test',
        loglevel: 'debug',
        path: '',
        startPage: 'HomePage',
        template: require.resolve('./src/templates/page.tsx'),
        viewport: {
          width: 1024,
          height: 768,
        },
      },
    },
  ],
}

Plugin Options

template (required)

The path to the template page that will be rendering noodl pages

assets (optional)

The path to save downloaded assets to

buildSource (optional, defaults to "remote")

If buildSource is "local" it will build using files locally (using "path" configured above).

If buildSource is "remote" it will build files remotely using the "config" key as the endpoint.

config (optional, defaults to "aitmed")

The config name (example: 'meetd2')

Defaults to aitmed

deviceType (optional, defaults to "web")

ecosEnv (optional, defaults to "stable")

The eCOS environment. Defaults to stable

EnvironmentValue
Stable'stable'
Test'test'

loglevel(optional, defaults to "info")

Logging output level.

LevelDescription
'error'Only log errors
'warn'Only log warnings and errors
'info'Only log info, warnings and errors
'debug'Log everything
'silent'Disable all logging

path (optional)

The path to save yml files to

startPage (optional, defaults to "HomePage")

viewport (optional, defaults to { width: 1024, height: 768 })

The viewport used to calculate the dimensions for static pages

0.0.100

5 months ago

0.0.84

2 years ago

0.0.88

2 years ago

0.0.89

2 years ago

0.0.90

2 years ago

0.0.81

2 years ago

0.0.82

2 years ago

0.0.83

2 years ago

0.0.79

2 years ago

0.0.77

2 years ago

0.0.78

2 years ago

0.0.51

2 years ago

0.0.74

2 years ago

0.0.52

2 years ago

0.0.75

2 years ago

0.0.53

2 years ago

0.0.54

2 years ago

0.0.66

2 years ago

0.0.67

2 years ago

0.0.68

2 years ago

0.0.57

2 years ago

0.0.69

2 years ago

0.0.58

2 years ago

0.0.70

2 years ago

0.0.71

2 years ago

0.0.60

2 years ago

0.0.59

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago