docs: path adjustments to allow documentation to build again

- adding doc files to .gitignore

Change-Id: Ia6b2358bb1f236298ad1d705c1bed0636026632d


[ROCm/ROCR-Runtime commit: 75b674f0ad]
This commit is contained in:
Young Hui
2024-09-04 12:32:55 -04:00
committed by David Yat Sin
parent 5dff20b660
commit e2b14cc3ec
5 changed files with 16 additions and 9 deletions
+10
View File
@@ -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
+2 -5
View File
@@ -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