Commit 00464150 authored by Fawad Mirzad's avatar Fawad Mirzad
Browse files

Move docs to a separate repo to decrease main repo size

parent 6264a026
Loading
Loading
Loading
Loading

docs/.gitignore

deleted100755 → 0
+0 −12
Original line number Diff line number Diff line
pids
logs
node_modules
npm-debug.log
coverage/
run
dist
.DS_Store
.nyc_output
.basement
config.local.js
basement_dist

docs/package-lock.json

deleted100644 → 0
+0 −10955

File deleted.

Preview size limit exceeded, changes collapsed.

docs/package.json

deleted100755 → 0
+0 −19
Original line number Diff line number Diff line
{
  "name": "@fawmi/vue-google-maps-docs",
  "version": "0.6.2",
  "description": "Google maps components for Vue.js",
  "main": "index.js",
  "authors": {
    "name": "Fawad Mirzad",
    "email": "hi@fawmi.com"
  },
  "repository": "https://github.com/fawmi/vue-google-maps.git",
  "scripts": {
    "dev": "vuepress dev src",
    "build": "vuepress build src"
  },
  "license": "MIT",
  "devDependencies": {
    "vuepress": "^1.8.1"
  }
}

docs/src/.vuepress/config.js

deleted100755 → 0
+0 −65
Original line number Diff line number Diff line
const { description } = require('../../package.json')

module.exports = {
  title: 'Vue 3 Google maps',
  description: description,
  base: '/',
  head: [
    ['meta', { name: 'theme-color', content: '#000' }],
  ],
  themeConfig: {
    repo: 'fawmi/vue-google-maps',
    editLinks: false,
    docsDir: 'docs',
    editLinkText: 'Edit on github',
    lastUpdated: false,
    logo: '/assets/logo.jpg',
    nav: [
      {
        text: 'Docs',
        link: '/docs/',
      },
      {
        text: 'NPM',
        link: 'https://www.npmjs.com/package/@fawmi/vue-google-maps'
      }
    ],
    sidebarDepth: 0,
    collapsable: false,
    sidebar: [
      {
        title: 'Getting started',
        path: '/docs/',
      },
      {
        title: 'Components',
        collapsable: false,
        path: '/components/',
        children: [
          '/components/map',
          '/components/marker',
          '/components/info-window',
          '/components/cluster',
          '/components/polygon',
          '/components/rectangle',
        ]
      },
      {
        title: 'Advanced',
        path: '/advanced/',
        sidebarDepth: 0,
        children: [
          '/advanced/introduction',
        ]
      }
    ]
  },

  /**
   * Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
   */
  plugins: [
    '@vuepress/plugin-back-to-top',
    '@vuepress/plugin-medium-zoom',
  ]
}

docs/src/.vuepress/enhanceApp.js

deleted100755 → 0
+0 −14
Original line number Diff line number Diff line
/**
 * Client app enhancement file.
 *
 * https://v1.vuepress.vuejs.org/guide/basic-config.html#app-level-enhancements
 */

export default ({
  Vue, // the version of Vue being used in the VuePress app
  options, // the options for the root Vue instance
  router, // the router instance for the app
  siteData // site metadata
}) => {
  // ...apply enhancements for the site.
}
Loading