docs: path adjustments to allow documentation to build again
- adding doc files to .gitignore
Change-Id: Ia6b2358bb1f236298ad1d705c1bed0636026632d
[ROCm/ROCR-Runtime commit: 75b674f0ad]
Этот коммит содержится в:
коммит произвёл
David Yat Sin
родитель
5dff20b660
Коммит
e2b14cc3ec
@@ -10,3 +10,13 @@ patches-*
|
||||
build/
|
||||
outgoing/
|
||||
Makefile
|
||||
|
||||
# documentation artifacts
|
||||
_build/
|
||||
_doxygen/
|
||||
_images/
|
||||
_static/
|
||||
_templates/
|
||||
_toc.yml
|
||||
doxygen
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
version: 2
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
configuration: runtime/docs/conf.py
|
||||
|
||||
formats: [htmlzip, pdf, epub]
|
||||
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/sphinx/requirements.txt
|
||||
- requirements: runtime/docs/sphinx/requirements.txt
|
||||
|
||||
build:
|
||||
os: ubuntu-22.04
|
||||
|
||||
@@ -9,11 +9,8 @@ import re
|
||||
|
||||
from rocm_docs import ROCmDocs
|
||||
|
||||
os.system("cp ../README.md index.md")
|
||||
os.system("cp ../src/README.md structure.md")
|
||||
|
||||
with open('../src/CMakeLists.txt', encoding='utf-8') as f:
|
||||
match = re.search(r'get_version \(\s+\"?([0-9.]+)[^0-9.]+', f.read())
|
||||
with open('../../CMakeLists.txt', encoding='utf-8') as f:
|
||||
match = re.search(r'get_version\(\"?([0-9.]+)[^0-9.]+', f.read())
|
||||
if not match:
|
||||
raise ValueError("VERSION not found!")
|
||||
version_number = match[1]
|
||||
|
||||
@@ -917,7 +917,7 @@ WARN_LOGFILE =
|
||||
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
|
||||
# Note: If this tag is empty the current directory is searched.
|
||||
|
||||
INPUT = ../../src/inc/
|
||||
INPUT = ../../hsa-runtime/inc/
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# This file is autogenerated by pip-compile with Python 3.10
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile requirements.in
|
||||
# pip-compile sphinx/requirements.in
|
||||
#
|
||||
accessible-pygments==0.0.5
|
||||
# via pydata-sphinx-theme
|
||||
|
||||
Ссылка в новой задаче
Block a user