Skip to content

Commit 5b5276b

Browse files
1 parent f89dc23 commit 5b5276b

File tree

1 file changed

+15
-25
lines changed

1 file changed

+15
-25
lines changed

‎docs/conf.py‎

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
from __future__ import annotations
28-
2927
import os
28+
import shlex
3029
import sys
31-
from typing import Any
3230

3331
# If extensions (or modules to document with autodoc) are in another directory,
3432
# add these directories to sys.path here. If the directory is relative to the
@@ -58,7 +56,7 @@
5856
"sphinx.ext.napoleon",
5957
"sphinx.ext.todo",
6058
"sphinx.ext.viewcode",
61-
"myst_parser",
59+
"recommonmark",
6260
]
6361

6462
# autodoc/autosummary flags
@@ -100,7 +98,7 @@
10098
#
10199
# This is also used if you do content translation via gettext catalogs.
102100
# Usually you set "language" from the command line for these cases.
103-
language = "en-US"
101+
language = None
104102

105103
# There are two options for replacing |today|: either, you set today to some
106104
# non-false value, then it is used:
@@ -150,27 +148,19 @@
150148

151149
# The theme to use for HTML and HTML Help pages. See the documentation for
152150
# a list of builtin themes.
153-
html_theme = "pydata_sphinx_theme"
151+
html_theme = "alabaster"
154152

155153
# Theme options are theme-specific and customize the look and feel of a theme
156154
# further. For a list of options available for each theme, see the
157155
# documentation.
158-
# https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/layout.html#references
159156
html_theme_options = {
160-
"github_url": "https://github.com/googleapis/python-bigquery-dataframes",
161-
"logo": {
162-
"text": "BigQuery DataFrames (BigFrames)",
163-
},
164-
"external_links": [
165-
{
166-
"name": "Getting started",
167-
"url": "https://docs.cloud.google.com/bigquery/docs/dataframes-quickstart",
168-
},
169-
{
170-
"name": "User guide",
171-
"url": "https://docs.cloud.google.com/bigquery/docs/bigquery-dataframes-introduction",
172-
},
173-
],
157+
"description": "BigQuery DataFrames provides DataFrame APIs on the BigQuery engine",
158+
"github_user": "googleapis",
159+
"github_repo": "python-bigquery-dataframes",
160+
"github_banner": True,
161+
"font_family": "'Roboto', Georgia, sans",
162+
"head_font_family": "'Roboto', Georgia, serif",
163+
"code_font_family": "'Roboto Mono', 'Consolas', monospace",
174164
}
175165

176166
# Add any paths that contain custom themes here, relative to this directory.
@@ -274,7 +264,7 @@
274264

275265
# -- Options for LaTeX output ---------------------------------------------
276266

277-
latex_elements: dict[str, Any] = {
267+
latex_elements = {
278268
# The paper size ('letterpaper' or 'a4paper').
279269
#'papersize': 'letterpaper',
280270
# The font size ('10pt', '11pt' or '12pt').
@@ -292,7 +282,7 @@
292282
(
293283
root_doc,
294284
"bigframes.tex",
295-
"BigQuery DataFrames (BigFrames)",
285+
"bigframes Documentation",
296286
author,
297287
"manual",
298288
)
@@ -327,7 +317,7 @@
327317
(
328318
root_doc,
329319
"bigframes",
330-
"BigQuery DataFrames (BigFrames)",
320+
"bigframes Documentation",
331321
[author],
332322
1,
333323
)
@@ -346,7 +336,7 @@
346336
(
347337
root_doc,
348338
"bigframes",
349-
"BigQuery DataFrames (BigFrames)",
339+
"bigframes Documentation",
350340
author,
351341
"bigframes",
352342
"bigframes Library",

0 commit comments

Comments
 (0)