Skip to content

Commit

Permalink
Use double quotes for strings in code example.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlesieur committed Nov 7, 2023
1 parent 3f85aba commit fcc85fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Let's now build a minimal app:
config_update(app.config, kerko.DEFAULTS)
# Update app configuration from environment variables.
app.config.from_prefixed_env(prefix='MYAPP')
app.config.from_prefixed_env(prefix="MYAPP")
```

Next, adjust general application parameters to your liking. For example, we
Expand All @@ -344,7 +344,7 @@ Let's now build a minimal app:

```python title="wsgi.py" linenums="14"
# Make changes to the Kerko configuration here, if desired.
config_set(app.config, 'kerko.meta.title', 'My App')
config_set(app.config, "kerko.meta.title", "My App")
```

Next, have Kerko parse and validate the configuration. Then create the
Expand All @@ -357,7 +357,7 @@ Let's now build a minimal app:
parse_config(app.config)
# Initialize the Composer object.
app.config['kerko_composer'] = Composer(app.config)
app.config["kerko_composer"] = Composer(app.config)
# Make changes to the Kerko composer object here, if desired.
```
Expand All @@ -375,7 +375,7 @@ Let's now build a minimal app:
babel = Babel(app)
bootstrap = Bootstrap4(app)
app.register_blueprint(kerko.make_blueprint(), url_prefix='/bibliography')
app.register_blueprint(kerko.make_blueprint(), url_prefix="/bibliography")
```

The `url_prefix` argument given above defines the base path for every URL
Expand Down

0 comments on commit fcc85fb

Please sign in to comment.