Write meta description tag in documentation

This commit is contained in:
Simon Binder 2019-08-18 11:27:31 +02:00
parent 8ea7404133
commit ae47867c06
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
14 changed files with 480 additions and 18 deletions

View File

@ -1,8 +1,7 @@
---
title: "Moor - Reactive, typesafe persistence library for Dart"
description: >
Moor is a reactive and typesafe persistence library for Dart and Flutter apps. It generates code to let you write
complex queries easily.
description: Moor is a reactive and typesafe persistence library for Dart and Flutter apps.
It generates code to let you write complex queries easily.
linkTitle: "Moor"
---
@ -42,7 +41,8 @@ code.
{{% blocks/feature icon="fas fa-star" title="And much more!" %}}
Moor can also provide auto-updating streams emitting new results when the underlying data changes.
Moor makes dealing with transactions easy (no special parameter to pass around everywhere),
Moor makes dealing with transactions easy (no special parameter to pass around everywhere), lets
your write modular database code with DAOs and much more.
{{% /blocks/feature %}}
{{< /blocks/section >}}

View File

@ -1,8 +1,7 @@
---
title: "Joins"
weight: 1
description: >
Use joins to write queries that read from more than one table
description: Use joins to write queries that read from more than one table
aliases:
- /queries/joins
---

View File

@ -1,8 +1,7 @@
---
title: "Migrations"
weight: 10
description: >
Define what happens when your database gets created or updated
description: Define what happens when your database gets created or updated
aliases:
- /migrations
---

View File

@ -1,7 +1,6 @@
---
title: "Type converters"
description: >
Store more complex data in columns with type converters
description: Store more complex data in columns with type converters
aliases:
- /type_converters
---

View File

@ -1,7 +1,6 @@
---
title: "Many to many relationships"
description: >
An example that models a shopping cart system with moor.
description: An example that models a shopping cart system with moor.
---
## Defining the model

View File

@ -2,8 +2,7 @@
title: "Getting Started"
linkTitle: "Getting Started"
weight: 2
description: >
Simple guide to get a moor project up and running
description: Simple guide to get a moor project up and running
aliases:
- /getting-started/ # Used to have this url

View File

@ -1,8 +1,7 @@
---
title: "Writing queries"
linkTitle: "Writing queries"
description: >
Learn how to write database queries in pure Dart with moor
description: Learn how to write database queries in pure Dart with moor
aliases:
- /queries/
---

View File

@ -1,6 +1,7 @@
---
title: Web support
url: /web
description: Experimental support for moor and webapps.
---
Starting from moor `1.6`, you can experimentally use moor in Dart webapps. Moor web supports

View File

@ -5,8 +5,7 @@ weight: 20
menu:
main:
weight: 20
description: >
Welcome to the moor documentation. This site shows you what moor can do and how to use it.
description: Welcome to the moor documentation. This site shows you what moor can do and how to use it.
---
## So what's moor?

View File

@ -0,0 +1,36 @@
{{/* This file is adapted from themes/docsy/partials/head.html, but we use
the regular title for the home page and write a meta description tag */}}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ hugo.Generator }}
{{ if eq (getenv "HUGO_ENV") "production" }}
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
{{ else }}
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
{{ end }}
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
{{ partialCached "favicons.html" . }}
<title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ else }}
<meta name="description" content="{{ .Site.Params.SiteDescription }}">
{{ end }}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ partialCached "head-css.html" . "asdf" }}
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
{{ partial "hooks/head-end.html" . }}

View File

@ -0,0 +1 @@
2.4.1

View File

