Skip to content

Commit 199e8a9

Browse files
authored
Merge pull request #999 from kristiankyvik/fix-docs-build
Great job! We are one step closer to useful docs!
2 parents 1896d83 + a5a3cdb commit 199e8a9

File tree

15 files changed

+8
-974
lines changed

15 files changed

+8
-974
lines changed

docs/api_reference.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,6 @@ Functions
126126
:no-members:
127127
:no-inherited-members:
128128

129-
Classes
130-
--------------
131-
.. currentmodule:: gpt_engineer
132-
133-
.. autosummary::
134-
:toctree: tools
135-
:template: class.rst
136-
137-
tools.experimental.document_chunker.CodeSplitter
138-
tools.experimental.document_chunker.SortedDocuments
139-
140129
Functions
141130
--------------
142131
.. currentmodule:: gpt_engineer
@@ -148,4 +137,3 @@ Functions
148137
tools.custom_steps.get_platform_info
149138
tools.custom_steps.lite_gen
150139
tools.custom_steps.self_heal
151-
tools.experimental.experimental_steps.improve_automatic_file_selection

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
autodoc_member_order = "groupwise"
8686
autoclass_content = "both"
8787
autodoc_typehints_format = "short"
88-
autodoc_mock_imports = ["tree_sitter_languages", "llama-index"]
8988

9089
autodoc_default_options = {
9190
"members": True,
@@ -107,7 +106,7 @@
107106
#
108107
# This is also used if you do content translation via gettext catalogs.
109108
# Usually you set "language" from the command line for these cases.
110-
language = None
109+
language = "en"
111110

112111
# List of patterns, relative to source directory, that match files and
113112
# directories to ignore when looking for source files.
@@ -138,7 +137,7 @@
138137
# Add any paths that contain custom static files (such as style sheets) here,
139138
# relative to this directory. They are copied after the builtin static files,
140139
# so a file named "default.css" will overwrite the builtin "default.css".
141-
html_static_path = ["_static"]
140+
# html_static_path = ["_static"]
142141

143142

144143
# -- Options for HTMLHelp output ---------------------------------------
@@ -202,3 +201,5 @@
202201
myst_enable_extensions = [
203202
"colon_fence",
204203
]
204+
205+
myst_all_links_external = True

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Welcome to GPT-ENGINEER's Documentation
77

88
intro/quick_overview.md
99
intro/repository_stats.md
10-
results_link
1110
intro/main_script.md
1211
intro/scripts.md
1312
intro/preprompts.md
@@ -55,6 +54,7 @@ Welcome to GPT-ENGINEER's Documentation
5554
roadmap_link
5655
code_conduct_link
5756
disclaimer_link
57+
terms_link
5858

5959
.. toctree::
6060
:maxdepth: 2

docs/intro/# Table of Contents.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
File renamed without changes.

gpt_engineer/core/default/disk_memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from typing import Any, Dict, Iterator, Optional, Union
3535

3636
from gpt_engineer.core.base_memory import BaseMemory
37-
from gpt_engineer.tools.experimental.supported_languages import SUPPORTED_LANGUAGES
37+
from gpt_engineer.tools.supported_languages import SUPPORTED_LANGUAGES
3838

3939

4040
# This class represents a simple database that stores its tools as files in a directory.

gpt_engineer/tools/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
"""
2-
gpt_engineer.tools
3-
-----------------
4-
5-
Modules:
6-
- code_vector_repository
7-
- document_chunker
8-
- file_repository
9-
- supported_languages
10-
11-
"""

gpt_engineer/tools/experimental/__init__.py

Whitespace-only changes.

gpt_engineer/tools/experimental/code_vector_repository.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

gpt_engineer/tools/experimental/document_chunker.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)