|
| 1 | +const remarkGfm = require('remark-gfm'); |
| 2 | + |
| 3 | +module.exports = { |
| 4 | + pathPrefix: "/execution-apis", |
| 5 | + siteMetadata: { |
| 6 | + title: 'Ethereum JSON-RPC Specification', |
| 7 | + description: 'A specification of the standard interface for Ethereum clients.', |
| 8 | + siteUrl: process.env.GITHUB_REPOSITORY |
| 9 | + ? `https://${process.env.GITHUB_REPOSITORY.split('/')[0]}.github.io/execution-apis` |
| 10 | + : 'https://ethereum.github.io/execution-apis', // fallback for local development |
| 11 | + logoUrl: 'https://raw.githubusercontent.com/open-rpc/design/master/icons/open-rpc-logo-noText/open-rpc-logo-noText%20(PNG)/256x256.png', |
| 12 | + primaryColor: '#3f51b5', //material-ui primary color |
| 13 | + secondaryColor: '#f50057', //material-ui secondary color |
| 14 | + author: '', |
| 15 | + menuLinks: [ |
| 16 | + { name: 'Introduction', link: '/intro' }, |
| 17 | + { |
| 18 | + name: 'API Documentation', |
| 19 | + link: '/api-documentation' |
| 20 | + }, |
| 21 | + { name: 'Quickstart', link: '/quickstart' }, |
| 22 | + { name: 'Contributors Guide', link: '/contributors-guide' }, |
| 23 | + { name: 'Testing', link: '/tests'}, |
| 24 | + { name: 'Ethsimulatev1 notes', link: '/ethsimulatev1-notes' }, |
| 25 | + ], |
| 26 | + footerLinks: [ |
| 27 | + { |
| 28 | + name: 'OpenRPC', |
| 29 | + link: 'https://open-rpc.org' |
| 30 | + } |
| 31 | + ] |
| 32 | + }, |
| 33 | + plugins: [ |
| 34 | + { |
| 35 | + resolve: 'gatsby-plugin-mdx', |
| 36 | + options: { |
| 37 | + extensions: ['.mdx', '.md'], |
| 38 | + gatsbyRemarkPlugins: [ |
| 39 | + { |
| 40 | + resolve: 'gatsby-remark-autolink-headers', |
| 41 | + options: { |
| 42 | + icon: false, |
| 43 | + }, |
| 44 | + }, |
| 45 | + ], |
| 46 | + mdxOptions: { |
| 47 | + remarkPlugins: [remarkGfm], |
| 48 | + }, |
| 49 | + }, |
| 50 | + }, |
| 51 | + "gatsby-openrpc-theme", |
| 52 | + { |
| 53 | + resolve: 'gatsby-plugin-manifest', |
| 54 | + options: { |
| 55 | + name: 'pristine-site', |
| 56 | + short_name: 'pristine-site', |
| 57 | + start_url: '/execution-apis/', |
| 58 | + background_color: 'transparent', |
| 59 | + theme_color: '#3f51b5', |
| 60 | + display: 'minimal-ui', |
| 61 | + icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site. |
| 62 | + }, |
| 63 | + }, |
| 64 | + "gatsby-plugin-image", |
| 65 | + "gatsby-plugin-sharp", |
| 66 | + "gatsby-transformer-sharp", |
| 67 | + { |
| 68 | + resolve: "gatsby-source-filesystem", |
| 69 | + options: { |
| 70 | + name: "images", |
| 71 | + path: __dirname + '/src/images', |
| 72 | + }, |
| 73 | + }, |
| 74 | + { |
| 75 | + resolve: "gatsby-source-filesystem", |
| 76 | + options: { |
| 77 | + name: "docs", |
| 78 | + path: __dirname + '/../../../docs/reference', |
| 79 | + }, |
| 80 | + }, |
| 81 | + ], |
| 82 | +} |
0 commit comments