template:
    directory: template

title: Vapor Documentation
subTitle: A web framework and server for Swift that works on macOS and Ubuntu.

baseUrl: /1.5

menu:
    sections:
        getting-started:
            name: Getting Started
            items:
                getting-started-install-swift-3-macos:
                    text: "Install Swift 3: macOS"
                    relativeUrl: getting-started/install-swift-3-macos.html
                getting-started-install-swift-3-ubuntu:
                    text: "Install Swift 3: Ubuntu"
                    relativeUrl: getting-started/install-swift-3-ubuntu.html
                getting-started-install-toolbox:
                    text: Install Toolbox
                    relativeUrl: getting-started/install-toolbox.html
                getting-started-hello-world:
                    text: Hello, World
                    relativeUrl: getting-started/hello-world.html
                getting-started-manual:
                    text: Manual
                    relativeUrl: getting-started/manual.html
                getting-started-xcode:
                    text: Xcode
                    relativeUrl: getting-started/xcode.html
        guide:
            name: Guide
            items:
                guide-droplet:
                    text: Droplet
                    relativeUrl: guide/droplet.html
                guide-folder-structure:
                    text: Folder Structure
                    relativeUrl: guide/folder-structure.html
                guide-json:
                    text: JSON
                    relativeUrl: guide/json.html
                guide-config:
                    text: Config
                    relativeUrl: guide/config.html
                guide-views:
                    text: Views
                    relativeUrl: guide/views.html
                guide-leaf:
                    text: Leaf
                    relativeUrl: guide/leaf.html
                guide-controllers:
                    text: Controllers
                    relativeUrl: guide/controllers.html
                guide-middleware:
                    text: Middleware
                    relativeUrl: guide/middleware.html
                guide-validation:
                    text: Validation
                    relativeUrl: guide/validation.html
                guide-provider:
                    text: Provider
                    relativeUrl: guide/provider.html
                guide-sessions:
                    text: Sessions
                    relativeUrl: guide/sessions.html
                guide-hash:
                    text: Hash
                    relativeUrl: guide/hash.html
                guide-commands:
                    text: Commands
                    relativeUrl: guide/commands.html
        routing:
            name: Routing
            items:
                routing-basic:
                    text: Basic
                    relativeUrl: routing/basic.html
                routing-parameters:
                    text: Route Parameters
                    relativeUrl: routing/parameters.html
                routing-query-parameters:
                    text: Query Parameters
                    relativeUrl: routing/query-parameters.html
                routing-group:
                    text: Group
                    relativeUrl: routing/group.html
                routing-collection:
                    text: Collection
                    relativeUrl: routing/collection.html
        fluent:
            name: Fluent
            items:
                fluent-driver:
                    text: Driver
                    relativeUrl: fluent/driver.html
                fluent-model:
                    text: Model
                    relativeUrl: fluent/model.html
                fluent-query:
                    text: Query
                    relativeUrl: fluent/query.html
                fluent-relation:
                    text: Relation
                    relativeUrl: fluent/relation.html
        auth:
            name: Auth
            items:
                auth-user:
                    text: User
                    relativeUrl: auth/user.html
                auth-middleware:
                    text: Middleware
                    relativeUrl: auth/middleware.html
                auth-request:
                    text: Request
                    relativeUrl: auth/request.html
                auth-protect:
                    text: Protect
                    relativeUrl: auth/protect.html
        http:
            name: HTTP
            items:
                http-request:
                  text: Request
                  relativeUrl: http/request.html
                http-response:
                    text: Response
                    relativeUrl: http/response.html
                http-body:
                    text: Body
                    relativeUrl: http/body.html
                http-response-representable:
                    text: ResponseRepresentable
                    relativeUrl: http/response-representable.html
                http-responder:
                    text: Responder
                    relativeUrl: http/responder.html
                http-client:
                    text: Client
                    relativeUrl: http/client.html
                http-server:
                    text: Server
                    relativeUrl: http/server.html
                http-cors:
                    text: CORS
                    relativeUrl: http/cors.html

        web-sockets:
            name: WebSockets
            items:
                websockets-droplet:
                    text: Droplet
                    relativeUrl: websockets/droplet.html
                websockets-custom:
                    text: Custom
                    relativeUrl: websockets/custom.html

        testing:
          name: Testing
          items:
              testing-modules:
                  text: Modules
                  relativeUrl: testing/modules.html
              testing-basic:
                  text: Basic
                  relativeUrl: testing/basic.html


        deploy:
          name: Deploy
          items:
              deploy-nginx:
                  text: Nginx
                  relativeUrl: deploy/nginx.html
              deploy-supervisor:
                  text: Supervisor
                  relativeUrl: deploy/supervisor.html


        versions:
            name: Version (1.5)
            items: 
                1_5:
                    text: '1.5'
                    relativeUrl: switch/1_5.html
                2_0:
                    text: '2.0'
                    relativeUrl: switch/2_0.html
                3_0:
                    text: '3.0-beta'
                    relativeUrl: switch/3_0.html
