Docs draft
This commit is contained in:
41
docs/conf.py
Normal file
41
docs/conf.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# Configuration file for the Sphinx documentation builder.
|
||||
#
|
||||
# For the full list of built-in configuration values, see the documentation:
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
||||
|
||||
project = 'simple-makes-complex'
|
||||
copyright = '2026, Apancore.Studio'
|
||||
author = 'Apancore.Studio'
|
||||
html_use_relative_paths = False
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
||||
extensions = [
|
||||
'sphinx_lua_ls',
|
||||
'myst_parser'
|
||||
]
|
||||
lua_ls_class_default_function_name = 'new'
|
||||
|
||||
templates_path = ['_templates']
|
||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||
lua_ls_apidoc_separate_members = True
|
||||
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
||||
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
html_static_path = ['_static']
|
||||
|
||||
# 2. Указываем путь к папке с вашим Lua-кодом (относительно папки docs).
|
||||
# Например, если файлы .lua лежат в корне проекта, пишем '../'
|
||||
lua_source_path = '../'
|
||||
lua_ls_project_root = "../"
|
||||
lua_ls_backend = "luals"
|
||||
|
||||
#lua_ls_binary = '~/.vscode-oss/extensions/sumneko.lua-3.18.2-linux-x64/server/bin/lua-language-server'
|
||||
|
||||
Reference in New Issue
Block a user