docs: fixes several issues related to migrating to rst (#4213)

This commit is contained in:
Kevin Schlosser
2023-05-08 08:45:28 -06:00
committed by GitHub
parent 756c189519
commit 8c99b359d2
27 changed files with 1364 additions and 1367 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -18,15 +18,10 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import subprocess
import sys
sys.path.insert(0, os.path.abspath('./_ext'))
# from subprocess import PIPE, Popen
# import recommonmark
# from recommonmark.transform import AutoStructify
from sphinx.builders.html import StandaloneHTMLBuilder
# -- General configuration ------------------------------------------------
@@ -43,8 +38,6 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
# 'recommonmark',
# 'sphinx_markdown_tables',
'breathe',
'sphinx_sitemap',
'lv_example',
@@ -65,7 +58,7 @@ highlight_language = 'c'
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = ['.rst']# , '.md']
source_suffix = ['.rst']
# The master toctree document.
@@ -266,7 +259,7 @@ StandaloneHTMLBuilder.supported_image_types = [
smartquotes = False
_, repo_commit_hash = subprocess.getstatusoutput("git rev-parse HEAD")
repo_commit_hash = os.environ['LVGL_GITCOMMIT']
# Example configuration for intersphinx: refer to the Python standard library.

View File

@@ -35,6 +35,5 @@ Example
API
---
:ref:`lv_barcode`
:ref:`code128`

View File

@@ -42,4 +42,3 @@ Example
API
---
:ref:`lv_bmp`

View File

@@ -37,4 +37,3 @@ Example
API
---
:ref:`lv_ffmpeg`

View File

@@ -105,8 +105,7 @@ Learn more
API
---
:ref:`lv_freetype`
:ref:`ftoption`
:ref:`ftmodule`

View File

@@ -32,4 +32,3 @@ number of actual reads from the storage.
API
***
:ref:`lv_fsdrv`

View File

@@ -50,6 +50,5 @@ Example
API
---
:ref:`lv_gif`
:ref:`gifdec`

View File

@@ -26,6 +26,5 @@ Example
API
---
:ref:`lv_png`
:ref:`lodepng`

View File

@@ -32,6 +32,5 @@ Example
API
---
:ref:`lv_qrcode`
:ref:`qrcodegen`

View File

@@ -273,5 +273,3 @@ Example
API
---
:ref:`lv_rlottie`

View File

@@ -39,8 +39,7 @@ Example
API
---
:ref:`lv_tiny_ttf`
:ref:`stb_rect_pack`
:ref:`stb_truetype_htcw`

View File

@@ -296,4 +296,3 @@ Example
API
---
:ref:`lv_file_explorer`

View File

@@ -77,4 +77,3 @@ Example
API
---
:ref:`lv_fragment`

View File

@@ -64,4 +64,3 @@ Example
API
---
:ref:`lv_gridnav`

View File

@@ -311,4 +311,3 @@ Example
API
---
:ref:`lv_ime_pinyin`

View File

@@ -26,5 +26,3 @@ Example
API
---
:ref:`lv_imgfont`

View File

@@ -37,4 +37,3 @@ Example
API
---
:ref:`lv_monkey`

View File

@@ -149,5 +149,3 @@ Example
API
---
:ref:`lv_msg`

View File

@@ -63,4 +63,3 @@ Example
API
---
:ref:`lv_snapshot`

View File

@@ -15,6 +15,3 @@ API
:ref:`lv_draw_vglite_rect`
:ref:`lv_vglite_buf`
:ref:`lv_vglite_utils`

View File

@@ -49,3 +49,5 @@ Example
API
***
:ref:`lv_animimg`

View File

@@ -167,3 +167,5 @@ Example
API
***
:ref:`lv_arc`

View File

@@ -80,3 +80,5 @@ Example
API
***
:ref:`lv_bar`