xapps-site Project Structure Analysis
Project Overview
Project Name: xapps-site
Type: Jekyll Static Site (Documentation & Marketing)
Base URL: Shopify apps documentation and product site
Build Tool: Jekyll with Ruby
Directory Structure
Root Level Files
_config.yml- Jekyll configuration with GA4 tracking and docs collection settingsGemfile/Gemfile.lock- Ruby dependenciespackage.json- Node scripts for dev/build (Jekyll commands)CNAME- Custom domain configurationREADME.md- Project documentationreviews.md- Customer reviews content- HTML Pages:
index.html,docs.html,contact.html,privacy-policy.html
Core Directories
_docs/ - Documentation Source Files
Contains 14 markdown documentation files organized by feature:
Custom Redirect Features:
custom-widget.md- Widget-based redirects (popup/topbar/select)custom-auto.md- Automatic redirects for custom domainsmarkets-widget.md- Location-based widget redirectsmarkets-auto.md- Automatic location-based redirects
Developer References:
dev-custom-widget.md- Developer guide for Custom Widgetdev-custom-auto.md- Developer guide for Custom Autodev-markets-widget.md- Developer guide for Markets Widgetdev-markets-auto.md- Developer guide for Markets Auto
Configuration & Settings:
getting-started.md- Onboarding guideplans.md- Pricing and feature plansdisplay-settings.md- Widget frequency and timing settingsgeo-targeting.md- Location matching and visibility rulesutm-tracking.md- Analytics and UTM parametersfaq.md- Frequently asked questionstheme-embed.md- Theme integration guide
_layouts/ - Jekyll Templates
default.html- Main site layoutdocs.html- Documentation page layout with sidebar navigation
_includes/ - Reusable Components
header.html- Header componentglobe.html- Interactive globe component
assets/ - Static Assets
browserconfig.xml- Browser config for Microsoft tilesmanifest.json- PWA manifest file
css/ - Stylesheets
style.css- Main stylesheet (responsive design, doc sidebar, theme variables)
js/ - JavaScript
globe.js- Interactive globe functionalitytheme.js- Theme switching (light/dark mode)contact-canvas.js- Contact form animations
raw/ - Raw Documentation
Contains unprocessed versions of developer docs:
docs/dev-custom-auto.mddocs/dev-custom-widget.mddocs/dev-markets-auto.mddocs/dev-markets-widget.md
textures/ - 3D Assets
earth.txt/earth.backup.txt- Globe texture data
_site/ - Built Output
Generated by Jekyll build process. Mirror of source with compiled HTML.
Documentation Categories & Hierarchy
Feature Categories:
- Custom Redirects (order: 1-3)
- Custom Widget (order: 3)
- Custom Auto (order: 2)
- Markets Redirects (order: 4-5)
- Markets Widget (order: 5)
- Markets Auto (order: 4)
- Configuration (order: 6-7)
- Display Settings (order: 6)
- Geo Targeting (order: 7)
- Integration & Analytics (order: 8-9)
- UTM & Tracking (order: 8)
- Theme Embed (order: 9)
- General (order: 10-11)
- Getting Started (order: 10)
- Plans (order: 11)
- FAQ
- Developers (order: 12-15)
- Custom Widget (order: 12)
- Custom Auto (order: 13)
- Markets Widget (order: 14)
- Markets Auto (order: 15)
Recent Changes Made (March 3, 2026)
Menu Item Title Updates
Removed “Developer Reference” suffix from menu item titles in Related Docs sections and page titles:
Files Updated:
_docs/custom-widget.md- Related Docs link updated_docs/custom-auto.md- Related Docs link and title updated_docs/markets-widget.md- Related Docs link updated_docs/markets-auto.md- Related Docs link updated_docs/geo-targeting.md- Related Docs link updated_docs/dev-custom-widget.md- Title updated from “Custom Widget Developer Reference” → “Custom Widget”_docs/dev-custom-auto.md- Title updated from “Custom Auto Developer Reference” → “Custom Auto”_docs/dev-markets-widget.md- Title updated from “Markets Widget Developer Reference” → “Markets Widget”_docs/dev-markets-auto.md- Title updated from “Markets Auto Developer Reference” → “Markets Auto”
Changes Applied:
- Sidebar menu (.docs-sidebar__group) now displays shorter, cleaner titles
- Related Docs sections have simplified link text while maintaining functionality
- All page routes remain unchanged (e.g.,
/docs/dev-custom-widget/still functional)
Jekyll Configuration Details
Collections:
docs- Outputs to true, permalink pattern:/docs/:path/
Analytics:
- Google Analytics 4 enabled (Measurement ID: G-F9BYNNKRNV)
Scripts:
npm run dev→bundle exec jekyll serve(local development)npm run build→bundle exec jekyll build(production build)
Key Features
- Documentation-Focused Site - 14 detailed markdown docs with cross-linking
- Responsive Design - CSS with theme variables for light/dark modes
- Interactive Elements - Globe visualization, theme switcher, contact animations
- SEO & PWA - Meta configuration, manifest file, GA4 tracking
- Developer-Friendly - Structured docs with code examples and API references
- Plan/Pricing Structure - Free, Basic, and Pro tier feature differentiation
Navigation Structure
Main Navigation:
- Index (home page)
- Docs (documentation portal)
- Contact
- Privacy Policy
Documentation Sidebar Categories:
- Custom Redirects
- Markets Redirects
- Configuration
- Integration
- General
- Developers
Build & Deployment
The site is a static Jekyll site suitable for GitHub Pages or any static host. Built output in _site/ directory contains all compiled HTML and assets.