Skip to content

Apache DataFusion SQL Query Engine

Fix docs styling (#2865)

kmitchenerd41f17cc8f30
diff --git a/docs/requirements.txt b/docs/requirements.txt
index e30d90c104..d81b90e3c7 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -15,8 +15,9 @@
# specific language governing permissions and limitations
# under the License.
-sphinx==2.4.4
-pydata-sphinx-theme
-myst-parser<1
-maturin<0.12
-jinja2<3.1
+datafusion
+sphinx
+pydata-sphinx-theme==0.8.0
+myst-parser
+maturin
+jinja2
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 7075528b4c..30d21aa8e6 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -109,3 +109,9 @@ html_css_files = ["theme_overrides.css"]
html_sidebars = {
"**": ["docs-sidebar.html"],
}
+
+# tell myst_parser to auto-generate anchor links for headers h1, h2, h3
+myst_heading_anchors = 3
+
+# enable nice rendering of checkboxes for the task lists
+myst_enable_extensions = [ "tasklist"]
diff --git a/docs/source/index.rst b/docs/source/index.rst
index bcb2f0ed11..8bced2d067 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -19,8 +19,8 @@
Apache Arrow DataFusion
=======================
-Table of content
-================
+Table of Contents
+=================
.. _toc.usage:
diff --git a/docs/source/specification/rfcs/template.md b/docs/source/specification/rfcs/template.md
deleted file mode 100644
index a6f79fe939..0000000000
--- a/docs/source/specification/rfcs/template.md
+++ /dev/null
@@ -1,58 +0,0 @@
-<!---
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-
-Feature Name:
-
-Status: draft/in-progress/completed/
-
-Start Date: YYYY-MM-DD
-
-Authors:
-
-RFC PR: #
-
-DataFusion Issue: #
-
----
-
-### Background
-
----
-
-### Goals
-
----
-
-### Non-Goals
-
----
-
-### Survey
-
----
-
-### General design
-
----
-
-### Detailed design
-
----
-
-### Others
diff --git a/docs/source/user-guide/sql/sql_status.md b/docs/source/user-guide/sql/sql_status.md
index 925ea27044..13a7e5e748 100644
--- a/docs/source/user-guide/sql/sql_status.md
+++ b/docs/source/user-guide/sql/sql_status.md
@@ -83,12 +83,12 @@
- [ ] Basic date functions
- [ ] Basic time functions
- [x] Basic timestamp functions
- - [x] [to_timestamp](docs/user-guide/book/sql/datafusion-functions.html#to_timestamp)
- - [x] [to_timestamp_millis](docs/user-guide/book/sql/datafusion-functions.html#to_timestamp_millis)
- - [x] [to_timestamp_micros](docs/user-guide/book/sql/datafusion-functions.html#to_timestamp_micros)
- - [x] [to_timestamp_seconds](docs/user-guide/book/sql/datafusion-functions.html#to_timestamp_seconds)
- - [x] [extract](docs/user-guide/book/sql/datafusion-functions.html#extract)
- - [x] [date_part](docs/user-guide/book/sql/datafusion-functions.html#date_part)
+ - [x] [to_timestamp](./datafusion-functions.md#to_timestamp)
+ - [x] [to_timestamp_millis](./datafusion-functions.md#to_timestamp_millis)
+ - [x] [to_timestamp_micros](./datafusion-functions.md#to_timestamp_micros)
+ - [x] [to_timestamp_seconds](./datafusion-functions.md#to_timestamp_seconds)
+ - [x] [extract](./datafusion-functions.md#extract)
+ - [x] [date_part](./datafusion-functions.md#date_part)
- nested functions
- [x] Array of columns
- [x] Schema Queries