@ -0,0 +1,55 @@
# Generated by pub on 2019-08-16 15:21:46.835585.
analyzer:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/analyzer-0.37.0/lib/
args:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/
async:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/async-2.3.0/lib/
boolean_selector:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5/lib/
charcode:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
collection:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
convert:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
crypto:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.1+1/lib/
csslib:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/csslib-0.16.1/lib/
front_end:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/front_end-0.1.20/lib/
glob:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/glob-1.1.7/lib/
html:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/html-0.14.0+2/lib/
http:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/
http_multi_server:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/http_multi_server-2.1.0/lib/
http_parser:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3/lib/
io:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/io-0.3.3/lib/
js:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/
json_annotation:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/json_annotation-3.0.0/lib/
kernel:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/kernel-0.3.20/lib/
matcher:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.5/lib/
meta:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/meta-1.1.7/lib/
mime:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/mime-0.9.6+3/lib/
moor:../../../moor/lib/
multi_server_socket:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/multi_server_socket-1.0.2/lib/
node_preamble:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/node_preamble-1.4.6/lib/
package_config:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/package_config-1.0.5/lib/
package_resolver:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/package_resolver-1.0.10/lib/
path:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/path-1.6.4/lib/
pedantic:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1/lib/
pool:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/pool-1.4.0/lib/
pub_semver:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/pub_semver-1.4.2/lib/
shelf:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/shelf-0.7.5/lib/
shelf_packages_handler:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/shelf_packages_handler-1.0.4/lib/
shelf_static:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/shelf_static-0.2.8/lib/
shelf_web_socket:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/shelf_web_socket-0.2.3/lib/
source_map_stack_trace:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/source_map_stack_trace-1.1.5/lib/
source_maps:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/source_maps-0.10.8/lib/
source_span:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5/lib/
stack_trace:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
stream_channel:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
stream_transform:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/stream_transform-0.0.19/lib/
string_scanner:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
synchronized:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/synchronized-2.1.0+1/lib/
term_glyph:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
test:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/test-1.6.5/lib/
test_api:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.6/lib/
test_core:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/test_core-0.2.7/lib/
tests:../tests/lib/
typed_data:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
vm_service_lib:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/vm_service_lib-3.22.2+1/lib/
watcher:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/watcher-0.9.7+12/lib/
web_socket_channel:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-1.0.14/lib/
yaml:file:///home/simon/.pub-cache/hosted/pub.dartlang.org/yaml-2.1.16/lib/
vm:lib/

View File

@ -0,0 +1,376 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
analyzer:
dependency: transitive
description:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "0.37.0"
args:
dependency: transitive
description:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.2"
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1+1"
csslib:
dependency: transitive
description:
name: csslib
url: "https://pub.dartlang.org"
source: hosted
version: "0.16.1"
front_end:
dependency: transitive
description:
name: front_end
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.20"
glob:
dependency: transitive
description:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.7"
html:
dependency: transitive
description:
name: html
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+2"
http:
dependency: transitive
description:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.0+2"
http_multi_server:
dependency: transitive
description:
name: http_multi_server
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
http_parser:
dependency: transitive
description:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.3"
io:
dependency: transitive
description:
name: io
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.3"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.1+1"
json_annotation:
dependency: transitive
description:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
kernel:
dependency: transitive
description:
name: kernel
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.20"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.5"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.7"
mime:
dependency: transitive
description:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.6+3"
moor:
dependency: transitive
description:
path: "../../../moor"
relative: true
source: path
version: "1.6.0"
multi_server_socket:
dependency: transitive
description:
name: multi_server_socket
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
node_preamble:
dependency: transitive
description:
name: node_preamble
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.6"
package_config:
dependency: transitive
description:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
package_resolver:
dependency: transitive
description:
name: package_resolver
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.10"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.4"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0+1"
pool:
dependency: transitive
description:
name: pool
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.2"
shelf:
dependency: transitive
description:
name: shelf
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.5"
shelf_packages_handler:
dependency: transitive
description:
name: shelf_packages_handler
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
shelf_static:
dependency: transitive
description:
name: shelf_static
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.8"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.3"
source_map_stack_trace:
dependency: transitive
description:
name: source_map_stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.5"
source_maps:
dependency: transitive
description:
name: source_maps
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.8"
source_span:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.5"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.3"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
stream_transform:
dependency: transitive
description:
name: stream_transform
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.19"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
synchronized:
dependency: transitive
description:
name: synchronized
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0+1"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
test:
dependency: "direct dev"
description:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.5"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.6"
test_core:
dependency: transitive
description:
name: test_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.7"
tests:
dependency: "direct main"
description:
path: "../tests"
relative: true
source: path
version: "0.0.0"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
vm_service_lib:
dependency: transitive
description:
name: vm_service_lib
url: "https://pub.dartlang.org"
source: hosted
version: "3.22.2+1"
watcher:
dependency: transitive
description:
name: watcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+12"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.14"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.16"
sdks:
dart: ">=2.4.0 <3.0.0"