Skip to content

Commit e20f77d

Browse files
author
Kayce Basques
committed
Start RAG section
1 parent 6936bef commit e20f77d

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ sphinx_docs_library(
4545
"ai/agents/colocate.txt",
4646
"ai/agents/index.rst",
4747
"ai/index.rst",
48+
"ai/rag/bookmarks.rst",
4849
"ai/tokens.py",
4950
"ai/tokens.rst",
5051
"analytics/index.rst",

ai/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ Artificial intelligence
88

99
agents/colocate
1010
agents/index
11+
rag/bookmarks
1112
tokens

ai/rag/bookmarks.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
=========
2+
Bookmarks
3+
=========
4+
5+
* `Is the doc bot docs, or not? <https://www.robinsloan.com/lab/what-are-we-even-doing-here/>`_
6+
(`Hacker News <https://news.ycombinator.com/item?id=44507244>`__, `Lobsters <https://lobste.rs/s/iq4abk/is_doc_bot_docs_not>`__)

sphinx/faq.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
How to get docname in doctree-read event handler
2+
3+
def doctree_read(app, doctree):
4+
docname = app.env.current_document.docname
5+
core.doctree_read(docname, doctree)

0 commit comments

Comments
 (0)