Skip to content

Commit

Permalink
add mising debug log for API_CALLED
Browse files Browse the repository at this point in the history
  • Loading branch information
softvar authored and Varun Malhotra committed May 28, 2024
1 parent a63a432 commit 6a2b434
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "vwo-fme-node-sdk"]
path = vwo-fme-node-sdk
url = [email protected]:wingify/vwo-fme-node-sdk.git
branch = gh-pages
18 changes: 18 additions & 0 deletions docs.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: page
title: Wingify Engineering Projects - Documentation
description: Documentation of our public projects
permalink: /docs/
---


<div class="projects">
<div class="project-box">
<a href="/vwo-fme-node-sdk/">
<img src="/images/[email protected]" width="160" height="160">
<h3>VWO FME Node SDK - Documentation</h3>
</a>
<p>Node.js SDK for VWO Feature Management and Experimentation</p>
<span class="pill">javascript</span>
</div>
</div>
4 changes: 2 additions & 2 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ exports.createPages = ({ graphql, actions }) => {

const postsEdges = result.data.allMarkdownRemark.edges;

postsEdges.forEach((edge, index) => {
postsEdges.forEach((edge, index) => {
const nextID = index + 1 < postsEdges.length ? index + 1 : 0;
const prevID = index - 1 >= 0 ? index - 1 : postsEdges.length - 1;
const nextEdge = postsEdges[nextID];
Expand Down Expand Up @@ -89,7 +89,7 @@ exports.createPages = ({ graphql, actions }) => {
}
});
});*/
execSync("mkdir -p public/images && cp -R images/* public/images && cp robots.txt public/robots.txt && cp -R labs/* public/ && cp -R css public/");
execSync("mkdir -p public/images && mkdir -p public/vwo-fme-node-sdk && cp -R images/* public/images && cp robots.txt public/robots.txt && cp -R labs/* public/ && cp -R css public/ && cp -R vwo-fme-node-sdk/* public/vwo-fme-node-sdk");
resolve();
});
});
Expand Down
31 changes: 31 additions & 0 deletions src/pages/docs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import React from 'react'
import Helmet from 'react-helmet'
import Layout from '../layout'
import config from '../../data/SiteConfig'

const LabsPage = () => (
<Layout>
<main>
<Helmet title={`Labs | ${config.siteTitle}`} />
<h1>Wingify Engineering Projects - Documentation</h1>
<h2>Documentation of our public projects</h2>
<br />
<div dangerouslySetInnerHTML={{
__html: `
<div class="projects">
<div class="project-box">
<a href="/vwo-fme-node-sdk/">
<img src="/images/[email protected]" width="160" height="160">
<h3>VWO FME Node SDK - Documentation</h3>
</a>
<p>Node.js SDK for VWO Feature Management and Experimentation</p>
<span class="pill">javascript</span>
</div>
</div>
` }} />
<br />
</main>
</Layout>
)

export default LabsPage
1 change: 1 addition & 0 deletions vwo-fme-node-sdk
Submodule vwo-fme-node-sdk added at b43fc0

0 comments on commit 6a2b434

Please sign in to comment.