mirror of https://github.com/vapor/docs.git
fix mkdocs.yml formatting
This commit is contained in:
parent
35168e52b9
commit
8a9f617a15
|
|
@ -124,10 +124,12 @@ edit_uri: https://github.com/vapor/documentation/edit/master/2.0/docs/
|
|||
extra:
|
||||
logo: 'images/droplet-white.svg'
|
||||
social:
|
||||
- type: 'twitter'
|
||||
- icon: fontawesome/brands/twitter
|
||||
link: 'https://twitter.com/@codevapor'
|
||||
- type: 'slack'
|
||||
- icon: fontawesome/brands/discord
|
||||
link: 'http://vapor.team/'
|
||||
- icon: fontawesome/brands/github
|
||||
link: 'https://github.com/vapor'
|
||||
font:
|
||||
text: 'Roboto Slab'
|
||||
code: 'Source Code Pro'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg
|
||||
width="50px"
|
||||
height="50px"
|
||||
viewBox="0 0 50 50"
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
>
|
||||
<title>Vapor</title>
|
||||
<desc>The Vapor droplet logo in white.</desc>
|
||||
<g id="droplet" fill="#FFFFFF">
|
||||
<path
|
||||
d="M17.6186417,50 C17.6186417,50 35.2941176,27.6875238 35.2941176,17.8366268 C35.2941176,7.98572985 27.3932603,0 17.6470588,0 C7.90085736,0 0,7.98572985 0,17.8366268 C0,27.6875238 17.6186417,50 17.6186417,50 Z"
|
||||
transform="translate(17.647059, 25.000000) scale(1, -1) translate(-17.647059, -25.000000)"
|
||||
></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 699 B |
|
|
@ -1,7 +1,6 @@
|
|||
site_name: 'Vapor Docs'
|
||||
copyright: 'Copyright © 2018 Qutheory, LLC'
|
||||
site_url: 'https://docs.vapor.codes/3.0/'
|
||||
|
||||
site_name: Vapor Docs
|
||||
copyright: Copyright © 2018 Qutheory, LLC
|
||||
site_url: https://docs.vapor.codes/3.0/
|
||||
nav:
|
||||
- 'Overview': 'index.md'
|
||||
- 'Install':
|
||||
|
|
@ -125,8 +124,6 @@ nav:
|
|||
- '4.0': 'version/4_0.md'
|
||||
- 'Upgrading': 'version/upgrading.md'
|
||||
- 'Support': 'version/support.md'
|
||||
|
||||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- codehilite:
|
||||
|
|
@ -135,30 +132,27 @@ markdown_extensions:
|
|||
- meta
|
||||
- toc:
|
||||
permalink: true
|
||||
|
||||
theme:
|
||||
name: 'material'
|
||||
custom_dir: 'theme/'
|
||||
name: "material"
|
||||
custom_dir: "theme/"
|
||||
palette:
|
||||
primary: 'blue'
|
||||
accent: 'purple'
|
||||
# logo: 'images/droplet-white.svg'
|
||||
|
||||
primary: "blue"
|
||||
accent: "purple"
|
||||
logo: "logo.svg"
|
||||
repo_url: http://github.com/vapor/vapor
|
||||
edit_uri: https://github.com/vapor/documentation/edit/master/3.0/docs/
|
||||
extra:
|
||||
social:
|
||||
- type: 'twitter'
|
||||
- icon: fontawesome/brands/twitter
|
||||
link: 'https://twitter.com/@codevapor'
|
||||
- type: 'slack'
|
||||
- icon: fontawesome/brands/discord
|
||||
link: 'http://vapor.team/'
|
||||
- type: 'github'
|
||||
- icon: fontawesome/brands/github
|
||||
link: 'https://github.com/vapor'
|
||||
font:
|
||||
text: 'Roboto Slab'
|
||||
code: 'Source Code Pro'
|
||||
disqus: 'vapor-docs'
|
||||
|
||||
google_analytics:
|
||||
- 'UA-76177358-4'
|
||||
- 'auto'
|
||||
|
|
|
|||
112
4.0/mkdocs.yml
112
4.0/mkdocs.yml
|
|
@ -1,18 +1,18 @@
|
|||
site_name: Vapor Docs
|
||||
site_url: "https://docs.vapor.codes/4.0/"
|
||||
site_url: https://docs.vapor.codes/4.0/
|
||||
repo_url: http://github.com/vapor/vapor
|
||||
edit_uri: https://github.com/vapor/documentation/edit/master/4.0/docs/
|
||||
theme:
|
||||
name: 'material'
|
||||
custom_dir: 'theme/'
|
||||
name: "material"
|
||||
custom_dir: "theme/"
|
||||
palette:
|
||||
primary: "black"
|
||||
accent: "blue"
|
||||
logo: "logo.png"
|
||||
extra:
|
||||
font:
|
||||
text: 'Roboto Slab'
|
||||
code: 'Source Code Pro'
|
||||
text: "Roboto Slab"
|
||||
code: "Source Code Pro"
|
||||
google_analytics:
|
||||
- "UA-76177358-4"
|
||||
- "auto"
|
||||
|
|
@ -25,56 +25,56 @@ markdown_extensions:
|
|||
- toc:
|
||||
permalink: true
|
||||
nav:
|
||||
- 'Welcome': 'index.md'
|
||||
- 'Install':
|
||||
- 'macOS': 'install/macos.md'
|
||||
- 'Linux': 'install/linux.md'
|
||||
- 'Getting Started':
|
||||
- 'Hello, world': 'hello-world.md'
|
||||
- 'Folder Structure': 'folder-structure.md'
|
||||
- 'SPM': 'spm.md'
|
||||
- 'Basics':
|
||||
- 'Routing': 'routing.md'
|
||||
- "Welcome": "index.md"
|
||||
- "Install":
|
||||
- "macOS": "install/macos.md"
|
||||
- "Linux": "install/linux.md"
|
||||
- "Getting Started":
|
||||
- "Hello, world": "hello-world.md"
|
||||
- "Folder Structure": "folder-structure.md"
|
||||
- "SPM": "spm.md"
|
||||
- "Basics":
|
||||
- "Routing": "routing.md"
|
||||
# TODO: Improve quality
|
||||
# Mostly just a code sample with little explanation.
|
||||
# - 'Controllers': 'controllers.md'
|
||||
- 'Content': 'content.md'
|
||||
- 'Client': 'client.md'
|
||||
- 'Validation': 'validation.md'
|
||||
- 'Async': 'async.md'
|
||||
- 'Logging': 'logging.md'
|
||||
- 'Environment': 'environment.md'
|
||||
- 'Errors': 'errors.md'
|
||||
- 'Fluent':
|
||||
- 'Overview': 'fluent/overview.md'
|
||||
- 'Model': 'fluent/model.md'
|
||||
- 'Relations': 'fluent/relations.md'
|
||||
- 'Migration': 'fluent/migration.md'
|
||||
- 'Query': 'fluent/query.md'
|
||||
- 'Schema': 'fluent/schema.md'
|
||||
- 'Advanced': 'fluent/advanced.md'
|
||||
- 'Advanced':
|
||||
- 'Middleware': 'middleware.md'
|
||||
- 'Testing': 'testing.md'
|
||||
- 'Server': 'server.md'
|
||||
- 'Commands': 'commands.md'
|
||||
- 'Queues': 'queues.md'
|
||||
- 'WebSockets': 'websockets.md'
|
||||
- 'Sessions': 'sessions.md'
|
||||
- 'Services': 'services.md'
|
||||
- 'Security':
|
||||
- 'Authentication': 'authentication.md'
|
||||
- 'Crypto': 'crypto.md'
|
||||
- 'Passwords': 'passwords.md'
|
||||
- 'Deploy':
|
||||
- 'DigitalOcean': 'deploy/digital-ocean.md'
|
||||
- 'Herouku': 'deploy/heroku.md'
|
||||
- 'Supervisor': 'deploy/supervisor.md'
|
||||
- 'Nginx': 'deploy/nginx.md'
|
||||
- 'Docker': 'deploy/docker.md'
|
||||
- 'Version (4.0)':
|
||||
- '1.5': 'version/1_5.md'
|
||||
- '2.0': 'version/2_0.md'
|
||||
- '3.0': 'version/3_0.md'
|
||||
- '4.0': 'version/4_0.md'
|
||||
- 'Upgrading': 'upgrading.md'
|
||||
# - "Controllers": "controllers.md"
|
||||
- "Content": "content.md"
|
||||
- "Client": "client.md"
|
||||
- "Validation": "validation.md"
|
||||
- "Async": "async.md"
|
||||
- "Logging": "logging.md"
|
||||
- "Environment": "environment.md"
|
||||
- "Errors": "errors.md"
|
||||
- "Fluent":
|
||||
- "Overview": "fluent/overview.md"
|
||||
- "Model": "fluent/model.md"
|
||||
- "Relations": "fluent/relations.md"
|
||||
- "Migration": "fluent/migration.md"
|
||||
- "Query": "fluent/query.md"
|
||||
- "Schema": "fluent/schema.md"
|
||||
- "Advanced": "fluent/advanced.md"
|
||||
- "Advanced":
|
||||
- "Middleware": "middleware.md"
|
||||
- "Testing": "testing.md"
|
||||
- "Server": "server.md"
|
||||
- "Commands": "commands.md"
|
||||
- "Queues": "queues.md"
|
||||
- "WebSockets": "websockets.md"
|
||||
- "Sessions": "sessions.md"
|
||||
- "Services": "services.md"
|
||||
- "Security":
|
||||
- "Authentication": "authentication.md"
|
||||
- "Crypto": "crypto.md"
|
||||
- "Passwords": "passwords.md"
|
||||
- "Deploy":
|
||||
- "DigitalOcean": "deploy/digital-ocean.md"
|
||||
- "Herouku": "deploy/heroku.md"
|
||||
- "Supervisor": "deploy/supervisor.md"
|
||||
- "Nginx": "deploy/nginx.md"
|
||||
- "Docker": "deploy/docker.md"
|
||||
- "Version (4.0)":
|
||||
- "1.5": "version/1_5.md"
|
||||
- "2.0": "version/2_0.md"
|
||||
- "3.0": "version/3_0.md"
|
||||
- "4.0": "version/4_0.md"
|
||||
- "Upgrading": "upgrading.md"
|
||||
|
|
|
|||
Loading…
Reference in New Issue