Skip to content

Commit 19705ea

Browse files
committed
Consolidate sphinx and docs directories
1 parent 37e0eb3 commit 19705ea

20 files changed

+80
-27
lines changed

docs/_static/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
body,
2+
div.body h1,
3+
div.body h2,
4+
div.body h3,
5+
div.body h4,
6+
div.body h5,
7+
div.body h6,
8+
div.admonition p.admonition-title {
9+
font-family: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
10+
}
11+
12+
.blurb {
13+
font-size: 16px;
14+
}

docs/_static/pinecone-logo.svg

Lines changed: 1 addition & 0 deletions
Loading
File renamed without changes.

sphinx/conf.py renamed to docs/conf.py

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
project = "Pinecone Python SDK"
44
author = "Pinecone Systems, Inc."
55
version = pinecone.__version__
6+
copyright = "%Y, Pinecone Systems, Inc."
67

78
html_baseurl = "https://sdk.pinecone.io/python"
9+
html_static_path = ["_static"]
10+
html_favicon = "favicon-32x32.png"
811

912
extensions = [
1013
"sphinx.ext.autodoc",
@@ -13,19 +16,27 @@
1316
"sphinx.ext.napoleon",
1417
"sphinx.ext.coverage",
1518
"sphinx.ext.autodoc.typehints",
19+
"myst_parser",
1620
]
1721

1822
# -- HTML Configuration -------------------------------------------------
1923

2024
html_theme = "alabaster"
2125
html_theme_options = {
26+
"logo": "pinecone-logo.svg",
27+
"description": "Pinecone Python SDK",
2228
"github_user": "pinecone-io",
2329
"github_repo": "pinecone-python-client",
2430
"github_button": True,
2531
"fixed_sidebar": True,
2632
"page_width": "1140px",
27-
"show_related": True,
28-
# 'analytics_id': '', # TODO: add analytics id
29-
"description": version,
33+
"sidebar_width": "300px",
34+
"show_related": False,
3035
"show_powered_by": False,
36+
"extra_nav_links": {
37+
"Github Source": "https://github.com/pinecone-io/pinecone-python-client",
38+
"Pinecone Home": "https://pinecone.io",
39+
"Pinecone Docs": "https://docs.pinecone.io",
40+
"Pinecone Console": "https://app.pinecone.io",
41+
},
3142
}

docs/db_control/pod-indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ pc.configure_index(
151151
)
152152
```
153153

154-
# Configuring, listing, describing, and deleting
154+
## Configuring, listing, describing, and deleting
155155

156156
See [shared index actions](shared-index-actions.md) to learn about how to manage the lifecycle of your index after it is created.

docs/db_control/serverless-indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ pc.create_index(
126126
)
127127
```
128128

129-
# Configuring, listing, describing, and deleting
129+
## Configuring, listing, describing, and deleting
130130

131131
See [shared index actions](shared-index-actions.md) to learn about how to manage the lifecycle of your index after it is created.

docs/db_control/shared-index-configs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Optional Index configurations
1+
# Index configuration
22

33
This page covers some optional configurations that can be used with all index types.
44

docs/db_data/index-usage-byov.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Using your Pinecone index
1+
# Vectors
22

33
## Describe index statistics
44

docs/faq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# FAQ
2+
13
## How does connection pooling work in the Pinecone SDK?
24

35
Before any data can be sent or received from Pinecone, your application must first establish a TCP connection with our API gateway. Establishing a TCP connection is a costly operation from a performance standpoint and so we use connection pooling to cache and reuse these connections across many different requests.

0 commit comments

Comments
 (0)