Skip to content

Commit

Permalink
adds html metadata to all doc sections (catherinedevlin#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas authored Mar 4, 2023
1 parent 243d719 commit a097147
Show file tree
Hide file tree
Showing 23 changed files with 96 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/api/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Configure the %sql/%%sql magics in Jupyter
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# `%sql` Configuration
Expand Down
4 changes: 4 additions & 0 deletions doc/api/magic-plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Documentation for the %sqlplot magic from JupySQL
keywords: jupyter, sql, jupysql, plotting
property=og:locale: en_US
---

# `%sqlplot`
Expand Down
4 changes: 4 additions & 0 deletions doc/api/magic-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Documentation for the %sqlrender magic from JupySQL
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# `%sqlrender`
Expand Down
4 changes: 4 additions & 0 deletions doc/api/magic-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Documentation for the %sql and %%sql magics from JupySQL
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# `%sql`/`%%sql`
Expand Down
4 changes: 4 additions & 0 deletions doc/community/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: JupySQL's developer guide
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# Developer guide
Expand Down
4 changes: 4 additions & 0 deletions doc/compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: "Use JupySQL to organize large SQL queries in a Jupyter notebook"
keywords: "jupyter, sql, jupysql"
property=og:locale: "en_US"
---

# Organizing large queries
Expand Down
4 changes: 4 additions & 0 deletions doc/connecting.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: "Connect to a SQL database from a Jupyter notebook"
keywords: "jupyter, sql, jupysql"
property=og:locale: "en_US"
---

# Connecting
Expand Down
4 changes: 4 additions & 0 deletions doc/csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: "Export results from a SQL query to a CSV file from Jupyter"
keywords: "jupyter, sql, jupysql, csv"
property=og:locale: "en_US"
---

# Export to CSV
Expand Down
4 changes: 4 additions & 0 deletions doc/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Recipes for JupySQL
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

```{code-cell} ipython3
Expand Down
4 changes: 4 additions & 0 deletions doc/howto/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Use JupySQL and DuckDB to query JSON files with SQL
keywords: jupyter, sql, jupysql, json, duckdb
property=og:locale: en_US
---

# Run SQL on JSON files
Expand Down
7 changes: 6 additions & 1 deletion doc/howto/postgres-connect.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,11 @@
}
],
"metadata": {
"html_meta": {
"description lang=en": "Query a PostgreSQL database from Jupyter via JupySQL",
"keywords": "jupyter, sql, jupysql, postgres",
"property=og:locale": "en_US"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand All @@ -784,7 +789,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8"
"version": "3.9.16"
}
},
"nbformat": 4,
Expand Down
4 changes: 4 additions & 0 deletions doc/howto/syntax-highlighting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Enable SQL syntax highlighting in JupyterLab
keywords: jupyter, jupyterlab, sql
property=og:locale: en_US
---

# SQL syntax highlighting
Expand Down
4 changes: 4 additions & 0 deletions doc/integrations/duckdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Use DuckDB from Jupyter using JupySQL
keywords: jupyter, sql, jupysql, duckdb, plotting
property=og:locale: en_US
---

# DuckDB integration
Expand Down
5 changes: 5 additions & 0 deletions doc/integrations/mssql.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,11 @@
}
],
"metadata": {
"html_meta": {
"description lang=en": "Query a Microsoft SQL Server from Jupyter via JupySQL",
"keywords": "jupyter, sql, jupysql, mssql, sql server",
"property=og:locale": "en_US"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
5 changes: 5 additions & 0 deletions doc/integrations/mysql.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,11 @@
}
],
"metadata": {
"html_meta": {
"description lang=en": "Query a MySQL database from Jupyter via JupySQL",
"keywords": "jupyter, sql, jupysql, mysql",
"property=og:locale": "en_US"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
4 changes: 4 additions & 0 deletions doc/integrations/pandas.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Convert outputs from SQL queries to pandas data frames using JupySQL
keywords: jupyter, sql, jupysql, pandas
property=og:locale: en_US
---

# Pandas integration
Expand Down
4 changes: 4 additions & 0 deletions doc/integrations/polars.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Convert outputs from SQL queries to polars data frames using JupySQL
keywords: jupyter, sql, jupysql, polars
property=og:locale: en_US
---

# Polars integration
Expand Down
4 changes: 4 additions & 0 deletions doc/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Run SQL in a Jupyter notebook with JupySQL
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# Introduction
Expand Down
4 changes: 4 additions & 0 deletions doc/plot-legacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Create line, bar and pie charts from SQL queries in a Jupyter notebook using JupySQL
keywords: jupyter, sql, jupysql, plotting, matplotlib
property=og:locale: en_US
---

# Plotting (legacy API)
Expand Down
4 changes: 4 additions & 0 deletions doc/plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Create visualizations for large-scale datasets in a Jupyter notebook using JupySQL
keywords: jupyter, sql, jupysql, plotting, warehouse, duckdb
property=og:locale: en_US
---

# Plotting
Expand Down
4 changes: 4 additions & 0 deletions doc/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: "Quickstart for JupySQL: a package to run SQL in Jupyter"
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# Quick Start
Expand Down
4 changes: 4 additions & 0 deletions doc/user-guide/tables-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: List tables and columns from your database in Jupyter via JupySQL
keywords: jupyter, sql, jupysql
property=og:locale: en_US
---

# List tables and columns
Expand Down
4 changes: 4 additions & 0 deletions doc/user-guide/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ kernelspec:
display_name: Python 3 (ipykernel)
language: python
name: python3
html_meta:
description lang=en: Templatize SQL queries in Jupyter via JupySQL
keywords: jupyter, sql, jupysql, jinja
property=og:locale: en_US
---

# Template
Expand Down

0 comments on commit a097147

Please sign in to comment.