Skip to content

Commit

Permalink
Merge pull request #999 from kristiankyvik/fix-docs-build
Browse files Browse the repository at this point in the history
Great job! We are one step closer to useful docs!
  • Loading branch information
ATheorell authored Feb 9, 2024
2 parents 1896d83 + a5a3cdb commit 199e8a9
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 974 deletions.
12 changes: 0 additions & 12 deletions docs/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,6 @@ Functions
:no-members:
:no-inherited-members:

Classes
--------------
.. currentmodule:: gpt_engineer

.. autosummary::
:toctree: tools
:template: class.rst

tools.experimental.document_chunker.CodeSplitter
tools.experimental.document_chunker.SortedDocuments

Functions
--------------
.. currentmodule:: gpt_engineer
Expand All @@ -148,4 +137,3 @@ Functions
tools.custom_steps.get_platform_info
tools.custom_steps.lite_gen
tools.custom_steps.self_heal
tools.experimental.experimental_steps.improve_automatic_file_selection
7 changes: 4 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
autodoc_member_order = "groupwise"
autoclass_content = "both"
autodoc_typehints_format = "short"
autodoc_mock_imports = ["tree_sitter_languages", "llama-index"]

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

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


# -- Options for HTMLHelp output ---------------------------------------
Expand Down Expand Up @@ -202,3 +201,5 @@
myst_enable_extensions = [
"colon_fence",
]

myst_all_links_external = True
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Welcome to GPT-ENGINEER's Documentation

intro/quick_overview.md
intro/repository_stats.md
results_link
intro/main_script.md
intro/scripts.md
intro/preprompts.md
Expand Down Expand Up @@ -55,6 +54,7 @@ Welcome to GPT-ENGINEER's Documentation
roadmap_link
code_conduct_link
disclaimer_link
terms_link

.. toctree::
:maxdepth: 2
Expand Down
19 changes: 0 additions & 19 deletions docs/intro/# Table of Contents.md

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion gpt_engineer/core/default/disk_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from typing import Any, Dict, Iterator, Optional, Union

from gpt_engineer.core.base_memory import BaseMemory
from gpt_engineer.tools.experimental.supported_languages import SUPPORTED_LANGUAGES
from gpt_engineer.tools.supported_languages import SUPPORTED_LANGUAGES


# This class represents a simple database that stores its tools as files in a directory.
Expand Down
11 changes: 0 additions & 11 deletions gpt_engineer/tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
"""
gpt_engineer.tools
-----------------
Modules:
- code_vector_repository
- document_chunker
- file_repository
- supported_languages
"""
Empty file.
72 changes: 0 additions & 72 deletions gpt_engineer/tools/experimental/code_vector_repository.py

This file was deleted.

131 changes: 0 additions & 131 deletions gpt_engineer/tools/experimental/document_chunker.py

This file was deleted.

53 changes: 0 additions & 53 deletions gpt_engineer/tools/experimental/experimental_steps.py

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 199e8a9

Please sign in to comment.